Revision: 8972 http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8972&view=rev Author: jswhit Date: 2011-02-11 20:52:28 +0000 (Fri, 11 Feb 2011)
Log Message: ----------- use rita data from AOML for lic example. Modified Paths: -------------- trunk/toolkits/basemap/MANIFEST.in trunk/toolkits/basemap/examples/lic_demo.py Added Paths: ----------- trunk/toolkits/basemap/examples/rita.nc Removed Paths: ------------- trunk/toolkits/basemap/examples/hurrearl.nc Modified: trunk/toolkits/basemap/MANIFEST.in =================================================================== --- trunk/toolkits/basemap/MANIFEST.in 2011-02-11 20:29:37 UTC (rev 8971) +++ trunk/toolkits/basemap/MANIFEST.in 2011-02-11 20:52:28 UTC (rev 8972) @@ -79,7 +79,7 @@ include examples/nws_precip_conus_20061222.nc include examples/C02562.orog.nc include examples/ccsm_popgrid.nc -include examples/hurrearl.nc +include examples/rita.nc include examples/NetCDFFile_tst.py include examples/maskoceans.py include examples/README Deleted: trunk/toolkits/basemap/examples/hurrearl.nc =================================================================== (Binary files differ) Modified: trunk/toolkits/basemap/examples/lic_demo.py =================================================================== --- trunk/toolkits/basemap/examples/lic_demo.py 2011-02-11 20:29:37 UTC (rev 8971) +++ trunk/toolkits/basemap/examples/lic_demo.py 2011-02-11 20:52:28 UTC (rev 8972) @@ -13,14 +13,14 @@ except ImportError: raise ImportError('need vectorplot scikit for this example') -date = '2010090100' -lat0=22.6; lon0=-69.2 - -ncfile = NetCDFFile('hurrearl.nc') -u = ncfile.variables['u10m'][:,:] -v = ncfile.variables['v10m'][:,:] -lons1 = ncfile.variables['lon'][:] -lats1 = ncfile.variables['lat'][:] +# H*wind data from http://www.aoml.noaa.gov/hrd/data_sub/wind.html +ncfile = NetCDFFile('rita.nc') +u = ncfile.variables['sfc_u'][0,:,:] +v = ncfile.variables['sfc_v'][0,:,:] +lons1 = ncfile.variables['longitude'][:] +lats1 = ncfile.variables['latitude'][:] +lat0 = lats1[len(lats1)/2]; lon0 = lons1[len(lons1)/2] +print lat0,lon0 lons, lats = np.meshgrid(lons1,lats1) ncfile.close() @@ -36,6 +36,6 @@ m.drawcoastlines() m.drawmeridians(np.arange(0,360,2),labels=[0,0,0,1]) m.drawparallels(np.arange(-30,30,2),labels=[1,0,0,0]) -plt.title('Hurricane Earl flow field visualized with Line Integral Convolution',\ +plt.title('Hurricane Rita flow field visualized with Line Integral Convolution',\ fontsize=13) plt.show() Added: trunk/toolkits/basemap/examples/rita.nc =================================================================== (Binary files differ) Property changes on: trunk/toolkits/basemap/examples/rita.nc ___________________________________________________________________ Added: svn:mime-type + application/octet-stream This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb _______________________________________________ Matplotlib-checkins mailing list Matplotlib-checkins@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins