Closed GoogleCodeExporter closed 8 years ago
Original comment by ber...@gmail.com
on 29 May 2009 at 4:34
Original comment by ber...@gmail.com
on 29 May 2009 at 4:35
I think - issue appears when reading dewPoint, it finds a '?' when a float is
expected. Do you know, Tony if there is such value '?' in dewpoint ?
INFO: processed successfully float dewpoint(recNum=1787);
:long_name = "dewpoint";
:units = "kelvin";
:_FillValue = 3.4028235E38f; // float
:standard_name = "dew_point_temperature";
May 29, 2009 12:58:41 PM org.oostethys.model.impl.ObservationNetcdf createResult
INFO: numberOfFields 3
java.lang.NumberFormatException: For input string: "?"
at sun.misc.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:1224)
at java.lang.Double.parseDouble(Double.java:482)
at org.oostethys.model.impl.ObservationNetcdf.createResult(ObservationNetcdf.java:531)
at org.oostethys.sos.Netcdf2sos100.processSystem(Netcdf2sos100.java:441)
at org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:162)
at org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:163)
at org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:163)
at org.oostethys.sos.Netcdf2sos100.process(Netcdf2sos100.java:333)
at org.oostethys.sos.Netcdf2sos100.processForTest(Netcdf2sos100.java:295)
at org.oostethys.sos.test.TestOOSTethysConfig.testProcess(TestOOSTethysConfig.java:23)
Original comment by ber...@gmail.com
on 29 May 2009 at 5:02
This is what appears in the debugger:
lon = "�"
Original comment by ber...@gmail.com
on 29 May 2009 at 5:19
In org.oostethys.model.impl.ObservationNetcdf line 550 added a try catch block
when
parsing lat lon values. Will report to logger the error if lat lon are not
double.
Original comment by ber...@gmail.com
on 29 May 2009 at 5:37
Original issue reported on code.google.com by
TheRest...@gmail.com
on 28 May 2009 at 3:46Attachments: