Catching ISON fever!
Since the last post I've been playing more with PyEphem. One of the many interesting features of this astronomical computations module is the ability to read external orbital elements.
Here is an example on how to create an ISON comet object.
We can get the ISON comet orbital data ...
Playing with pyephem
I'm teaching tides in a Waves and Tides course and, every now and then, I find myself creating new figures to show the students. This post is to show how I created a "moon phase path" using pyephem. The final plot was based on this example.
Just for fun ...
The ggplot interface for python
Better colormaps with brewer2mpl
We already used the brewer2mpl
module in previous posts. However, we did not showed it in detail. This post
is just to draw attention to this interesting module that can access the
Colorbrewer2.0 website and convert colormaps
directly to matplotlib format.
Let's start importing by cartopy
, iris
, pyplot ...
Cartopy and the Natural Earth Dataset
Alternative dataset to plot the Brazilian political boundaries.
We already saw some of the advantages of cartopy over other mapping tools.
However, as a Brazilian, I really miss a more up-to-date political boundary
than those present in tools like GMT
, m_map
, and basemap
.
Luckily cartopy can
Read On ↵
This post is a quick example on how to use download several
hdf 4 files
by "scrapping" NASA's server. Manually downloading several
This post is a quick example on how to use the
World Ocean Atlas database. Continuing the plots from the previous post we will produce a figure to show
the surface salinity. We will use the same annual climatology from before. (BTW: Check the images produced by the Aquarius
satellite ...
Cartopy as an alternative to basemap
Using iris to read gridded files
Downloading several hdf files from a server
hdf
files is, most of the time, impractical.
Some time ago I helped a friend with a similar problem with a simple python
script. This post is ...
Downloading and plotting World Ocean Atlas 2009 - Part 02