Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
We needed to handle time in the same way for a variety of variable types and sample rates. These vary from meteorological measurements sampled at one- minute intervals to platform motion sampled at 4-10 Hz to acoustic sampling at rates to 25 kHz. Our solution was to use NC_DOUBLE to record seconds of the year (UTC) accompanied by NC_SHORT containing the year. In some cases the year is a separate variable and in others it is an attribute of the time variable. This approach has permitted some standardization in data handling for all types of time domain data. Functions for plot and display include axis generation routines that handle annotations ranging from months to micro- seconds all derived from the same netCDF variable. We are pleased with the results so far. Ken Prada Applied Ocean Physics and Engineering Woods Hole Oceanographic Institution (508) 457-2000 x2711 kegp@xxxxxxxxxxxxx(128.128.24.142)
netcdfgroup
archives: