Monitoring your computer temperature
Again another late post! I am still getting settle here in beautiful Salvador. Unfortunately, the bus strike, the World Cup preparations, and the protests are not helping our apartment search.
Because of that this will be another "script dump post." This script is very useful for those who insist on ...
Fetching bibtex entries directly from the command line using a DOI
Sorry, this post is a late! For those that do not known me, I am moving and my internet connection will be limited for the next few weeks. Still, I have a nice script to share to fill the void of this week post.
It is one of the very ...
Adding my packages to binstar (conda)
Easy interactive maps with folium
I just had my import anti-gravity feeling feeling when I found out about folium.
I have no knowledge of JavaScript nor leaflet, yet with just a few lines of python code I could generate a plot with all the HF radar station positions on an interactive map.
To start you ...
Rossby wave source term with windspharm
It has been a while that I wanted to try out windspharm with gridded ocean velocities, but windspharm was available only for Python 2. Well, I got to work and after a few commits the PR for python 3 got merged.
windspharm uses pyspharm, a python wrapper around SPHEREPACK. SPHEREPACK ...
Spectral Solution for the Ekman Layer
This post is part of the
Introduction to Geophysical Fluid Dynamics, 2nd Edition
post series on converting the MatlabTM examples to python. Chapter 8 is about
Ekman Dynamics. This chapter contains two m_files ekmanh.m
and
spectralekman.m
where the former is the exact solution and the latter the
spectral ...
Georeferencing nautical charts
In the last two posts I show how to geo-reference a aerial images from various online services. I also commented that Google Earth Image was probably the best option from up-to-date image in small and/or dynamic areas. But what if you need bathymetry data? What if your image is ...
Update on last post
This is a quick post updating the last one. Some people inquired me on the possibility of downloading a georeferenced image from an online service.
The answer is yes and no. Cartopy has some very handy functions to do just that. However, most of them will not have the desired ...
Simple drifter experiment with "kitchen tools"
Last Monday I took my oceanography students to Itaguaré beach near Bertioga. It is a very interesting region with a very peculiar (and dynamic) geomorphology. It can change drastically from one day to another, ranging from a small lagoon to a dry beach passing through a small stream of water ...