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

Re: read Opendap dataset with java

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: Re: read Opendap dataset with java
  • Date: Mon, 21 Aug 2006 09:30:48 -0600

Hi Tony:

The ucar.nc2.dods package is still in nj22, but you're not supposed to use it 
directly. Open with NetcdfDatset.openFile() or NetcdfDatset.openDataset().

Tony Jolibois wrote:
            Hi,

I try to read Opendap dataset with a little java program, but I'm confused with different versions of libraries. It seems that ucar.nc2.dods package do not exist any more in netcdf java v2.2, with this it was simple to read an Opendap dataset. How can I do now ? Do I need Jdap ? Is this to implement a server or a client ? My dataset is for example http://opendap.aviso.oceanobs.com/thredds/dodsC/merged/h/msla_oer_merged_h.

Thanks in advance,
Tony

--
Tony JOLIBOIS

CLS Space oceanography Division
Product Information and Diffusion
8-10 rue Hermes,
31526 Ramonville-St-Agne, Cedex, France

Email: address@hidden <mailto:address@hidden>
Tel: (+33) (0) 561 394 797
http://www.cls.fr
http://www.mercator-ocean.fr