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

[netCDF #ZQW-177600]: Accessing NetCDF variable sections using a command over the Net using OpenDAP



Hi Peter,

> After adding  <service name="ncss" serviceType="NetcdfSubset" 
> base="/thredds/ncss/grid/" />
> into our compound service, I restarted tomcat and I get the following:
> 
> ----------------------------------------------
> HTTP Status 403 - Service not supported.
> 
> type Status report
> 
> message Service not supported
> 
> description Access to the specified resource (Service not supported) has been 
> forbidden.
> 
> Apache Tomcat/6.0.18
> ----------------------------------------------
> 
> I checked the THREDDS configure file, and the service is available and the 
> directory tag is
> set to an existing directory.

The error looks like what you would get if the service was not allowed in the 
content/thredds/threddsConfig.xml file. Do you have "allow", "dir", "scour", 
and "maxAge" elements in your "NetcdfSubsetService" element?

Are you seeing anything in your content/thredds/logs/threddsServlet.log file?
 
> I also downloaded and deployed the latest stable version of THREDDS v 
> 3.17.3.1 to ensure I
> have not missed anything.
> 
> Do I need to do anything else ?

That should be it. Just the service element and allowing ncss in 
threddsConfig.xml.

> In which directory are processes where the services are located (or
> is this defined in the THREDDS code itself ?).

Not sure I'm understanding this question. Once allowed, the service can be used 
anywhere. Which datasets are actually available through that service depends on 
what datasets reference the appropriate service element.

Another thought ... What kinds of datasets are you trying to serve with NCSS? 
Looks like they are netCDF files. One of the requirements for this particular 
service is that the datasets be recognized by the netCDF-Java library as 
gridded data. You can check this with the NetCDF-Java ToolsUI (which you can 
find from the netCDF-Java page, 
http://www.unidata.ucar.edu/software/netcdf-java/) . Just try to open the 
dataset in the "Feature Types" - "Grids" tab.)

Ethan 


Ticket Details
===================
Ticket ID: ZQW-177600
Department: Support THREDDS
Priority: Normal
Status: Closed


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.