[netcdf-java] Problems reading data in polar stereographic projection

Jon Blower jdb at mail.nerc-essc.ac.uk
Mon Jan 21 02:47:37 MST 2008


Hi all,

I'm trying to use the Java NetCDF libraries (2.2.22) to read Arctic
ocean data over OPeNDAP.  The data are in polar stereographic
projection.  However, the following short program (which works fine
for many other datasets) returns zero Grids:

    NetcdfDataset nc = NetcdfDataset.openDataset(url, true, null);
    GridDataset gd =
(GridDataset)TypedDatasetFactory.open(DataType.GRID, nc, null, null);
    System.out.println(gd.getGrids().size()); // prints out "0"

The URL to the OPeNDAP site is
http://topaz.nersc.no/thredds/dodsC/topaz/mersea-ipv2/arctic/tmipv2a-class1-be.
 The results of performing an ncdump on this URL (using toolsUI) are
attached.  toolsUI also fails to recognize any Grids in this dataset.

Can anyone advise on what might be the problem here?  Is the metadata
of the dataset incorrectly specified?

Thanks in advance,
Jon

-- 
--------------------------------------------------------------
Dr Jon Blower              Tel: +44 118 378 5213 (direct line)
Technical Director         Tel: +44 118 378 8741 (ESSC)
Reading e-Science Centre   Fax: +44 118 378 6413
ESSC                       Email: jdb at mail.nerc-essc.ac.uk
University of Reading
3 Earley Gate
Reading RG6 6AL, UK
--------------------------------------------------------------
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ncdump.txt
Url: http://mailman.unidata.ucar.edu/mailing_lists/archives/netcdf-java/attachments/20080121/b25ae05f/attachment.txt 


More information about the netcdf-java mailing list