Re: [netcdf-java] Open and read trajectory profile data CF-1.6 compliant with NetCDF 4.3 java library

Hi Kristian:

Its working ok for me if i open as ANY_POINT or SECTION. This is in 4.3, what version are you using?

John

On 4/3/2012 2:10 AM, Kristian Sebastián wrote:
Hi,

I am trying to open and read data from the NetCDF CF-1.6 compliant file attached. Data are from a APEX profile
so we use the representation H.6.2.

I have tried to open it as TrajectoryFeature but I get the follwing error.

Java code:
TrajectoryFeature trajectoryFeature = (TrajectoryFeature) FeatureDatasetFactoryManager.open(ucar.nc2.constants.FeatureType.TRAJECTORY, netCdfFileLocation, null, log);
System.out.println(log.toString());

Log output:
Table TopScalars/PsuedoStructure(time)/MultidimPseudo(time,depth) featureType SECTION doesnt match desired type TRAJECTORY
**Failed to find FeatureDatasetFactory for= "" datatype=TRAJECTORY

I know the APEX dataset is a trajectory profile but  there isn't a FeatureType.TRAJECTORY_PROFILE.
So, is there any way to open as TrajectoryFeature or similar class?

Thanks.


--

Kristian Sebastian Blalid
SOS Division: Data Center Technical
Tel: 971439860 - Fax: 971439979
E-mail: kristian.sebastian@xxxxxxxx / kristian.sebastian@xxxxxx



_______________________________________________
netcdf-java mailing list
netcdf-java@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit: http://www.unidata.ucar.edu/mailing_lists/