Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

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

[THREDDS #GEC-600533]: Unable to perform DODS subsetting in TOOLSUI



Hi Leakha,

> AS proposed in [another THREDDS inquiry GEC 600533], I'm using
> NetcdfDataset.openDataset, with my url containing the constraints
> (http://CHEVROLET-BT.act.cmis.csiro.au:8080/thredds/dodsC/rad/2006/20060
> 107_rad_b0702.nc.dods?latitude[0:1:680],longitude[0:1:840],rad[0:1:680][
> 0:1:840]).  However it is still does not work and generates an error
> (see below).   But this url works at the browser level.
> 
> Could you advise me of the correct construction of the DODS URL
> containing constraints in the context of using
> NetcdfDataset.openDataset.

NetcdfDataset.openDataset() will not accept constrained OPeNDAP URLs. There isn't a method in the netCDF-java API that will open a constrained OPeNDAP URL. The netcdf API can open unconstrained OPeNDAP datasets and when the netCDF API is used to get subsets it will translate that into OPeNDAP constrained requests. Those requests return the subset of data via OPeNDAP and the netCDF library translates that into netCDF API objects in memory.

Hope that helps,

Ethan

Ticket Details
===================
Ticket ID: GEC-600533
Department: Support THREDDS
Priority: Normal
Status: Open


 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Office of Programs University Corporation for Atmospheric Research (UCAR)   Unidata is a member of the UCAR Office of Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690