python4oceanographers

Turning ripples into waves

Plotting tidal ellipse with Utide

This post is the result of an online conversation about tidal ellipses and how to compute them in Python. We will be using the same data from previous posts.

In [2]:
import pandas as pd
from datetime import datetime

fname = './data/15t30717.3f1'
cols = ['j', 'u', 'v', 'temp', 'sal', 'y ...

Binstar/conda package stats

Conda and binstar are changing the packaging world of Python. Conda made it easy to install re-locatable python binaries that where hard to build, while binstar provides a "Linux repository-like system" (or if you are younger than me an AppStore-like system) to host custom binaries.

Taking advantage of that IOOS ...

Arctic Sea Ice Concentration

Recently I got a request to help with this question. I decided to create a post out of it because it is a nice example to show how to do something from start to finish. (Something that I have to do for my SWC training, but that is another story ...

Loading GeoJSON with geopandas

Geopandas is an awesome project that brings the power of pandas to geospatial data. I am not sure if we can load GPX data directly, so for this notebook I will use a GeoJSON that I previously converted from a GPX. (In a future post I will try to write ...

Adding WMS layers to your folium maps

Since PR #48 folium can show WMS on top its interactive maps.

In this post I will show two quick examples using oceanographic themed layers.

In [2]:
from folium.folium import Map
from IPython.display import HTML


def inline_map(m):
    if isinstance(m, Map):
        m._build_map()
        srcdoc = m.HTML.replace ...