[Thread Prev][Thread Next][Index]
Re: [las_users] addXML.sh of coads_climatology.cdf
Emanuele,
There is nothing wrong with the file that was produced by addXML.sh.
The issue is that this file is just a sub-section of the configuration
and it must be included into an existing las.xml file.
Rename the file you created.
mv las.xml newcoads.xml
Copy the sample file.
cp sample_las.xml las.xml
Edit the new las.xml to include the file you just created
[...]
<!ENTITY newcoads SYSTEM "newcoads.xml">
[...]
<!-- Datasets provided by this server -->
<!-- Default LAS datasets -->
&newcoads;
&levitus;
[...]
and then run make again.
Roland
emanuele.lombardi@casaccia.enea.it wrote:
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
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement