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