model levels in grib files

Ricardo Hallak hallak at MODEL.IAG.USP.BR
Sun Jun 24 12:23:18 EDT 2007


Dan,

"d hgtprs(lev=700)"

should work, I guess.

Ricardo

On Sat, 23 Jun 2007 08:18:51 -0500, Dan Leins wrote
> All,
>
> I have a series of scripts I use to plot fields at numerous model levels, (i.e. heights at 925mb, 850mb, 700mb, etc...) from a grib file. I dump the grib files out to a control file using grib2ctl and go from there. To do this, I simply "d hgtprs(z=7)" or "d hgtprs(z=11)" or whatever z level I'm interested in. However, is there a way to plot a specific level without referring to Z? In short, I wrote my scripts to use on one specific set of grib files, but occasionally I will need to use my scripts on a different set of grib files which do not contain the same levels. So usually Z=7 would be equivalent to 850mb, but in my other set of grib files z=7 is actually equivalent to 250mb which is a big problem. Any workarounds or other ways to refer to the model levels or will I need a completely different set of scripts for my other grib files?
>
> Thanks,
> Dan

Hallak

Laboratório de Hidrometeorologia (LABHIDRO)
Departamento de Ciências Atmosféricas (DCA)
Instituto de Astronomia, Geofísica e Ciências Atmosféricas (IAG)
Universidade de São Paulo (USP)
Rua do Matão, 1226 - Cidade Universitária -São Paulo SP -05508-900
Fone.: +55 (0-XX-11) 3091-4735
Fax: +55 (0-XX-11) 3091-4714


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20070624/74d30965/attachment.html 


More information about the gradsusr mailing list