[Thread Prev][Thread Next][Index]

[las_users] addXML.sh of coads_climatology.cdf



Hi,
I've just installed las_6_5_1_2 on my linux machine and
http://localhost:8080/las/servlets/dataset seems to work properly.

But if I try to add a new netcdf file I got errors. I tought it was my
fault but I couldn't understand why. So, to simplify I tried to add
(again) the las/FDS/fds/testdata/coads_climatology.cdf file and I get
the same error!

/usr/local/las/bin/addXML.sh -n /usr/local/las/FDS/fds/testdata/coads_climatology.cdf las.xml
         (no errors: all seems to be OK)
gmake
../xml/perl/genLas.pl las.xml
DB host: [] localhost
DB login name: [root] 
DB password: [] 

junk after document element at line 28, column 0, byte 1475:
  </id-8d9a5b33d7>
</datasets>
<grids>
^
  <grid-COADSX-COADSY-TIME-id-8d9a5b33d7>
    <link match="/lasdata/axes/COADSX-x-id-8d9a5b33d7" />
 at /usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi/XML/Parser.pm line 187
gmake: *** [generate] Error 255

This is the las.xml file produced by addXML.sh :

<datasets>
  <id-8d9a5b33d7 name="/usr/local/las/FDS/fds/testdata/coads_climatology.cdf" url="/usr/local/las/FDS/fds/testdata/coads_climatology.cdf">
    <variables>
      <SST-id-8d9a5b33d7 name="SEA SURFACE TEMPERATURE" units="Deg C" url="#SST">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </SST-id-8d9a5b33d7>
      <AIRT-id-8d9a5b33d7 name="AIR TEMPERATURE" units="DEG C" url="#AIRT">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </AIRT-id-8d9a5b33d7>
      <SPEH-id-8d9a5b33d7 name="SPECIFIC HUMIDITY" units="G/KG" url="#SPEH">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </SPEH-id-8d9a5b33d7>
      <WSPD-id-8d9a5b33d7 name="WIND SPEED" units="M/S" url="#WSPD">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </WSPD-id-8d9a5b33d7>
      <UWND-id-8d9a5b33d7 name="ZONAL WIND" units="M/S" url="#UWND">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </UWND-id-8d9a5b33d7>
      <VWND-id-8d9a5b33d7 name="MERIDIONAL WIND" units="M/S" url="#VWND">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </VWND-id-8d9a5b33d7>
      <SLP-id-8d9a5b33d7 name="SEA LEVEL PRESSURE" units="MB" url="#SLP">
        <link match="/lasdata/grids/grid-COADSX-COADSY-TIME-id-8d9a5b33d7" />
      </SLP-id-8d9a5b33d7>
    </variables>
  </id-8d9a5b33d7>
</datasets>
<grids>
  <grid-COADSX-COADSY-TIME-id-8d9a5b33d7>
    <link match="/lasdata/axes/COADSX-x-id-8d9a5b33d7" />
    <link match="/lasdata/axes/COADSY-y-id-8d9a5b33d7" />
    <link match="/lasdata/axes/TIME-t-id-8d9a5b33d7" />
  </grid-COADSX-COADSY-TIME-id-8d9a5b33d7>
</grids>
<axes>
  <COADSX-x-id-8d9a5b33d7 type="x" units="degrees_east">
    <arange start="21" size="180" step="2" />
  </COADSX-x-id-8d9a5b33d7>
  <COADSY-y-id-8d9a5b33d7 type="y" units="degrees_north">
    <arange start="-89" size="90" step="2" />
  </COADSY-y-id-8d9a5b33d7>
  <TIME-t-id-8d9a5b33d7 type="t" units="month">
    <arange start="-0001-01-16 06:00:00" size="12" step="1" />
  </TIME-t-id-8d9a5b33d7>
</axes>

Can you help me, please?

Thank you from Italy,
Emanuele Lombardi

-- 

$$$ Emanuele Lombardi
$$$ mail:  ENEA  CLIM  Casaccia
$$$        I-00060 S.M. di Galeria (RM)  ITALY
$$$ mailto:emanuele.lombardi@casaccia.enea.it
$$$ tel	+39 0630483366 
$$$ fax	+39 0630484264             |||
$$$                                \|/  ;_;
$$$ What does a process need        |   /"\
$$$ to become a daemon ?            |   \v/
$$$                                 |    | 
$$$ - a fork                        o---/!\---
$$$                                 |   |_|
$$$                                 |  _/ \_
$$$* Contrary to popular belief, UNIX is user friendly.
$$$  It's just very particular about who it makes friends with.
$$$* Computers are not intelligent, but they think they are. 
$$$* True programmers never die, they just branch to an odd address
$$$* THIS TRANSMISSION WAS MADE POSSIBLE BY 100% RECYCLED ELECTRONS



[Thread Prev][Thread Next][Index]

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