[Thread Prev][Thread Next][Index]

[las_users] genLas.pl error "isn't numeric..."



Hi las specialists,

I recieve an error message from genLas.pl when I try to include my nc-data into las:


[root@bop server]# ../addXML/addXML.sh -n ../data/test.nc -x ../xml/perl/template.xml test
[root@bop server]# make
../xml/perl/genLas.pl las.xml
DB host: [] localhost
DB login name: [root]
DB password: []
Serializing file:/bop1/opt/las/server/las.xml to database
Building indexes...
Resolving links...
Generating dataset COADS climatology
Generating dataset Levitus Climatology
Generating dataset Time Average
Argument "\x{33}\x{2c}..." isn't numeric in numeric ne (!=) at ../xml/perl/LAS.pm line 1310.
Argument "\x{31}\x{2c}..." isn't numeric in addition (+) at ../xml/perl/LAS.pm line 1288.
Argument "\x{31}\x{2c}..." isn't numeric in numeric ne (!=) at ../xml/perl/LAS.pm line 1310.
Argument "\x{2d}\x{38}..." isn't numeric in addition (+) at ../xml/perl/LAS.pm line 1288.
Argument "\x{2d}\x{38}..." isn't numeric in addition (+) at ../xml/perl/LASServlet.pm line 1844.
Argument "\x{31}\x{2c}..." isn't numeric in addition (+) at ../xml/perl/LASServlet.pm line 1854.


The new dataset appears in the server but it crashes when I reach the "constrain" webpage with :

javax.servlet.ServletException: For input string: "1,8"
at gov.noaa.pmel.tmap.FormFilter.doFilter(FormFilter.java:103)
...

for all datasets, even the coads and levitus which where working fine
before. "Datasets" and "Variables" pages are ok.

Thank you very much for any help.
Cheers
Jörg


P.S.
I'm using las 6.5.2.1 and addXML 1.1.
Here is a ncdump on my netcdf file because I cannot put it online at the moment:

netcdf test {
dimensions:
time = UNLIMITED ; // (5 currently)
zt = 19 ;
yt = 100 ;
xt = 100 ;
variables:
float dic(time, zt, yt, xt) ;
dic:valid_range = -1.f, 100.f ;
dic:fill_value = 9.96921e+36f ;
dic:long_name = "dissolved inorganic carbon" ;
dic:units = "mol m-3" ;
float dic14(time, zt, yt, xt) ;
dic14:valid_range = -1.f, 100.f ;
dic14:fill_value = 9.96921e+36f ;
dic14:long_name = "dissolved inorganic C14" ;
dic14:units = "mol m-3" ;
double time(time) ;
time:fill_value = 9.96920996838687e+36 ;
time:axis = "T" ;
time:long_name = "time since initial condition" ;
time:standard_name = "time" ;
time:units = "common_year since 0001-01-01 00:00:00.0" ;
double xt(xt) ;
xt:fill_value = 9.96920996838687e+36 ;
xt:axis = "X" ;
xt:edges = "xt_edges" ;
xt:long_name = "longitude of the t grid" ;
xt:standard_name = "grid_longitude" ;
xt:units = "degrees_east" ;
double yt(yt) ;
yt:fill_value = 9.96920996838687e+36 ;
yt:axis = "Y" ;
yt:edges = "yt_edges" ;
yt:long_name = "latitude of the t grid" ;
yt:standard_name = "grid_latitude" ;
yt:units = "degrees_north" ;
double zt(zt) ;
zt:fill_value = 9.96920996838687e+36 ;
zt:axis = "Z" ;
zt:edges = "zt_edges" ;
zt:long_name = "depth of the t grid" ;
zt:standard_name = "depth" ;
zt:units = "m" ;

// global attributes:
:Conventions = "CF-1.0" ;
:file_name = "test.nc" ;
:title = "Time Average" ;
:experiment_name = "75kyr_b7_seasonal" ;
data:

dic =
_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _,
_, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _, _,
2.155241, 2.155226, 2.155346, 2.155631, 2.155995, 2.156353, 2.15654,
2.156676, 2.15698, 2.157366, 2.157498, 2.157432, 2.157414, 2.157417,
2.157427, 2.157441, 2.157449,

....

time = 30, 31, 32, 33, 34 ;

xt = 1.79999995231628, 5.39999961853027, 9, 12.5999994277954,
16.1999988555908, 19.7999992370605, 23.3999996185303, 27,
30.6000003814697, 34.2000007629395, 37.7999992370605, 41.4000015258789,
45, 48.6000022888184, 52.2000007629395, 55.8000030517578,
59.4000015258789, 63.0000038146973, 66.6000061035156, 70.2000045776367,
73.8000030517578, 77.4000015258789, 81.0000076293945, 84.6000061035156,
88.2000045776367, 91.8000030517578, 95.4000091552734, 99.0000076293945,
102.600006103516, 106.200004577637, 109.800010681152, 113.400009155273,
117.000007629395, 120.600006103516, 124.200012207031, 127.800010681152,
131.400009155273, 135.000015258789, 138.600006103516, 142.200012207031,
145.800018310547, 149.400009155273, 153.000015258789, 156.600006103516,
160.200012207031, 163.800003051758, 167.400009155273, 171,
174.600006103516, 178.199996948242, 181.800003051758, 185.399993896484,
189, 192.599990844727, 196.199996948242, 199.799987792969,
203.399993896484, 206.999984741211, 210.599990844727, 214.199981689453,
217.799987792969, 221.399978637695, 224.999984741211, 228.599975585938,
232.199981689453, 235.79997253418, 239.399978637695, 242.999969482422,
246.599975585938, 250.199966430664, 253.79997253418, 257.399963378906,
260.999969482422, 264.599975585938, 268.199951171875, 271.799957275391,
275.399963378906, 278.999969482422, 282.599945068359, 286.199951171875,
289.799957275391, 293.399963378906, 296.999938964844, 300.599945068359,
304.199951171875, 307.799957275391, 311.399932861328, 314.999938964844,
318.599945068359, 322.199951171875, 325.799926757812, 329.399932861328,
332.999938964844, 336.599945068359, 340.199920654297, 343.799926757812,
347.399932861328, 350.999938964844, 354.599914550781, 358.199920654297 ;

yt = -89.0999984741211, -87.3000030517578, -85.5, -83.7000045776367,
-81.9000015258789, -80.1000061035156, -78.3000030517578,
-76.5000076293945, -74.7000045776367, -72.9000091552734,
-71.1000061035156, -69.3000106811523, -67.5000076293945,
-65.7000122070312, -63.9000091552734, -62.1000099182129,
-60.3000106811523, -58.5000114440918, -56.700008392334,
-54.9000091552734, -53.1000099182129, -51.3000106811523, -49.5000076293945, -47.700008392334, -45.9000091552734, -44.1000099182129, -42.3000068664551, -40.5000076293945, -38.700008392334, -36.9000091552734, -35.1000061035156, -33.3000068664551, -31.5000076293945, -29.7000064849854, -27.9000072479248, -26.1000061035156, -24.3000068664551, -22.5000057220459, -20.7000064849854, -18.9000053405762, -17.1000061035156, -15.3000049591064, -13.5000057220459,
-11.700005531311, -9.90000534057617, -8.10000610351562, -6.30000591278076, -4.5000057220459, -2.70000576972961,
-0.90000581741333, 0.899994134902954, 2.69999408721924, 4.4999942779541, 6.29999399185181, 8.09999370574951, 9.89999389648438, 11.6999940872192, 13.4999942779541, 15.2999935150146, 17.0999946594238, 18.8999938964844, 20.6999950408936, 22.4999942779541, 24.2999954223633, 26.0999946594238, 27.899995803833, 29.6999950408936, 31.4999961853027, 33.2999954223633, 35.0999946594238, 36.8999977111816, 38.6999969482422, 40.4999961853027,
42.2999954223633, 44.0999984741211, 45.8999977111816, 47.6999969482422, 49.4999961853027, 51.2999992370605, 53.0999984741211, 54.8999977111816, 56.6999969482422, 58.5, 60.2999992370605, 62.0999984741211, 63.8999977111816, 65.6999969482422, 67.5, 69.3000030517578, 71.0999984741211, 72.9000015258789, 74.6999969482422, 76.5, 78.2999954223633, 80.0999984741211, 81.8999938964844, 83.6999969482422,
85.4999923706055, 87.2999954223633, 89.0999908447266 ;

zt = 18.5, 81.5, 170.5, 285.5, 426.5, 593.5, 786.5, 1005.5, 1250.5, 1521.5,
1818.5, 2141.5, 2490.5, 2865.5, 3266.5, 3693.5, 4146.5, 4625.5, 5130.5 ;
}

--

Jörg Franke
University of Bremen
Department of Geosciences
PO Box 330440
D-28334 Bremen
Germany

E-mail: joerg.franke@palmod.uni-bremen.de
Phone: +49-421-218-7186



[Thread Prev][Thread Next][Index]

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