[Thread Prev][Thread Next][Index]

Re: addXml.pl problem



Ben,
when I run addXml.pl I usually invoke it from the $LASroot/server subdirectory where my LAS is installed. This would mean the script would find files by relative paths such as ../xml/perl

So, try

# cd /usr/local/las/las/server
# ../xml/perl/addXml.pl /usr/local/lib/grads/coads_climatology.cdf


hope that helps,
cyndy

benb wrote:

Hi All,

I'm trying to use the addXml.pl utility for the first time (should be easy e
nough). I get the following error:

# /usr/local/las/las/xml/perl/addXml.pl /usr/local/lib/grads/coads_climatolo
gy.cdf
Can't locate LASDods.pm in @INC (@INC contains: ../xml/perl . ../xml/perl/do
ds ../xml/perl/install/lib/5.6.0 ../xml/perl/install/lib/site_perl/5.6.0 ../
xml/perl/install/lib/perl5/5.6.0 ../xml/perl/install/lib/perl5/site_perl/5.6
0 /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_
perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_per
l) at /usr/local/las/las/xml/perl/addXml.pl line 15.
BEGIN failed--compilation aborted at /usr/local/las/las/xml/perl/addXml.pl l
ine 15.


addXml.pl is in
/usr/local/las/las/xml/perl

and coads_climatology.cdf is in /usr/local/lib/grads

and LASDods.pm is in
/usr/local/las/las/xml/perl/dods

and I'm executing this in /usr/local/las/las/xml/perl


Any help?

Thanks,

Ben


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Cyndy Chandler		| voice: (508) 289-2765
MS #43, WHOI		| Office hrs: M-F ~ 9-4
Woods Hole, MA  02543	| FAX: (508) 457-2161
cchandler@whoi.edu | http://www.whoi.edu/people/cchandler
U.S. JGOFS Data Management Office
Department of Marine Chemistry and Geochemistry
Woods Hole Oceanographic Institution



[Thread Prev][Thread Next][Index]

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