grib2ctl template option problem
Wesley Ebisuzaki
Wesley.Ebisuzaki at NOAA.GOV
Wed Jun 13 15:19:16 EDT 2007
Kathrin,
I forgot to mention that the file names shouldn't have a plus sign
as that is
a special character to a regular expression. +*?{}[]()|^$\
Something to fix.
Wesley
Kathrin Schoellhammer wrote:
> Dear All,
>
> I have a lot of gribfiles for one parameter in one directory for each year
> named e.g.
>
> iMET-ECMWF-IFS-TEMP-E+2006_01_01_09.grb
> iMET-ECMWF-IFS-TEMP-E+2006_01_01_21.grb
> iMET-ECMWF-IFS-TEMP-E+2006_01_02_09.grb
> iMET-ECMWF-IFS-TEMP-E+2006_01_02_21.grb
> .....
> I try to make one ctl file for each year with grib2ctl
> ($version="0.9.12.5p39c") on a linux PC in that way
>
> grib2ctl.pl iMET-ECMWF-IFS-TEMP-E+2006_%m2_%d2_%h2.grb
> iMET-ECMWF-IFS-TEMP-E+2006.idx iMET-ECMWF-IFS-TEMP-E.pdef > TEMP-E+2006.ctl
>
> but all I get is an errormessage:
>
> Error: could not find any files in directory:blabla
>
> I need a lot of ctl files (9 parameter for 10 years, so I will NOT make the
> ctl files manually....
>
> Thanks a lot for help,
>
> Kathrin
>
More information about the gradsusr
mailing list