Closed GoogleCodeExporter closed 8 years ago
An update.
I was able to create the release from sources (thanks Rick!), and reproduce the
stack-trace with line numbers so it's easier to examine the problem (I
previously
updated check.jsp to show the name of the exception class--this is checked in):
----
The following problem was detected:
java.lang.NullPointerException: null
org.oostethys.model.impl.ObservationNetcdf.processVarConfig(ObservationNetcdf.ja
va:630)
org.oostethys.model.impl.ObservationNetcdf.process(ObservationNetcdf.java:326)
org.oostethys.sos.Netcdf2sos100.processSystem(Netcdf2sos100.java:435)
org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:159)
org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:160)
org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:160)
org.oostethys.sos.Netcdf2sos100.process(Netcdf2sos100.java:330)
org.oostethys.sos.Netcdf2sos100.processForTest(Netcdf2sos100.java:292)
org.apache.jsp.check_jsp._jspService(check_jsp.java:84)
...
----
Original comment by caru...@gmail.com
on 9 Apr 2009 at 9:11
Looks like a problem in the config. It cannot map the short name HR_DEPTH_ADCP
to a urn. This causes an
error in the nc variable mapping. Does the HR_DEPTH_ADCP occur in the nc file?
Rick
Original comment by blairsrh...@gmail.com
on 17 Apr 2009 at 8:07
Hi Rick, did you created a test file ?
I created a new test org.oostethys.test.TestIssue18.java
and added to src/test oostethys-18.xml
Original comment by ber...@gmail.com
on 18 Apr 2009 at 12:36
I think the file is not netcdf compliant. There is missing a standard name
attribute
double HR_DEPTH_ADCP(HR_DEPTH_ADCP=11);
:units = "METERS";
:positive = "down";
:point_spacing = "even";
:axis = "Z";
:_CoordinateAxisType = "Height";
:_CoordinateZisPositive = "down";
The method that needs to be checked is:
public void assignURItoVarConfig(VariableQuantity variableQuantity)
ObservationNetcdf.java
Original comment by ber...@gmail.com
on 18 Apr 2009 at 12:58
Couldn't go ahead and retry with the latest codes updates as of today because
the
dataset that I originally used is not available at the moment:
http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m0/200607/hourlyM
0_20060731.nc.html
(returns an empty page).
However, I tried with a different dataset; please see issue #19
Original comment by caru...@gmail.com
on 29 Apr 2009 at 7:08
Original comment by ber...@gmail.com
on 27 May 2009 at 5:35
I verified this a while ago.
Original comment by caru...@gmail.com
on 27 May 2009 at 5:37
Original issue reported on code.google.com by
caru...@gmail.com
on 9 Apr 2009 at 7:25Attachments: