[gradsusr] Cannot able to plot NARR data

James T. Potemra jimp at hawaii.edu
Wed Feb 1 12:31:50 EST 2017


Kalyan,

Does your display show "Entire Grid Undefined" or is it simply a blank 
map?  Using your descriptor file and data set if I do:

ga-> open model
ga-> d HGTprs(lev=500)-HGTprs(lev=1000)

I get a blank screen (image1.png).  If instead I do this:

ga-> open model
ga-> set gxout grfill
ga-> d HGTprs(lev=500)-HGTprs(lev=1000)

I see a bunch of scattered points (image2.png).  Zooming to an arbitrary 
10x10-degree region you can see these in more detail (image3.png)

ga-> open model
ga-> set gxout grfill
ga-> set lat 20 30
ga-> set lat 10 20
ga-> set lon -160 -140
ga-> d HGTprs(lev=500)-HGTprs(lev=1000)

I believe this means you don't have enough contiguous points to generate 
contours, thus the need for gxout=grfill.

Jim

On 1/31/17 8:09 PM, kalyan chakravarthy wrote:
> Thanks a lot for your reply. I have given the range of longitudes 
> between 140W to 0. Still I didn't observe any changes in the plot.
>
> Regards,
> Kalyan
>
> On Tue, Jan 31, 2017 at 5:54 PM, James T. Potemra <jimp at hawaii.edu 
> <mailto:jimp at hawaii.edu>> wrote:
>
>     Hi Kalyan,
>
>     There are a lot of missing data in your file, so that might be why
>     contours/shading doesn't show up.  If you use "set gxout grfill"
>     before "d thick" you can see all the valid grid cells.  Also note
>     that your longitude values are somewhat unconventional and run
>     from -220 -0.4375 (140E to 0), so make sure your "set lon x1 x1"
>     is within that range.
>
>     Jim
>
>
>     On 1/31/17 3:31 PM, kalyan chakravarthy wrote:
>>     Hi Everyone,
>>
>>     By using NARR data, I am trying to plot the thickness between
>>     500-1000mb levels. I am having an ctl file to open the grib file.
>>
>>     I have used the following commands to read and plot the file
>>
>>     Open model.ctl
>>     set lat y1 y2
>>     set lon x1 x2
>>     define thick=HGTprs(lev=500)-HGTprs(lev=1000)
>>     d thick
>>
>>     But I didn't see any shaded or contours drawn. Can anyone helpme
>>     with the problem.
>>
>>     I have attached the data files.
>>
>>     Thanks in advance
>>     Kalyan​
>>     model.ctl
>>     <https://drive.google.com/file/d/0B5GylLRnzAPJeFBpUDNPOFc3aGM/view?usp=drive_web>
>>     ​​
>>     narr-a_221_20100927_0600_000.grb
>>     <https://drive.google.com/file/d/0B5GylLRnzAPJaG4tMTd5YkpxWTg/view?usp=drive_web>
>>     ​​
>>     narr-a_221_20100927_hh00_000.idx
>>     <https://drive.google.com/file/d/0B5GylLRnzAPJWHBOQjRGMFJwZlU/view?usp=drive_web>
>>>>
>>
>>     _______________________________________________
>>     gradsusr mailing list
>>     gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>>     http://gradsusr.org/mailman/listinfo/gradsusr
>>     <http://gradsusr.org/mailman/listinfo/gradsusr>
>     _______________________________________________ gradsusr mailing
>     list gradsusr at gradsusr.org <mailto:gradsusr at gradsusr.org>
>     http://gradsusr.org/mailman/listinfo/gradsusr
>     <http://gradsusr.org/mailman/listinfo/gradsusr> 
>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20170201/3a085b09/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image1.png
Type: image/png
Size: 9367 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170201/3a085b09/attachment-0003.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image2.png
Type: image/png
Size: 10014 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170201/3a085b09/attachment-0004.png 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image3.png
Type: image/png
Size: 3478 bytes
Desc: not available
Url : http://gradsusr.org/pipermail/gradsusr/attachments/20170201/3a085b09/attachment-0005.png 


More information about the gradsusr mailing list