[ Web Proxy ]
URL:
Viewing: https://ocefpaf.github.io/python4oceanographers [Back]  [Original]

python4oceanographers

python4oceanographers

Turning ripples into waves

Search:

Plotting a GeoDataFrame with folium

Dec 14, 2015

The visualization of thematic maps can get very messy very quick when there are many points to plot display.

In this post we will plot data from shapefile in the most visually efficient way possible.

Let's open our shapefiles with geopandas. (GeoPandas makes our task easy and that will ...

Read On ↵

Python tools for sgrid

Dec 07, 2015

The pysgrid module implements the sgrid conventions akin to pyugrid and the UGRID conventions.

I will not get into the details of the convention. This post is just a copy of the pysgrid notebook example with a few comments to help people use it.

Note that, even thought many ocean ...

Read On ↵

Active Fire Data WMS Modis layer

Nov 30, 2015

No ms de novembro a Chapada Diamantina enfrento um dos piores incndios de sua histria.

Nesse post vou evidenciar uma triste realidade sobre incndios no Brasil. Usando uma camada WMS dos focos de incndio ativos nas ltimas 48 horas, comeando o mapa na Chapada Diamantina, peo que deem um zoom ...

Read On ↵

Desabafo de um Pesquisador

Nov 23, 2015

This guest post was written by Juliana Leonel. She is a Chemical Oceanographer, professor at UFBA, and Pythonista. The post is about the Brazilian researchers eternal struggle against useless bureaucracy.

PS: Make sure to check out her crowd-funding campaign to study Persistent Organic Pollutant.

A razo pela qual escrevo ...

Read On ↵

Displaying a field of arrows with folium

Nov 16, 2015

We can easily display velocities as field of arrows in a leaflet map using mplleaflet, but what if we need to access more leaflet functionalities? Like adding a WMS layer and the layer control panel? We cannot use WMS with mplleaflet. Folium, on the other hand, can do that WMS ...

Read On ↵

Converting Excel data to valid GeoJSON

Nov 09, 2015

In the previous post we created an interactive map using two GeoJSON files. In this post we will show how to create those files.

First we had to read the original Excel tables. We known that pandas+xlrd can take care of that easily. The next challenge was to create ...

Read On ↵

Custom icons in folium

Nov 02, 2015

We had an interesting problem. How to create a map with SECOORA's assets showing all the buoys, gliders, HF-radars, and land stations as an interactive map?

To accomplish that we had to use a specific folium PR, that will be part of the next release, with the new custom ...

Read On ↵

NLTK, maps, and 007

Oct 26, 2015

The Natural Language Toolkit (NLTK) is on of those amazing piece of Software that surprises us just by the fact that it works. Just Google it and be amazed!

Recently I found the module geograpy which extract geographical information (countries, regions and cities) from texts using NLTK.

So why not ...

Read On ↵

xml is OK (if you don't have to write or read it)

Oct 19, 2015

DISCLAIMER: most of the code below was stolen from the old, but still awesome and very useful cfchecker.

I am writing a library that needs to "understand" the CF-conventions standard names table. More specifically I need to know the variable standard_name and its corresponding units. The format of choice for ...

Read On ↵

Update on optimizing code for iso-surfaces using cython

Oct 12, 2015

This post is an update on of the previous iso-surface post.

After reading a little bit more on cython I found out that, when using memory views, we can release the GIL using the nogil annotation. I wonder if releasing the GIL can get the cython performance closer to numba ...

Read On ↵

Recent Posts

Blogroll

Follow @ocefpaf

Copyright © 2013-2015 - Filipe Fernandes - Powered by Pelican


Web Proxy Viewer  |  New URL  |  Original Page