[netcdfgroup] Initial NetCDF/Thredds queries (404 Requested Object not found)

Hi,

I'm new to NetCDF/Thredds and have gone through the initial documentation
provided. I'm trying to use the NetCDF subset service to try and get a
subset of data from a netCDF file by requesting a THREDDS server. However,
this is just not happening. Below is the catalog.xml -

<?xml version="1.0" encoding="UTF-8"?>
<catalog name="THREDDS Server Default Catalog : You must change this to fit
your server!"
        xmlns="
http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
        xmlns:xlink="http://www.w3.org/1999/xlink";>

<service name="multiService" serviceType="Compound" base="" >
  <service name="thisDODS" serviceType="OpenDAP" base="/thredds/dodsC/" />
  <service name="thisNETCDF" serviceType="NetcdfSubset"
base="/thredds/ncss/grid/" suffix="/dataset.html" />
 </service>

  <datasetRoot path="test" location="content/testdata/"/>

<dataset name="Test Another Single Dataset" ID="testDataset1"
serviceName="multiService"
           urlPath="test/RUN_2007-09-17T18-00-00Z.nc"/>

  <datasetScan name="Test all files in a directory" ID="testDatasetScan"
               path="testAll" location="content/testdata/">

    <metadata inherited="true">
      <serviceName>multiService</serviceName>
    <dataType>Grid</dataType>
    <dataFormat>GRIB-1</dataFormat>
    </metadata>

  </datasetScan>

  <catalogRef xlink:title="Test Enhanced Catalog" xlink:href="
enhancedCatalog.xml" name=""/>

</catalog>

** the form is shown appropriately from where I can select the lat/long and
grid variables. Further, after I select and SUBMIT the form, I get a dialog
to save the .nc file. However, the contents of the saved .nc file contains
an error instead of the data**
-CONTENTS Of THE SAVED .nc FILE
<html><head><title>Apache Tomcat/6.0.13 - Error report</title><style><!--H1
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:22px;}
H2
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:16px;}
H3
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;font-size:14px;}
BODY
{font-family:Tahoma,Arial,sans-serif;color:black;background-color:white;} B
{font-family:Tahoma,Arial,sans-serif;color:white;background-color:#525D76;}
P
{font-family:Tahoma,Arial,sans-serif;background:white;color:black;font-size:12px;}A
{color : black;}A.name {color : black;}HR {color : #525D76;}--></style>
</head><body><h1>HTTP Status 404 - </h1><HR size="1"
noshade="noshade"><p><b>type</b> Status report</p><p><b>message</b>
<u></u></p><p><b>description</b> <u>The requested resource () is not
available.</u></p><HR size="1" noshade="noshade"><h3>Apache
Tomcat/6.0.13</h3></body></html>

** On checking the threddsServlet.log, I see the following **
2007-09-19T12:20:28.922 -0500 [   1170408][      29] INFO  -
thredds.servlet.ServletUtil - Remote host: 127.0.0.1 - Request: "GET
/thredds/ncss/grid/test/RUN_2007-09-17T18-00-00Z.nc
?var=Precipitable_water&spatial=all&north=
56.6917&west=114.6104&east=-52.3040&south=18.2853&temporal=all&time_start=2007-09-17T18%3A00%3A00Z&time_end=2007-09-22T18%3A00%3A00Z&horizStride=HTTP/1.1"
2007-09-19T12:20:31.235 -0500 [   1172721][      29] INFO  -
thredds.servlet.ServletUtil - Request Completed - 404 - 0 - 2313

The 404 error indicates the requested object is not available. I have no
idea why this is coming, since the dataset.html is being shown properly but
not this.

** P.S: If I use the OPENDAP access, everything works absolutely fine**

Please let me know and provide insight so that I can get it working. I
really need it badly.

Thanks,
-Apurv
AB


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: