[ncl-talk] Use the same data, but got two different results based on Matlab and NCL

Dennis Shea shea at ucar.edu
Wed Nov 4 13:14:59 MST 2015


Well, I am not sure how Matlab generated the plot.

The golden rule of data processing is *look at your data*

Just extracting an example script and plugging in a few variables does not work.

===

The attached script has many 'printVarSummary' .... look at each

The lat/lon coordinates have mapping infomation that you should use.

===
There are some NCL manuals tutoorials
   http://www.ncl.ucar.edu/Document/Manuals/

Mini-Language Manual

and two tutorials

DKRZ: NCL Tutorial Version 1.1

This is a very nice combination of the Mini-Language Manual and an
excellent introduction to NCL graphics. We recommend this manual as a
starting point if you are learning NCL.

It was created by Karin Meier-Fleischer and Michael Böttinger of DKRZ
(Deutsches Klimarechenzentrum). It also mentions the Climate Data
Operators (CDO) which were created at Max Planck Institute for
Meteorology.

DKRZ: Examples and Exercises


On Wed, Nov 4, 2015 at 10:45 AM, Wang, Chao <cxw151530 at utdallas.edu> wrote:
> Dear Sir/Madam,
>
> My name is Chao. I am a PhD student in University of Texas at Dallas.
> Recently I am using NCL to open a grib2 file downloaded from NOAA NOMADS.
> And I used asciiwrite function to write the variables into ASCII files. Then
> I opened these files on Matlab used quiver function to draw the picture
> (quiver(Longitude, Latitude, Ugrd, Vgrd)). But I got the picture very
> different from the one I got from NCL. This is the script I used to draw the
> picture
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WangChao.001.png
Type: image/png
Size: 172550 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151104/9ae2bc3b/attachment.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: WindVelocity.ncl
Type: application/octet-stream
Size: 2367 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20151104/9ae2bc3b/attachment.obj 


More information about the ncl-talk mailing list