[gradsusr] I: Why cannot contour grid for this file?

Jennifer Adams jma at cola.iges.org
Wed May 12 14:08:34 EDT 2010


Diego,
grib2ctl gives you a descriptor that looks like this (irrelevant stuff  
omitted):
zdef 3 levels 850 150 100
vars 2
UGRDprs 2 33,100,0 ** (profile) u wind [m/s]
VGRDprs 3 34,100,0 ** (profile) v wind [m/s]
ENDVARS

Because the number of levels in the UGRDprs variable declaration (2)  
is less than the number of levels in the ZDEF entry (3), GrADS assumes  
the only valid levels are the first two, and that is why it is giving  
you an error message when you try to retrieve data at Z=3. If you change
    UGRDprs 2 33,100,0 ** (profile) u wind [m/s]
to
    UGRDprs 3 33,100,0 ** (profile) u wind [m/s]
and rerun gribmap, using the -v option to make sure all the records in  
your file match, then everything will work the way you expect, and  
you'll have missing data for UGRDprs at 850 mb.
--Jennifer


On May 12, 2010, at 1:53 PM, Diego Morelli wrote:

> Hello.
> I don’t know if my question is clear, so let me repeat.
> Using in GrADS the attached file, the ugrd can’t be displaied for  
> the level 100.
> Look at this pic in order to have clear the situation I have in GrADS
>
> <image001.jpg>
>
> What is wrong in the attached file that prevent GrADS to display the  
> data?
> In the warning message I don’t see any abnormal situation: In my  
> opinion, the “grid limits of request” appears correct in front of  
> the “grid limits of file”, then what this message means?
>
> Regards,
>
> Diego
> Da: Diego Morelli [mailto:diego.morelli at trs.it]
> Inviato: mercoledì 12 maggio 2010 16.34
> A: 'GrADS Users Forum'
> Oggetto: Why cannot contour grid for this file?
>
> Hello.
> I have this file in the attachment.
>
> It get 3 contains this parameters: ugrdprs, for levels 150/100,  
> vgrdprs for levels 850/150/100.
>
> If I use this file in grads, it can display all the 3 levels for  
> vgrdprs.
> For ugrdprs the display command produces a correct map for level 150  
> and an empty map for level 100 (Entire grid is undefined) and this  
> message:
>
> <image002.jpg>
>
> Why this behaviour? Can you say me what doesn’t like to GrADS for  
> ugrdprs on level 100?
>
>
> The products I’m using are:
> grib2ctl v0.9.12.5p45
> wgrib v1.8.0.12
> GrADS Ver. 2.0.a7.1
>
> The command I’m using before grads are:
> perl grib2ctl.pl  
> LFPW00190281.20090718151333_P4400PT7758_BPMG12.101562_1.b   >   
> LFPW00190281.20090718151333_P4400PT7758_BPMG12.101562_1.ctl
> ./gribmap – i   
> LFPW00190281.20090718151333_P4400PT7758_BPMG12.101562_1.ctl – 0.
>
>
> Thank you in advance.
>
> Diego
>
>
> <LFPW00190281.20090718151333_P4400PT7758_BPMG12.101562_1.b>
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://gradsusr.org/mailman/listinfo/gradsusr

--
Jennifer M. Adams
IGES/COLA
4041 Powder Mill Road, Suite 302
Calverton, MD 20705
jma at cola.iges.org



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20100512/65083795/attachment-0003.html 


More information about the gradsusr mailing list