Hi Roland:
A fly in the ointment is that the CF standard changed just enough at the
end such that the CDM code is a bit out of date. Verson 4.2 has been
frozen, so the upgrade will have to be for version 4.3. So you have the
choice of making CF files or CDM files, with the promise that they will
be the same in a few months.
Sorry for the sticky goo.
John
On 8/9/2011 4:57 PM, Roland Schweitzer wrote:
Hi,
I'm starting to create some netCDF files using the new discrete
sampling geometries in the CF standard. My first example is a
trajectory. The header is appended below. However, when I try to
read the fie in the latest toolsUI (4.2.26) under the "Trajectory" tab
I get a error message that say "Failed to find DataType factory for
datatype = TRAJECTORY. I'm looking for clues about my clueless-ness
that is leading to this error.
I'd be grateful if others who have created example files of the
various discrete sampling geometries would share them with me. Bob
Simons, I'm looking at you. ;-)
Thanks,
Roland
--
netcdf trajectories {
dimensions:
index = 15991 ;
dim_one = 1 ;
trdim = 2 ;
cruise_ID_width = 64 ;
subsample_width = 21 ;
trajectory = 330 ;
trajectory_width = 64 ;
variables:
double trdim(trdim) ;
trdim:units = "hours since 1970-01-01 00:00:00" ;
trdim:time_origin = "01-Jan-1970 00:00:00" ;
double trange(trdim) ;
trange:units = "hours" ;
float NUMPROFS(dim_one) ;
NUMPROFS:long_name = "Number of Profiles" ;
NUMPROFS:units = "unitless" ;
float NUMOBS(dim_one) ;
NUMOBS:long_name = "Number of Observations" ;
NUMOBS:units = "unitless" ;
char CRUISE_ID(index, cruise_ID_width) ;
CRUISE_ID:long_name = "CRUISE ID" ;
CRUISE_ID:units = "unitless" ;
CRUISE_ID:missing_value = "" ;
CRUISE_ID:database_table = "data_6hourly" ;
char subsample(index, subsample_width) ;
subsample:long_name = "" ;
subsample:units = "" ;
subsample:missing_value = "" ;
subsample:database_table = "data_6hourly" ;
float latitude(index) ;
latitude:missing = -1.e+34 ;
latitude:units = "degrees_north" ;
latitude:long_name = "Latitude" ;
latitude:database_table = "data_6hourly" ;
latitude:_CoordinateAxisType = "Lat" ;
float longitude(index) ;
longitude:missing = -1.e+34f ;
longitude:units = "degrees_east" ;
longitude:long_name = "Longitude" ;
longitude:database_table = "data_6hourly" ;
longitude:_CoordinateAxisType = "Lon" ;
double sal(index) ;
sal:long_name = "Salinity" ;
sal:units = "PSU" ;
sal:missing_value = -1.e+34 ;
sal:database_table = "" ;
double PROF_ID(index) ;
PROF_ID:long_name = "Profile ID" ;
PROF_ID:units = "unitless" ;
PROF_ID:missing_value = -999. ;
char trajectories(trajectory, trajectory_width) ;
trajectories:cf_role = "trajectory_id" ;
int trajectory_counts(trajectory) ;
trajectory_counts:trajectory_dimension = "index" ;
trajectory_counts:long_name = "Number of observations in this
trajectory." ;
// global attributes:
:featureType = "trajectory" ;
:Conventions = "CF-1.6" ;
:geospatial_lat_min = -69.338996887207 ;
:geospatial_lat_max = 76.3619995117188 ;
:geospatial_lon_min = -179.880996704102 ;
:geospatial_lon_max = 179.998001098633 ;
:time_coverage_start = "9.99999999E8 hours since 1970-01-01
00:00:00" ;
:time_coverage_end = "-9.99999999E8 hours since 1970-01-01
00:00:00" ;
}
_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/