[netcdf-java] How to get FeatureType trajectories working?

Hi,

I'm trying to read trajectory data with netcdf-java. I've seen figures
of this with netcdf-java 2.2 at

https://www.unidata.ucar.edu/software/thredds/v4.3/netcdf-java/tutorial/PointDatatype.html

but both netcdf-4.6 and CF-1.6 have a different layout for trajectory data.



I've tried now to generate a netcdf/CF file following the guidelines at
http://www.unidata.ucar.edu/software/thredds/current/netcdf-java/reference/FeatureDatasets/CFpointImplement.html
(see attached file).


ToolsUI gives me a 'CoordSys' with trajectory, time, lat, lon and
time,lat,lon have the expected axisTypes. Using FeatureScan, I get a
coverage of 'Swath(T,Y,X): trajectory', which looks ok, but I get also
an error message:

---------
/home/heikok/openoil2.nc4
 NetCDF-4
 map = 'f:D(2)->R(4)'

 null

CoverageFactory for '/home/heikok/openoil2.nc4'
coverage = Swath
FeatureDatasetFactoryManager errlog = Table
PsuedoStructure(trajectory)/MultidimPseudo(trajectory,time) featureType
TRAJECTORY: lat/lon/time coord not found
**Failed to find FeatureDatasetFactory for= /home/heikok/openoil2.nc4
datatype=TRAJECTORY
----------


According to 'CoordSys', lat/lon/time are availble.

The PointFeature/TRAJECTORY wasn't then able to plot the data. Any idea
how I can correct my data to enable plotting in netcdf-java UI?


Best regards,

Heiko


Attachment: openoil2.nc4
Description: Binary data

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