NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

[netcdf-java] Fwd: Cannot load a point feature dataset with rank 0 time

Hi all,

Using NetCDF-Java 4.3.20, point feature datasets with rank 0 time cannot be
loaded. CFpointObs.getPointConfig checks the rank of the time axis and
errors if it's not equal to 1. Should point datasets with a single
non-varying time axis be supported?

Dataset structure is posted below, sample file attached.

Best,
Shane

netcdf /src/52n-sos-ioos-svn/coding-ioos-netcdf/target/netcdf-encoder-test/
test_1_air_temperature_point_2013-12-13T230000.000Z_75975923742301.nc {
  dimensions:
    feature_type_instance = 23;
  variables:
    char feature_type_instance(feature_type_instance=23);
      :long_name = "Identifier for each feature type instance";

    int crs;
      :long_name = "http://www.opengis.net/def/crs/EPSG/0/4326";;
      :grid_mapping_name = "latitude_longitude";
      :epsg_code = "EPSG:4326";
      :semi_major_axis = 6378137.0; // double
      :inverse_flattening = 298.257223563; // double

    double time;
      :standard_name = "time";
      :units = "seconds since 1970-01-01T00:00:00Z";
      :axis = "T";

    float latitude;
      :standard_name = "latitude";
      :long_name = "http://mmisw.org/ont/cf/parameter/latitude";;
      :units = "degrees_north";
      :axis = "Y";
      :_FillValue = -9999.9f; // float

    float longitude;
      :standard_name = "longitude";
      :long_name = "http://mmisw.org/ont/cf/parameter/longitude";;
      :units = "degrees_east";
      :axis = "X";
      :_FillValue = -9999.9f; // float

    float height;
      :standard_name = "height";
      :long_name = "http://mmisw.org/ont/cf/parameter/height";;
      :units = "m";
      :axis = "Z";
      :positive = "up";
      :_FillValue = -9999.9f; // float

    int platform;
      :ioos_code = "urn:ioos:station:test:1";
      :comment = "Test station 1";
      :short_name = "Test station 1";
      :long_name = "Station number 1 for testing";
      :source = "moored_buoy";

    int instrument;
      :definition = "http://mmisw.org/ont/ioos/definition/sensorID";;
      :long_name = "urn:ioos:sensor:test:1:air_temperature";

    float air_temperature;
      :coordinates = "time latitude longitude height";
      :_FillValue = -9999.9f; // float
      :units = "Cel";
      :standard_name = "air_temperature";
      :long_name = "http://mmisw.org/ont/cf/parameter/air_temperature";;

  // global attributes:
  :Conventions = "CF-1.6";
  :Metadata_Conventions = "Unidata Dataset Discovery v1.0";
  :featureType = "point";
  :cdm_data_type = "Point";
  :nodc_template_version = "NODC_Point_Template_v1.0";
  :standard_name_vocabulary = "CF-1.6";
  :platform = "platform";
  :instrument = "instrument";
  :title = "urn:ioos:sensor:test:1:air_temperature";
  :summary = "Sensor observations for
urn:ioos:sensor:test:1:air_temperature, feature type point";
  :processing_level = "none";
  :date_created = "2013-12-13T23:47:11.818Z";
  :license = "Freely Distributed";
  :uuid = "e854cbcc-0227-43cb-9bfe-7e4df41e3340";
  :id = "urn:ioos:sensor:test:1:air_temperature";
  :naming_authority = "test";
  :keywords = "test,1,air_temperature";
  :institution = "test";
  :contributor_role = "operator";
  :contributor_name = "NDBC";
  :publisher_name = "Some Publisher";
  :publisher_email = "info@xxxxxxxxxxxxxxxxx";
  :publisher_url = "http://somepublisher.org";;
  :geospatial_lat_min = -158.41293102804596; // double
  :geospatial_lat_max = -158.41293102804596; // double
  :geospatial_lat_units = "degrees_north";
  :geospatial_lon_min = -44.62965258444942; // double
  :geospatial_lon_max = -44.62965258444942; // double
  :geospatial_lon_units = "degrees_east";
  :time_coverage_start = "2013-12-13T23:00:00.000Z";
  :time_coverage_end = "2013-12-13T23:00:00.000Z";
}



-- 
Shane StClair
Software Engineer
Axiom Consulting & Design
http://www.axiomalaska.com

Attachment: test_1_air_temperature_point_2013-12-13T230000.000Z_75975923742301.nc
Description: Cdf file

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