Visualizing data in Cubed-Sphere grid: Difference between revisions
Line 27: | Line 27: | ||
For the new format of the output, users can use the python codes here to transform the data to lat-lon grid and visualize the products: | For the new format of the output, users can use the python codes here to transform the data to lat-lon grid and visualize the products: | ||
#Install python 3 (or above) and the modules numpy, netcdf4, matplotlib and mpl_toolkits on your computer. | #Install python 3 (or above) and the modules numpy, netcdf4, matplotlib and mpl_toolkits on your computer. | ||
#Download source codes CSnative.py, example1.py, example2.py and the example data file | #Download source codes CSnative.py, example1.py, example2.py and the example data file [[Media:TEST7.geosgcm_prog.20000415_0000z.nc4]] the same folder. | ||
#To show example 1, $python example1.py | #To show example 1, $python example1.py | ||
#To show example 2, $python example2.py | #To show example 2, $python example2.py | ||
Line 34: | Line 34: | ||
==== [[Recipe: python program example1 | example1.py]] ==== | ==== [[Recipe: python program example1 | example1.py]] ==== | ||
==== [[Recipe: python program example2| example2.py]] ==== | ==== [[Recipe: python program example2| example2.py]] ==== | ||
== IDL == | == IDL == |