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

Hi Heiko,

At first glace, I can't figure out which CF specification you were trying
to adhere to: H.4.1, H.4.2, H.4.3, or H.4.4. It appears you may have tried
to adopt H.4.2 to use multiple trajectories, which I'm not sure is
supported in NetCDF-Java.

Take a look at these Trajectory examples:
https://github.com/asascience-open/CFPointConventions/tree/master/trajectory.
Each folder contains a .cdl, .nc (that will load into NetCDF-Java), and an
.ncml file.

Hope that helps,
Kyle


On Thu, Aug 27, 2015 at 4:21 AM, Heiko Klein <Heiko.Klein@xxxxxx> wrote:

> 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
>
>
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
  • 2015 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: