[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [thredds] handling of stacked GRIB files



in principle, you just give a collection of files to the CDM, and it does the right thing. in practice, its useful to collate together all the GRIB records for a period of time (eg a day or a month) in a single file. in that case, its best to name the file with the date in the filename.

this assumes that you are using GRIB feature Collections.is that true?

John

On 6/19/2013 2:13 PM, Roy Mendelssohn - NOAA Federal wrote:
Thanks.  Will it matter if there are a mixture of stacked and unstacked files  
(I have only stacked pre-2004, unstacked after that).  Have been working on a 
wgrib script to unstack them and rename them, but if I can just throw the 
together, all the better.  I guess I should stop being lazy a download a mix to 
my test server and sees what happens.

-Roy

On Jun 19, 2013, at 1:00 PM, John Caron <address@hidden> wrote:

Hi Roy:

The time coordinate is derived from whats encoded in the GRIB record. It doesnt 
matter what the filename is.

John




On 6/17/2013 3:13 PM, Roy Mendelssohn - NOAA Federal wrote:
Hi All:

In my tests on my test server, it appears that you handle in some fashion stacked GRIB 
files, which usually arise if you have say a month's worth of 6-hourly GRIB files and you 
say use the unix "cat" command to combine them into one monthly file, which is 
still valid GRIB file.  My question is how you handle time in those cases, since if I go 
by the file name it is only say g201301  - so you only have the year and month.  Do you 
just assume that the first file is at 0 offset and work you way along,  or do you get the 
time from the stacked files?  The former will have problems if as is sometimes the case, 
there are missed 6-hourly periods in the stack.

Thanks,

-Roy M.


**********************
"The contents of this message do not reflect any position of the U.S. Government or 
NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: address@hidden (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.

_______________________________________________
thredds mailing list
address@hidden
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/


_______________________________________________
thredds mailing list
address@hidden
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/

**********************
"The contents of this message do not reflect any position of the U.S. Government or 
NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
1352 Lighthouse Avenue
Pacific Grove, CA 93950-2097

e-mail: address@hidden (Note new e-mail address)
voice: (831)-648-9029
fax: (831)-648-8440
www: http://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected"
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.


_______________________________________________
thredds mailing list
address@hidden
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/