[Thread Prev][Thread Next][Index]

Re: LAS/LIS User Interface



Hi Jonathan,

That sounds great, please go ahead and add it to your distribution. I'll post an announcement as recommended.

Also, if you want to hack on it a bit to make it "fit" better in the LAS distribution (so it can be run from contrib, and use Perl HTTP modules instead of the curl utility), you are welcome, just send me a copy of any changes you make..

- Joe

On Tuesday, July 8, 2003, at 09:55 AM, Jonathan Callahan wrote:

Joe,

As we are recommending GDS as a solution for folks with GRIB data and/or
temporally aggregated data it would nice to include your scripts as part of
the LAS distribution. Perhaps the best way to start would be for you to
announce the availability of your scripts on the las users email list. Your
email is currently buried in a thread and a title like "*** Announcing
GDS-LAS utility scripts ***" would be easier to spot. Then I'd like to
include them in the 'contrib/' area of the LAS source code. By (my own
personal) definition, items in the 'contrib/' area essentially alpha code
that we are putting out there for people to test.

I'm aware of several folks who are currently installing GDS and any GDS-LAS
utilities you have would be put to use right away.

Cheers,


-- Jon

Joe Wielgosz wrote:

Hi,

Its just something I hacked up for the folks at NASA, and for our own
use. However, I've put it up on our FTP server for your perusal:

ftp://grads.iges.org/grads/gds/gds-perl-scripts-20021209.tar.gz

There are two scripts, addGDS.pl and ls-gds.pl. Put them both in the
server/ directory of your LAS installation. Make sure the curl utility
is in your path. The output is put in a separate XML file, which you
should include in your las.xml. To do this, add the following line:
<!ENTITY gds SYSTEM "gds-datasets.xml">
at the top of the file, after this line:
<!DOCTYPE spec SYSTEM "spec.dtd" [
Then after the <lasdata> tag, add this:
&gds;

I wrote it for the LAS 6.0 installation at http://monsoondata.org; I
haven't tested on other versions. As long as the calling syntax for
xml/perl/addXML.pl is the same, it should work on any LAS version.

- Joe

On Monday, July 7, 2003, at 08:48 AM, Bob Yu wrote:

I am interested in using addGDS.pl. Anyone can tell me where I can
have it, and
from which LAS version it can be run?

Thanks.

Bob

Luther Lighty wrote:

Hello all,

I am still having problems adding datasets to the LAS using the
GrADS-DODS server.  I am getting errors (see below) when I tried to
add datasets using add GDS.pl., a version of addXml.pl which loads
the entire content of a GDS onto a LAS.  When I use addXml.pl (as
suggested by Joe Wielgosz), I am getting the same error.  I am
attaching las.xml.  Any guidance that is given will be greatly
appreciated.

Thanks,
Luther

Date: Tue, 1 Jul 2003 09:30:46 -0700
Subject: Re: LAS/LIS User Interface
Cc: Jennifer Adams <jma@cola.iges.org>
To: Luther Lighty <Luther.Lighty-1@nasa.gov>
From: Joe Wielgosz <joew@cola.iges.org>

Hi Luther,

From the same directory, try this command by itself and tell me what
you get:
../xml/perl/addXml.pl --out_inc inctemplate.xml tmp-gds-1.xml
http://lis1.sci.gsfc.nasa.gov:9090/dods/CLMAGRMET14

I tried the URL in my browser, it seems to be correct, and the GDS
is running, so I think probably part of LAS is not running or
misconfigured, or your environment has somehow changed. If running
the above command doesn't work by itself, you should forward the
question to las_users.

- Joe

On Tuesday, July 1, 2003, at 07:03 AM, Luther Lighty wrote:

Hi Joe,

We are again having trouble with the LAS. I removed some of the
datasets that were on the GDS previously. When I tried to rerun
the addGDS.pl script to make the new datasets available to LAS, I
am getting these errors:

[gds@X1 server]$ ../xml/perl/addGDS.pl
http://lis1.sci.gsfc.nasa.gov:9090/dods/xml
**File: http://lis1.sci.gsfc.nasa.gov:9090/dods/CLMAGRMET14
token not defined
Can't call method "name" on an undefined value at
../xml/perl/dods/LASDods.pm line 133.
cat: tmp-gds-1.xml: No such file or directory
**File: http://lis1.sci.gsfc.nasa.gov:9090/dods/CLMAGRMET2x25
token not defined
Can't call method "name" on an undefined value at
../xml/perl/dods/LASDods.pm line 133.
cat: tmp-gds-2.xml: No such file or directory
**File: http://lis1.sci.gsfc.nasa.gov:9090/dods/CLMGEOS14
token not defined
Can't call method "name" on an undefined value at
../xml/perl/dods/LASDods.pm line 133.
*
*
cat: tmp-gds-12.xml: No such file or directory
Generated dataset entries in gds-datasets.xml.
Put an XML include in las.xml and run genLas.pl to add them to LAS.

Please advise.

Thanks,
Luther
--
--------------
Luther Lighty III
NASA Goddard Space Flight Center
Greenbelt, MD 20771
E-mail: Luther.Lighty-1@.nasa.gov
Phone: (301) 286-8215


Joe Wielgosz / joew@cola.iges.org
---------------------------------------------------
Center for Ocean-Land-Atmosphere Studies (COLA)
Institute for Global Environment and Society (IGES)
http://www.iges.org
--
--------------
Luther Lighty III
NASA Goddard Space Flight Center
Greenbelt, MD 20771
E-mail: Luther.Lighty-1@.nasa.gov
Phone: (301) 286-8215

              Name: las.xml
   las.xml    Type: XML Document (text/xml)
          Encoding: base64
--


--
(Bob) Yunyue YU
Code 971, Goddard Space Flight Center
Greenbelt, MD 20771
(301)614-6850  yuy@nemo.gsfc.nasa.gov




Joe Wielgosz / joew@cola.iges.org
---------------------------------------------------
Center for Ocean-Land-Atmosphere Studies (COLA)
Institute for Global Environment and Society (IGES)
http://www.iges.org


Joe Wielgosz / joew@cola.iges.org
---------------------------------------------------
Center for Ocean-Land-Atmosphere Studies (COLA)
Institute for Global Environment and Society (IGES)
http://www.iges.org



[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement