[Thread Prev][Thread Next][Index]
[las_users] Another two questions about Java addXML.sh
Hi all,
1)
------------------------------
I've installed LAS version 6.5.1.2 under Linux Fedora 3. I'm trying to
add about 1,000 NetCDF using Java /usr/local/las/xml/java/addXML/addXML.sh:
prompt>./addXML.sh -n netcdf1 -n netcdf2 -n netcdf3 ... -n netcdf1000
-d:"Medatlas" medatlas
While executing this command, I always get the following error:
IO error = java.io.FileNotFoundException:
/home/foo/ferret_datasets/data/foo.nc (Too many open files)
Exception in thread "main" java.lang.NullPointerException
at gov.noaa.pmel.tmap.addxml.addXML.main(Unknown Source)
What I'm doing wrong? Is not possible to add a large number of NetCDF at
the same time?
------------------------------
2)
------------------------------
I've tried also to add a related subset (4 NetCDF files) of these 1,000
NetCDF and addXML.sh works OK. The problem is that when I select the
dataset on the web interface, LAS shows 4 different variables in spite
of the fact that is the same variable:
Dataset variable(s):
[] Phosphate
[] Phosphate
[] Phosphate
[] Phosphate
Next >
Instead of this I excpected something like:
Dataset variable(s):
[] Phosphate
Next >
The resulting XML after running addXML.sh on this subset of NetCDF was:
<datasets>
<id-bfd8a05884 name="MedAtlas (phosphate)">
<variables>
<phos-id-bfd8a05884 name="Phosphate" units="millimol/m3"
url="/home/foo/ferret_datasets/data/spring.sicily.phos.nc.new.nc#phos">
<link match="/lasdata/grids/grid-lon-lat-depth-id-bfd8a05884" />
</phos-id-bfd8a05884>
<phos-id-decbc11f36 name="Phosphate" units="millimol/m3"
url="/home/foo/ferret_datasets/data/spring.sicily.phos.error.nc.new.nc#phos">
<link match="/lasdata/grids/grid-lon-lat-depth-id-decbc11f36" />
</phos-id-decbc11f36>
<phos-id-28bcdb5249 name="Phosphate" units="millimol/m3"
url="/home/foo/ferret_datasets/data/summer.aegean.phos.error.nc.new.nc#phos">
<link match="/lasdata/grids/grid-lon-lat-depth-id-28bcdb5249" />
</phos-id-28bcdb5249>
<phos-id-1a68daba16 name="Phosphate" units="millimol/m3"
url="/home/foo/ferret_datasets/data/summer.aegean.phos.nc.new.nc#phos">
<link match="/lasdata/grids/grid-lon-lat-depth-id-1a68daba16" />
</phos-id-1a68daba16>
</variables>
</id-bfd8a05884>
</datasets>
<grids>
<grid-lon-lat-depth-id-bfd8a05884>
<link match="/lasdata/axes/lon-x-id-bfd8a05884" />
<link match="/lasdata/axes/lat-y-id-bfd8a05884" />
<link match="/lasdata/axes/depth-z-id-bfd8a05884" />
</grid-lon-lat-depth-id-bfd8a05884>
<grid-lon-lat-depth-id-decbc11f36>
<link match="/lasdata/axes/lon-x-id-decbc11f36" />
<link match="/lasdata/axes/lat-y-id-decbc11f36" />
<link match="/lasdata/axes/depth-z-id-decbc11f36" />
</grid-lon-lat-depth-id-decbc11f36>
<grid-lon-lat-depth-id-28bcdb5249>
<link match="/lasdata/axes/lon-x-id-28bcdb5249" />
<link match="/lasdata/axes/lat-y-id-28bcdb5249" />
<link match="/lasdata/axes/depth-z-id-28bcdb5249" />
</grid-lon-lat-depth-id-28bcdb5249>
<grid-lon-lat-depth-id-1a68daba16>
<link match="/lasdata/axes/lon-x-id-1a68daba16" />
<link match="/lasdata/axes/lat-y-id-1a68daba16" />
<link match="/lasdata/axes/depth-z-id-1a68daba16" /> <link
match="/lasdata/axes/lat-y-id-1a68daba16" />
<link match="/lasdata/axes/depth-z-id-1a68daba16" />
</grid-lon-lat-depth-id-1a68daba16>
</grids>
<axes>
...
</axes>
How can I add these NetCDF under the same variable "Phosphate"?
------------------------------
Thanks in advance,
Roger Olivella
[Thread Prev][Thread Next][Index]
Dept of Commerce /
NOAA /
OAR /
PMEL /
TMAP
Contact Us | Privacy Policy | Disclaimer | Accessibility Statement