Skip navigation
NASA Logo, National Aeronautics and Space Administration
2510 Views 2 Replies Latest reply: Oct 24, 2013 10:44 AM by Gregory Faluvegi RSS
Currently Being Moderated

Oct 22, 2013 10:11 AM

python to plot country as shape on NCCS machines

Hello. I am a python novice but I have been enjoying using python on discover/dali via the SIVO-PyD(spd_1.6.0_GISS) and matplotlib/basemap.

 

Our group is interested in making plots where a geographic unit (e.g. a country) is one data point (e.g. gets one color). I am guessing this would have to use shapefiles instead of gridded data to define the countries. So I was wondering if there is any chance of getting python modules installed to achieve one of the examples below from the web:

 

Cartopy-based:

http://scitools.org.uk/cartopy/docs/latest/examples/hurricane_katrina.html

 

Matplotlib/basemap based, but needs to import shapefile:

http://www.geophysique.be/2013/02/12/matplotlib-basemap-tutorial-10-shapefiles-u nleached-continued/

 

Of course, if one of the installed modules/libraries can already do something like this, I would be interested in learning that!

 

Thanks gurus,

Greg

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 4 points
  • Helpful Answers - 2 points
USAGov logo NASA Logo - nasa.gov