[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDFJava #QEX-289573]: point file

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: [netCDFJava #QEX-289573]: point file
  • Date: Fri, 02 Feb 2018 11:53:14 -0700

Hi Jeff,

I'm not able to get this to open as a POINT either. However, if I make
a few modifications using NcML, I can get it to open as STATION (see
attached NcML).

Cheers,

Sean

> Hi,
> 
> Bill Capehart has a point netcdf file on his ramadda server (attached). The
> CDM code fails to open this as a FeatureDatasetPoint with the below code.
> 
> Any ideas?
> 
> Thanks
> Jeff
> 
> 
> 
> 
> FeatureDatasetPoint pods =
> (FeatureDatasetPoint) FeatureDatasetFactoryManager.open(
> ucar.nc2.constants.FeatureType.POINT, path, null, buf);
> if (pods == null) {  // try as
> ANY_POINT
> pods = (FeatureDatasetPoint) FeatureDatasetFactoryManager.open(
> ucar.nc2.constants.FeatureType.ANY_POINT, path, null, buf);
> 
> 


Ticket Details
===================
Ticket ID: QEX-289573
Department: Support netCDF Java
Priority: Normal
Status: Open
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.

Attachment: station.ncml
Description: Binary data