[ncl-talk] Modification of a script for 3D data to read and plot 2D data

Bucaram Carbo, Carlos carlos.bucaramcarbo at und.edu
Wed Feb 6 18:34:31 MST 2019


Hello all,


We would appreciate any feedback as we are trying to plot the 2D data from the attached o3.month.nc file, originally plotted on monthly_O3_avg_2010-07.png by using the plot_avg_o3,ncl file, and plot it by using a modified version of the attached shapefiles_14_mask.ncl file. The shapefiles_14_mask.ncl file works very well for a 3D wrfout_d01_2010-07-15_20:00:00.nc file, or for any 3D wrfout file.


However we would like to modify shapefiles_14_mask.ncl so that it could actually read and process the 2D o3.month.nc file, and plot it with similar results to the attached files shapefiles_mask.000001.png and shapefiles_mask.000002.png. The area of our interest has already been specified on the attached shapefiles plot, by masking the rest of the WRF domain on them.


Thanks in advance for your help,



Carlos Bucaram


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o3.month.nc
Type: application/x-netcdf
Size: 189560 bytes
Desc: o3.month.nc
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0001.nc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plot_avg_o3_month.ncl
Type: application/octet-stream
Size: 4091 bytes
Desc: plot_avg_o3_month.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: monthly_O3_avg_2010-07.png
Type: image/png
Size: 523523 bytes
Desc: monthly_O3_avg_2010-07.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0003.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefiles_14_mask.ncl
Type: application/octet-stream
Size: 5681 bytes
Desc: shapefiles_14_mask.ncl
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0003.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefiles_mask.000001.png
Type: image/png
Size: 391491 bytes
Desc: shapefiles_mask.000001.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shapefiles_mask.000002.png
Type: image/png
Size: 326656 bytes
Desc: shapefiles_mask.000002.png
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190207/106dec7c/attachment-0005.png>


More information about the ncl-talk mailing list