[ncl-talk] Regional plot instead of global plot
Mark Chan
cym263 at yahoo.com
Tue May 26 23:53:55 MDT 2020
Dear Adam,
In the script you can see as below: copy_VarCoords(u, ur ) printVarSummary(ur) printVarSummary(u)
However, the print message show diffference for ur and u (orginal variable). As you said that the coordinate info was not correct for the plot. Can you give more suggestion?
Variable: urType: floatTotal Size: 227900 bytes 56975 valuesNumber of Dimensions: 2Dimensions and sizes: [y | 215] x [x | 265]Coordinates: Number Of Attributes: 3 units : m s-1 long_name : Zonal Rotational Wind _FillValue : -2.147484e+09
Variable: uType: floatTotal Size: 227900 bytes 56975 valuesNumber of Dimensions: 2Dimensions and sizes: [y | 215] x [x | 265]Coordinates: Number Of Attributes: 7 stagger : description : U at 10 M MemoryOrder : XY FieldType : 104 coordinates : XLONG XLAT units : m s-1 Times : 19750802
Best regards,Mark
On Wednesday, May 27, 2020, 3:56:36 AM GMT+8, Adam Phillips <asphilli at ucar.edu> wrote:
Hi Mark,Nothing stands out in your script to me. That likely means that there is something amiss with the coordinate variables attached to the arrays that are being passed into the plotting function. Examine the ur/vr arrays with printVarSummary statements and set things accordingly. If you cannot solve the issue, please respond back to ncl-talk with any error messages along with the print outs from any printVarSummary statements. Adam
On Fri, May 22, 2020 at 12:58 AM Mark Chan via ncl-talk <ncl-talk at ucar.edu> wrote:
Dear NCL group.
The attached files are NCL script and its plot. Actually the netCDF data is for a specific domain on earth, instead of global data. Why do the attached NCL script make the global plot? Can one give a suggestion to make plot based on the area of the original data?
Thanks a lot in advanceMark_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
--
Adam Phillips
Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20200527/a2b01c22/attachment.html>
More information about the ncl-talk
mailing list