Res: concatenation of files

Arlindo Meque mequitomz at YAHOO.COM.BR
Tue Apr 22 13:08:39 EDT 2008


Dear Stefan Gofferje,

Still now it does not work,

Perhaps I’m jumping one step, see what I have done:

I  a have four files in grib format:
(a) gfs_3_2008031000
(b)fs_3_2008031006
(c)(gfs_3_2008031012
(d)gfs_3_2008031018

First step: cat gfs_3_20080310* >model.grib

Second step: grib2ctl.pl model.grib > test1.ctl

Third step: gribmap -i test1.ctl -0

The content of the test1.ctl:

 dset ^model.grib
index ^model.grib.idx
undef 9.999E+20
title model.grib
*  produced by grib2ctl v0.9.12.5p34c
dtype grib 255
options yrev
ydef 41 linear -40.000000 1
xdef 26 linear 30.000000 1.000000
tdef 4 linear 00Z10mar2008 6hr
zdef 3 levels
925 850 500
vars 2
APCPsfc  0 61,1,0  ** surface Total precipitation [kg/m^2]
VGRDprs 3 34,100,0 ** v wind [m/s]
ENDVARS


On grads:
ga-> open test1.ctl
Scanning description file:  test1.ctl
Data file model.grib is open as file 1
LON set to 30 55
LAT set to -40 0
LEV set to 925 925
Time values set: 2008:3:10:0 2008:3:10:0
ga-> set t 2
Time values set: 2008:3:10:6 2008:3:10:6
ga-> d apcpsfc
GRIB I/O Error reading 164888577 bytes at 148398712
  File name is: model.grib
Data Request Error:  Error for variable 'apcpsfc'
  Error ocurred at column 1
DISPLAY error:  Invalid expression
  Expression = apcpsfc
ga->



any clue?

Arlindo


      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento!
http://br.mail.yahoo.com/



More information about the gradsusr mailing list