How to read accumulated precip from gribs?

From: <ern_at_nyahnyahspammersnyahnyah>
Date: Sun, 27 Jan 2008 13:37:52 +0100 (CET)

Hi all,
I have hourly mm5-grib files which I am reading by using the "addfiles"
and "addfiles_GetVar" functions. This works fine for all variables except
for the accumulated precipitation.
These variables:
"NCPCP_GDS0_HTGL_acc1h" and "ACPCP_GDS0_HTGL_acc1h"
change for every hour/file.
These examples are for run hour number 1.
The number between "_acc" and "h" (1 in this example) is added by one for
every new file so the next is called "NCPCP_GDS0_HTGL_acc2h" and so on...
I tried to read the variables in some do-loop, but without success.
Does anyone have any idea of how to read/store variables like these that
change name in every new file?
Thanks for any help!
/Erik

_______________________________________________
ncl-talk mailing list
ncl-talk_at_ucar.edu
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Jan 27 2008 - 05:37:52 MST

This archive was generated by hypermail 2.2.0 : Thu Jan 31 2008 - 22:46:00 MST