1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73
|
// -*-C++-*-
// Generate netCDF file with:
// ncgen -k netCDF-4 -b -o ~/nco/data/tms.nc ~/nco/data/tms.cdl
netcdf tms {
:Conventions = "CF-1.5 CF2-Group-2.0";
:history = "Thu Jun 22 17:45:12 PDT 2017: ncgen -k netCDF-4 -b -o ~/nco/data/tms.nc ~/nco/data/tms.cdl";
:Purpose = "Demonstrate a collection of DSG timeSeries featureType stored in hierarchical format";
:featureType = "timeSeries";
group: irvine {
dimensions:
time=unlimited;
variables:
float humidity(time) ;
humidity:standard_name = "specific humidity" ;
humidity:coordinates = "lat lon alt station_name" ;
humidity:_FillValue = -999.9f;
double time(time) ;
time:standard_name = "time";
time:long_name = "time of measurement" ;
time:units = "days since 1970-01-01 00:00:00" ;
float lon ;
lon:standard_name = "longitude";
lon:long_name = "station longitude";
lon:units = "degrees_east";
float lat ;
lat:standard_name = "latitude";
lat:long_name = "station latitude" ;
lat:units = "degrees_north" ;
float alt ;
alt:long_name = "vertical distance above the surface" ;
alt:standard_name = "height" ;
alt:units = "m";
alt:positive = "up";
alt:axis = "Z";
string station_name;
station_name:long_name = "station name" ;
station_name:cf_role = "timeseries_id";
} // irvine
group: boulder {
dimensions:
time=unlimited;
variables:
// Variables are repeated for each station/group and are omitted for clarity
} // boulder
group: laguna_beach {
dimensions:
time=unlimited;
variables:
// Variables are repeated for each station/group and are omitted for clarity
} // laguna_beach
} // root group
|