[gradsusr] Question about template usage with GRIB2 files

Steven Chan schan at fsu.edu
Wed Feb 16 11:58:09 EST 2011


Hello All:

It appears the blank file name problem is triggered by edef. The problem 
is related to the "41" in:
> cf     41  YYY  1,0
Fixing the "41" to the correct value (I had it as "1" instead of the 
value that is consistent with tdef), and the file name reappears with 
gribmap.

Thank you very much for the answers.
Steven Chan

> The error message you're getting is strange ... it's not that the 
> template substitution isn't working, but the entire file name is just 
> blank. If you use the -v option, is it matching records in the first 
> file? Are all the other files in the same place with the same read 
> permission? I use the 
> template z_tigge_c_ecmf_%iy4%im2%id2%ih20000_0%f3_pl_glob_prod.grib2 
>  for tigge ecmf forecasts. If you hard-code the initial time, that 
> should be fine too. What else is in your descriptor file? Are you sure 
> your TDEF is right? And the path in DSET -- are you using full path or 
> relative path with the ^? By the way, EDEF should look like this 
> (change YYY to your initial time, 00z15aug2008) and names can be 
> changed to anything you want:
> edef 52
> cf     41  YYY  1,0
> fc     41  YYY
> ppf1   41  YYY  3,1
> ppf2   41  YYY  3,2
> ppf3   41  YYY  3,3
> ...
> ppf50  41  YYY  3,50
> endedef
>
> --Jennifer
>



More information about the gradsusr mailing list