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

[THREDDS #PLL-568775]: TDS 5.4 issues



Greetings!

This looks very similar to an issue we just recently fixed (after 5.4 was 
released). That issue was that datasets that had a location specified in ncml 
were not being correctly found. Would you mind trying the latest snapshot to 
see if your problems are solved by that fix?

The snapshot is here:

https://artifacts.unidata.ucar.edu/repository/unidata-snapshots/edu/ucar/tds/5.5-SNAPSHOT/tds-5.5-20220720.145611-7.war

If you still have issues, just let us know and we will have a closer look.

Best,
Tara

Posted on: 20220719.0817 MDT
================================================================
Im working on an upgrade from tds 4 to tds 5.

We're running the new service on tomcat 9/java 11.

Im new to TDS so theres lots I dont understand but I'm hoping you can 
point me in the right direction on a couple of issue.

I hope these arent too obvious. I have looked through the upgrade guide 
without much success.


Anyway, for one of our datasets which is configured as follows


<?xml version="1.0" encoding="UTF-8"?>
<catalog name = "ANUClimate"
 ÂÂÂÂÂÂÂÂ xmlns = 
"http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
 ÂÂÂÂÂÂÂÂ xmlns:xlink = "http://www.w3.org/1999/xlink";>

 Â <service name="agg" serviceType="Compound" base="">
 ÂÂÂ <service name="ncdods" serviceType="OPENDAP" base="/thredds/dodsC/" />
 ÂÂÂ <service name="wms" serviceType="WMS" base="/thredds/wms/" />
 ÂÂÂ <service name="wcs" serviceType="WCS" base="/thredds/wcs/" />
 ÂÂÂ <service name="subsetServer" serviceType="NetcdfSubset" 
base="/thredds/ncss/" />
 Â </service>

 Â <dataset name="ANUClimate_v2-0_frost_monthly_agg"
 ÂÂÂÂÂÂÂÂÂÂ ID="ANUClimate_v2-0_frost_monthly_agg"
 ÂÂÂÂÂÂÂÂÂÂ urlPath="gh70/ANUClimate/v2-0/stable/month/frst"
 ÂÂÂÂÂÂÂÂÂÂ harvest="true">
 ÂÂÂ <metadata inherited = "true">
 ÂÂÂÂÂ <serviceName>agg</serviceName>
 ÂÂÂÂÂÂ <documentation xlink:title="NCI Catalogue: Metadata, Licence and 
Readme" 
xlink:href="https://geonetwork.nci.org.au/geonetwork/srv/eng/catalog.search#/metadata/f2576_7854_4065_1457";
 
name="" />
 ÂÂÂÂÂ <documentation type="rights" xlink:title="Licence" 
xlink:href="/thredds/fileServer/gh70/doc/license.txt" name="" />
 ÂÂÂ </metadata>
 ÂÂÂ <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
 ÂÂÂÂÂ <aggregation dimName="time" type="joinExisting" recheckEvery="60 
min">
 ÂÂÂÂÂÂÂ <scan location="/g/data/gh70/ANUClimate/v2-0/stable/month/frst"
 ÂÂÂÂÂÂÂÂÂÂÂÂÂ suffix= ".nc"
 ÂÂÂÂÂÂÂÂÂÂÂÂÂ subdirs="true" />
 ÂÂÂÂÂ </aggregation>
 ÂÂÂ </netcdf>
 Â </dataset>
</catalog>

The WCS service errors out with the following stack trace

java.io.FileNotFoundException: 
/g/data/gh70/ANUClimate/v2-0/stable/month/frst (Is a directory)
 ÂÂÂÂÂÂÂ at java.io.FileInputStream.open0(Native Method) ~[?:?]
 ÂÂÂÂÂÂÂ at java.io.FileInputStream.open(FileInputStream.java:219) ~[?:?]
 ÂÂÂÂÂÂÂ at java.io.FileInputStream.<init>(FileInputStream.java:157) 
~[?:?]
 ÂÂÂÂÂÂÂ at ucar.nc2.dataset.DatasetUrl.checkIfNcml(DatasetUrl.java:518) 
~[cdm-core-5.5.3.jar:5.5.3]
 ÂÂÂÂÂÂÂ at 
ucar.nc2.dataset.DatasetUrl.findDatasetUrl(DatasetUrl.java:150) 
~[cdm-core-5.5.3.jar:5.5.3]
 ÂÂÂÂÂÂÂ at 
ucar.nc2.ft2.coverage.CoverageDatasetFactory.openCoverageDataset(CoverageDatasetFactory.java:57)
 
~[cdm-core-5.5
.3.jar:5.5.3]


And the netcdf subset service generates the following error

HTTP Status 404 â Not Found</h1><hr class="line" /><p><b>Type</b> Status 
Report</p><p><b>Description</b> The origin server did not find a current 
representation for the target resource or is not willing to disclose 
that one exists.







Ticket Details
===================
Ticket ID: PLL-568775
Department: Support THREDDS
Priority: Normal
Status: Open
===================
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.



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.