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

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

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: [THREDDS #GEC-600533]: Unable to perform DODS subsetting in TOOLSUI
  • Date: Fri, 14 Mar 2008 08:58:09 -0600

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