Re: Serving local netCDF files though DODS

McCann, Mike wrote:

-----Original Message-----
From: John Caron [mailto:caron@xxxxxxxxxxxxxxxx]
Sent: Thursday, November 04, 2004 11:18 AM
To: McCann, Mike
Cc: 'thredds@xxxxxxxxxxxxxxxx'
Subject: Re: Serving local netCDF files though DODS


McCann, Mike wrote:

Hello,

I am trying to serve local netCDF files through the agg server and
access them through the DODS API.  It is not working.

Here is the contents of my dodsC/catalogConfig.xml file:

<!DOCTYPE catalog SYSTEM
"http://www.unidata.ucar.edu/projects/THREDDS/xml/AggServerCa
talog.dtd">
<catalog name="THREDDS - DODS Aggregation Server Catalog"
version="0.6" xmlns="http://www.unidata.ucar.edu/thredds"; xmlns:xlink="http://www.w3.org/1999/xlink";>
        <dataset name="AUVCTD mission netCDF files" serviceName="this">
                <service name="this" serviceType="DODS" base=""/>
<service name="local" serviceType="NetCDF"
base="file:///C:/iagdata/ssds/data/auvctd/missionnetcdfs/"/>
<dataset name="Non-Aggregated Netcdf Files"
dataType="Grid" serviceName="this">
                        <property name="internalService" value="local"/>
<dataset
name="2004/2004029/2004.029.03/parosci.nc" urlPath="2004/2004029/2004.029.03/parosci.nc"/>
                </dataset>
        </dataset>
</catalog>

It validates and passes the debug test, yet when I click on
any of the
DDS or DAS links I get this in my browser:

kDODServlet ERROR:
dods.servlet.DODSServlet.getDataset(Ldods/servlet/ReqState; Ldods/servlet/GuardedDataset;

I don't see any helpful messages in the log files.

What am I doing wrong?
Even some suggestions as to how I may do my own debugging will be helpful.

-Mike


sorry that message is so unhelpful. look on the console window of the tomcat server and see if there are any messages.


John,

I don't see anything helpful on the console or in any log files.
A strange thing is that last night I did get the DODS serving to
work - once. I then started to add more data sets to the XML and could not get it to work again! I kept getting the above
ERROR.

Now, this morning I am getting this error message for a .dds request:

 Error {
   code = 1;
   message = "Dataset not found in catalog; urlPath= 
<2004/2004029/2004.029.03/parosci.nc>";
 };

Is the base from the local service not getting prepended?
Does the Windows file:///C:/... syntax mess things up?

Thanks for the help. I got real excited when I saw it work last night, but I have no idea what sequence of events caused this
temporary success.

-Mike

--
Mike McCann Software Engineer
Monterey Bay Aquarium Research Institute
7700 Sandholdt Road
Moss Landing, CA 95039-9644
Voice: (831) 775-1769 Fax: (831) 775-1646 http://www.mbari.org/rd/iag.htm
i think /// is correct on windows, but not on linux (?)

also try

file:c:/blah/blah


technically the file URL is "opaque" meaning each OS interprets it anyway they want. I will try to make our handing more robust next version.

can you set up your server in a way that is publically accessible ?

From owner-thredds@xxxxxxxxxxxxxxxx Fri 5  2004 Nov 09:38:52
Message-ID: <r02010400-1028-9013D7AB2F5111D9976F003065534B3C@[192.168.0.4]>
Date: Fri,  5 Nov 2004 09:38:52 -0800
From: Bruce Caron <exdir@xxxxxxxxxxxxxxxxxx>
In-Reply-To: <200410291805.i9TI5lvV006853@xxxxxxxxxxxxxxxx>
To: "'thredds@xxxxxxxxxxxxxxxx'" <thredds@xxxxxxxxxxxxxxxx>
Subject: ETA model IDL input routine needed
Received: (from majordo@localhost)
        by unidata.ucar.edu (UCAR/Unidata) id iA5Hfsb5007138
        for thredds-out; Fri, 5 Nov 2004 10:41:54 -0700 (MST)
Received: from fed1rmmtao12.cox.net (fed1rmmtao12.cox.net [68.230.241.27])
        by unidata.ucar.edu (UCAR/Unidata) with ESMTP id iA5HfrvV007133
        for <thredds@xxxxxxxxxxxxxxxx>; Fri, 5 Nov 2004 10:41:53 -0700 (MST)
Organization: UCAR/Unidata
Keywords: 200411051741.iA5HfrvV007133
Received: from [192.168.0.4] (really [68.6.125.102])
         by fed1rmmtao12.cox.net
         (InterMail vM.6.01.04.00 201-2131-117-20041022) with ESMTP
         id <20041105174147.KGMG3296.fed1rmmtao12.cox.net@[192.168.0.4]>;
         Fri, 5 Nov 2004 12:41:47 -0500
cc: Marty Landsfeld <marty@xxxxxxxxxxxxxxxxxx>,
       DAWG Members <dawg-members@xxxxxxxxx>
X-Priority: 3
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
X-Mailer: Mailsmith 2.1.4 (Blindsider)
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by unidata.ucar.edu id 
iA5HfrvV007135
Sender: owner-thredds@xxxxxxxxxxxxxxxx
Precedence: bulk

Hi THREDDS and DAWG...

WE are trying to get some ETA model output into IDL... and can't seem to
find an existing IDL routine.  Does anyone know of such a routine out
there?

We are working on a THREDDS viewer for these data.

Any and all help is greatly appreciated.

cheers

bruce caron


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