[Thread Prev][Thread Next][Index]

Re: time axis specification



I thought I had something similar but my data has time going from 1 to 12
in the NetCDF file. 

However, I think there was something like this covered a while back on the
list.

... Searching ...

Have a look at:

	http://ferret.wrc.noaa.gov/Ferret/LAS/FAQ/yearly_averages.htm

and a thread entitled: "time dimension problem" from January 12, 2001 in
the list archive.  You can specify in the las.xml file your own labels for
time.  It will put these labels in the drop down box and it will just use
the index of your time dimension rather than trying to match up dates.  I
think this will do what you want.

Good luck,

Steve
_____________________________________________________________
 Steve Cousins                 Email: cousins@umit.maine.edu
 Research Associate            Phone: (207) 581-4302
 Ocean Modeling Group
 School of Marine Sciences     208 Libby Hall
 University of Maine           Orono, Maine 04469



On Tue, 23 Apr 2002, John C Cartwright wrote:

> Hello All,
> 
> if I have a netcdf file described by the following header:
> 
> netcdf example {
> dimensions:
>          time = UNLIMITED ; // (12 currently)
>          lat = 180 ;
>          lon = 360 ;
> variables:
>          int test(time, lat, lon) ;
>                  test:long_name = "Sample Data" ;
>                  test:units = "calibrated" ;
>          float lat(lat) ;
>                  lat:units = "degrees_north" ;
>          float lon(lon) ;
>                  lon:units = "degrees_east" ;
>          int time(time) ;
>                  time:units = "days since 1900-01-01" ;
> 
> // global attributes:
>                  :title = "Sample Data" ;
> }
> 
> I'm trying to represent monthly time slices for January 1986 through 
> December 1986. How should I set up my time axis in server/las.xml?
> 
> I would have guessed something like:
> 
>      <ged_time type="t" units="days">
>       <arange start="1986-01-01" step="1" size="12"/>
>      </ged_time>
> 
> but the actual values in the time dimension are integer days 
> representing the first day of each month. Should the units be months in 
> order to have a step size of 1?
> 
> Thanks!
> 
> -- john
> 



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement