[netcdf-java] Examples of featureType="trajectory" files and reading same with toolsUI

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" ;
}



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