[ncl-talk] gsn_contour_map, zoom in plot problem
Ying Song
ying.song at sjsu.edu
Wed Sep 6 17:05:14 MDT 2017
Hello, ncl helper,
I trying to plot MERRA-2 reanalysis data in NCL using gsn_contour_map. I am
only interested in west coast of US. But I can not get the zoom in plot
correctly by using resources:
res at mpMinLatF = 30
res at mpMaxLatF = 45
res at mpMinLonF = -130
res at mpMaxLonF = -110
The warning shows:
warning:ContourPlotDraw: out of range coordinates encountered; standard
AreaFill rendering method may be unreliable;
consider setting the resource trGridType to "TriangularMesh" if
coordinates contain missing values
Attachment is my script. The info of MERRA-2 O3 data from printVarSummary
is:
------------------------------
Variable: o3
Type: float
Total Size: 279465984 bytes
69866496 values
Number of Dimensions: 4
Dimensions and sizes: [time | 8] x [lev | 42] x [lat | 361] x [lon | 576]
Coordinates:
time: [0..1260]
lev: [1000..0.1000000014901161]
lat: [ -90.. 90]
lon: [-180..179.375]
Number Of Attributes: 11
long_name : ozone_mass_mixing_ratio
units : kg kg-1
_FillValue : 1e+15
missing_value : 1e+15
fmissing_value : 1e+15
scale_factor : 1
add_offset : 0
standard_name : ozone_mass_mixing_ratio
vmax : 1e+15
vmin : -1e+15
valid_range : ( -1e+15, 1e+15 )
---------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170906/73ff6c40/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: o3_xy_plt.ncl
Type: application/octet-stream
Size: 1375 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170906/73ff6c40/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: plt_o3_xy_MERRA2_asm_May30.png
Type: image/png
Size: 61901 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20170906/73ff6c40/attachment.png>
More information about the ncl-talk
mailing list