[gradsusr] Want to loop through a GRIB file and display all data...
Dr AP DIMRI
apdimri at hotmail.com
Mon Jan 30 04:29:57 EST 2012
Can someone help on GrADs plot of power spectrum (X axis in log scale; y axis years)?
Sincerely
Dimri
______________________________
Dimri, A. P.
School of Environmental Sciences
Jawaharlal Nehru University
New Delhi, India
______________________________
From: jfilipkowski at oceansltd.com
To: gradsusr at gradsusr.org
Date: Sun, 29 Jan 2012 13:46:13 +0000
Subject: [gradsusr] Want to loop through a GRIB file and display all data...
Hi,
I have a GRIB file containing
several records of data with the same name and date, here, surface
pressure for the same time in a domain.
That is, the GRIB file
contains the surface pressure (PRMSL) for several forecast times: the
intial analysis field, PRMSL forecast from 12 hours previous, PRMSL from
24 hours previous, PRMSL from 36 hours previous.
The GRIB file:
wgrib
TEMP.grib
1:0:d=12011012:PRMSL:kpds5=2:kpds6=102:kpds7=0:TR=10:P1=0:P2=0:TimeU=1:MSL:anl:NAve=0
2:20094:d=12011000:PRMSL:kpds5=2:kpds6=102:kpds7=0:TR=10:P1=0:P2=12:TimeU=1:MSL:12hr fcst:NAve=0
3:40188:d=12010912:PRMSL:kpds5=2:kpds6=102:kpds7=0:TR=10:P1=0:P2=24:TimeU=1:MSL:24hr fcst:NAve=0
4:60282:d=12010900:PRMSL:kpds5=2:kpds6=102:kpds7=0:TR=10:P1=0:P2=36:TimeU=1:MSL:36hr fcst:NAve=0
The .CTL file:
dset ^TEMP.grib
index ^TEMP.grib.idx
undef 9.999E+20
title
TEMP.grib
* produced by grib2ctl v0.9.12.5p32
dtype grib 255
pdef
100 100 lcc 38.445000 -70.798000 1 1 44.000000 44.000000
-64.000000
12000 12000
xdef 100 linear -70.798000 0.13928774450191
ydef 100 linear
38.445000 0.109090909090909
tdef 1 linear 12Z10jan2012 1mo
zdef 1 linear 1
1
vars 1
PRMSLmsl 0 2,102,0 ** Pressure reduced to MSL
[Pa]
ENDVARS
I want to plot all 4 records in the GRIB file....
How to I do that?
Best regards,
_______________________________________________
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/20120130/fdedf32a/attachment-0003.html
More information about the gradsusr
mailing list