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.
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