Re: [thredds] trying to serve multiple netcdf files

Hi Bernard:

The time coordinate looks like:

   double time(time=154);
     :long_name = "time";
     :units = "day since 1998-01-01 00:00:00";
     :calendar = "gregorian";

and you are using CF conventions (very good).

This is a perfectly good time coordinate from our point of view. You are
 changing it to use hours instead of days, which is fine also.

So what is it you actually want (sorry i dont understand ferret scripts) ?

An ISO String Date like "2000-01-01T00:00:00Z" ?



Bernhard Giner wrote:
> Hi all,
> 
> I am relatively new to thredds.
> I try to serve data which is segmented in many .nc files. Each .nc file 
> represents one month. 
> the starttime is e.g. January 1. 2000 0:00 there are about 10000 timesteps 
> every 5 hours over all the files, the timesteps are integers. Now I try to 
> rearrange them into date unit.
> this is what I've tried so far:
> 
>               <dataset name="ACETO2" ID="eval19/ACETO2" 
> urlPath="eval19/ACETO2">
>                       <serviceName>gridded</serviceName>
>                       <dataType>Grid</dataType>
>               
>                       <netcdf 
> xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
>                               <dimension name="time" length="10220"/>
>                               <variable name="time" type="int" shape="time">
>                                       <attribute name="units" value="Hours 
> since 2000-01-00 00:00"/>
>                                       <attribute name="_CoordinateAxisType" 
> value="Time" />
>                                       <values start="0" increment="5" 
> npts="10220" />
>                               </variable>
>                               
>                               <aggregation dimName="time" type="joinExisting">
>                                       <variableAgg name="T"/>
>                                       <scan 
> location="/data/projects/MESSy1.1/eval19/ACETO2/" suffix=".nc" />
>                               </aggregation>
>               
>                       </netcdf>
>               </dataset>
> 
> but i still get integers as timesteps... 
> we used to use descriptor files for this data for internal use (e.g. ferret). 
> they look like that:
> --------
>  &FORMAT_RECORD
>      D_TYPE        = '  MC',
>      D_FORMAT      = '  1A',
>      D_SOURCE_CLASS       = 'MODEL OUTPUT',
>  /
>  &BACKGROUND_RECORD
>       D_EXPNUM      = '0001',
>       D_TITLE       = 'eval19',
>       D_T0TIME      = '01-Jan-1998 00:00:00',
>       D_TIME_UNIT   = 3600,
>       D_TIME_MODULO = .FALSE.,
>  /
>  &MESSAGE_RECORD
>       D_MESSAGE     = ' ',
>       D_ALERT_ON_OPEN      = F,
>       D_ALERT_ON_OUTPUT    = F,
>  /
>  &EXTRA_RECORD
>  /
>  &STEPFILE_RECORD
>        s_filename    
> = '/data/projects/MESSy1.1/eval19/ACETO2/ACETO2_200001.nc',
>        S_START       = 17520,
>        S_END  = 18260,
>        S_DELTA       = 5,
>        S_NUM_OF_FILES       = 1,
>        S_REGVARFLAG  = ' ',
>  /
>  &STEPFILE_RECORD
>        s_filename    
> = '/data/projects/MESSy1.1/eval19/ACETO2/ACETO2_200002.nc',
>        S_START       = 18265,
>        S_END  = 18955,
>        S_DELTA       = 5,
>        S_NUM_OF_FILES       = 1,
>        S_REGVARFLAG  = ' ',
>  /
> (...)
> -----------
> what can I do to serve this data via thredds in a "readable" format?
> thank you in advance
> Bernhard


  • 2008 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: