[gradsusr] gribmap error with WRF output

Chris Steele Chris.Steele at weatherquest.co.uk
Thu Jul 28 11:30:39 EDT 2016


Hi everyone,

I'm trying to display WRF data in grads but I'm hitting problems with the use of gribmap. The data are output directly by WRF in grib format, rather than through any netcdf conversion. Grib2ctl appears to work fine and gives no errors but one of my variables appears on the same line as another in the control file initially, so I have to move it.

Whenever I try and run gribmap I receive the message "gribmap error: GRIB header not found in scanning between records try increasing the value of the -s argument" I have tried increasing the value of s but to no avail. The data can be read in fine with wgrib. Does anyone know how to fix this issue?

My ctl file is shown below:

dset ^plevs_12km_06z
index ^plevs_12km_06z.idx
undef 9.999E+20
title plevs_12km_06z
*  produced by grib2ctl v0.9.13
* command line options: plevs_12km_06z
dtype grib 0
pdef 165 174 lccr 43.379000 -16.586000 1 1 60.000000 0.000000 0.000000 12000 12000
xdef 165 linear -16.586000 0.150092100621267
ydef 174 linear 43.379000 0.109090909090909
tdef 1 linear 06Z28jul2016 1mo
*  z has 7 levels, for prs
zdef 7 levels
1000 950 900 850 700 500 300
vars 10
DPTprs 7 17,100,0 ** (profile)
ELONsfc  0 177,1,0  ** surface
HGTprs 7 7,100,0 ** (profile)
MIXRprs 7 53,100,0 ** (profile)
NLATsfc  0 176,1,0  ** surface
PRESprs 7 1,100,0 ** (profile)
RHprs 7 52,100,0 ** (profile)
TMPprs 7 11,100,0 ** (profile)
UGRDprs 7 33,100,0 ** (profile)
VGRDprs 7 34,100,0 ** (profile)
ENDVARS

Regards

Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20160728/7f29c6bf/attachment.html 


More information about the gradsusr mailing list