Giter VIP home page Giter VIP logo

oostethys's People

Contributors

ebridger avatar manilmaskey avatar mmaskey avatar

Watchers

 avatar

oostethys's Issues

failed test - testDescribeSensorPostErrorBaaProcedureName(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test
-------------------------------------------------------------------------------
Tests run: 6, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
<<< FAILURE!
testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test) 
Time elapsed: 0.029 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<om:ObservationCollection> was not:<<?xml version="1.0"
encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservation(Netc
df2sos_mbari_ctd_xmlPost_Test.java:87)

testDescribeSensorPost(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<gml:beginPosition>2008-06-09T09:36:19Z</gml:beginPosition>> was
not:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPost(
Netcdf2sos_mbari_ctd_xmlPost_Test.java:35)

testDescribeSensorPostErrorBaaProcedureName(org.oostethys.sos.test.Netcdf2sos_mb
ari_ctd_xmlPost_Test)
 Time elapsed: 0.018 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPostE
rrorBaaProcedureName(Netcdf2sos_mbari_ctd_xmlPost_Test.java:53)

testgetObservationWrongParameters(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xm
lPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservationWrong
Parameters(Netcdf2sos_mbari_ctd_xmlPost_Test.java:141)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:32

java.lang.ArithmeticException: / by zero

check.jsp failed with this error:

java.lang.ArithmeticException: / by zero
org.oostethys.model.impl.ObservationNetcdf.getIndex(ObservationNetcdf.java:831)
org.oostethys.model.impl.ObservationNetcdf.getValue(ObservationNetcdf.java:817)
org.oostethys.model.impl.ObservationNetcdf.process(ObservationNetcdf.java:456)
org.oostethys.sos.Netcdf2sos100.processSystem(Netcdf2sos100.java:441)
org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:162)
org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:163)
org.oostethys.sos.Netcdf2sos100.doComponents(Netcdf2sos100.java:163)
org.oostethys.sos.Netcdf2sos100.process(Netcdf2sos100.java:333)
org.oostethys.sos.Netcdf2sos100.processForTest(Netcdf2sos100.java:295)
...



The steps to get to this error were:

1. Built WAR file from sources as of today @ around 10am PDT and using the
attached oostethys.xml config file. The relevant part is:

<nc:oostethys-netcdf
>

<nc:fileURL>http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m0/cu
rrent_netCDFs/hourlyM0.nc</nc:fileURL>
<nc:variables>
    <nc:variable shortName="HR_TIME_ADCP"
uri="urn:ogc:phenomenon:time:iso8601" dimension="time"/>
    <nc:variable shortName="latitude"
uri="urn:ogc:phenomenon:longitude:wgs84" dimension="latitude"/>
    <nc:variable shortName="latitude"
uri="urn:ogc:phenomenon:latitude:wgs84" dimension="latitude"/>
    <nc:variable shortName="HR_DEPTH_ADCP"
uri="http://mmisw.org/ont/cf/parameter/depth" dimension="depth"/>
</nc:variables>
</nc:oostethys-netcdf>


So, this is using
http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m0/current_netCDF
s/hourlyM0.nc.html

Is there anything wrong with my config file? 
In any case, the error reporting should be improved so users can better
understand the potential configuration problem.


Original issue reported on code.google.com by [email protected] on 29 Apr 2009 at 7:08

Attachments:

add support for opendap queries in the confing file

Sometimes users want to specify a query opendap string in the config file
instead of the whole file. For example: 
http://www.smast.umassd.edu:8080/thredds/dodsC/FVCOM/NECOFS/Forecasts/NECOFS_FVC
OM_OCEAN_MASSBAY_FORECAST.nc.dods?lon[28482],lat[28482],time[1:72],zeta[1:72][28
482]

NetCDF 4 API cannot read this in a straightforward way. For example:
NetcdfDataset.openDataset(opendap query).




Original issue reported on code.google.com by [email protected] on 7 Oct 2009 at 10:00

failed test - testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 2, Skipped: 0, Time elapsed: 0.175 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test)  Time
elapsed: 0.041 sec  <<< ERROR!
java.lang.Exception: XML Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
    at org.oostethys.sos.Netcdf2sos100.process(Netcdf2sos100.java:350)
    at org.oostethys.sos.Netcdf2sos100.processForTest(Netcdf2sos100.java:323)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test.testGetCapabilities(Netcdf2sos_
mbari_ctd_Test.java:90)

testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test)  Time
elapsed: 0.102 sec  <<< ERROR!
org.apache.xmlbeans.XmlException: Element
ExceptionReport@http://www.opengis.net/ows/1.1 is not a valid
SensorML@http://www.opengis.net/sensorML/1.0.1 document or a valid
substitution.
    at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:328)
    at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:715)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
    at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.
java:208)
    at net.opengis.sensorML.x101.SensorMLDocument$Factory.parse(Unknown Source)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test.testDescribeSensor(Netcdf2sos_m
bari_ctd_Test.java:112)

testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test)  Time
elapsed: 0.019 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_Test.testgetObservation(Netcdf2sos_m
bari_ctd_Test.java:142)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:29

failed test - testgetObservationWrongParameters(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test
-------------------------------------------------------------------------------
Tests run: 6, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
<<< FAILURE!
testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test) 
Time elapsed: 0.029 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<om:ObservationCollection> was not:<<?xml version="1.0"
encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservation(Netc
df2sos_mbari_ctd_xmlPost_Test.java:87)

testDescribeSensorPost(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<gml:beginPosition>2008-06-09T09:36:19Z</gml:beginPosition>> was
not:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPost(
Netcdf2sos_mbari_ctd_xmlPost_Test.java:35)

testDescribeSensorPostErrorBaaProcedureName(org.oostethys.sos.test.Netcdf2sos_mb
ari_ctd_xmlPost_Test)
 Time elapsed: 0.018 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPostE
rrorBaaProcedureName(Netcdf2sos_mbari_ctd_xmlPost_Test.java:53)

testgetObservationWrongParameters(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xm
lPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservationWrong
Parameters(Netcdf2sos_mbari_ctd_xmlPost_Test.java:141)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:33

faield test - testGetObservation_noTime(org.oostethys.sos.test.SOS_100_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.SOS_100_Test
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.054 sec
<<< FAILURE!
testGetObservation_noTime(org.oostethys.sos.test.SOS_100_Test)  Time
elapsed: 0.049 sec  <<< FAILURE!
junit.framework.AssertionFailedError
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.assertTrue(Assert.java:20)
    at junit.framework.Assert.assertTrue(Assert.java:27)
    at
org.oostethys.sos.test.SOS_100_Test.testGetObservation_noTime(SOS_100_Test.java:
49)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:27

Double String transformation and Locales

Submitted by:
Francisco Josรฉ Peรฑarrubia to the OOSTethys general list

I have a little problem with Java Toolkit:


java.lang.NumberFormatException: For input string: "36,69623"
at sun.misc.FloatingDecimal.readJavaFormatString(Unknown Source)
at java.lang.Double.parseDouble(Unknown Source)
at
org.oostethys.model.impl.ObservationNetcdf.process(ObservationNetcdf.java:5
03)
at
org.oostethys.model.impl.test.ObservationNetcdfTest.testCTDMBARI(Observatio
nNetcdfTest.java:43)

The problem is about English - Spanish Locale, and the method where it
happens is

private String getValueFormatted(Number val) {
DecimalFormat myFormatter = new DecimalFormat();
myFormatter.setMaximumFractionDigits(6);

String output = myFormatter.format(val);
return output;
}

(A double is transformed in String and Java uses (in my machine) Spanish
Locale, an instead of 36.69623 I get 36,69623, then, a problem comes with
the SOS service)

I think this can solve the problem:

// DecimalFormat myFormatter = new DecimalFormat();
NumberFormat myFormatter = NumberFormat.getInstance(Locale.ENGLISH);

More information about formattin:
http://www.iro.umontreal.ca/~vaucher/Java/tutorials/Formatting.html

Original issue reported on code.google.com by [email protected] on 20 Nov 2008 at 12:41

Exception thrown when doing "Check Configuration Page" on METAR Netcdf file

See exception here:

http://sos-ws.tamu.edu/oostethys/check.jsp

Test Data file available here:
http://vast.uah.edu/downloads/20090510_1200_200905101202-GMT.hdf

Config file attached.  I reduced it to only loading variable timeObs, but I
get an exception at same point in code if I try to load lat,lon, time, and
some other vars.  File looks okay using NCSA HDFView tool.  No exception
appears in Tomcat log file.

Original issue reported on code.google.com by [email protected] on 28 May 2009 at 3:46

Attachments:

Java SOS inverting Lat Lon values


<gml:lowerCorner>1.438 41.124</gml:lowerCorner>
which shows up in Africa.
As opposed to the Barcelona entry in the ESONET Demo which shows:
<gml:lowerCorner>41.124 1.438</gml:lowerCorner>

Original issue reported on code.google.com by [email protected] on 13 Mar 2009 at 8:25

failed test - testPostGetObs(org.oostethys.sos.test.TestPost)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.TestPost
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.07 sec
<<< FAILURE!
testPostGetObs(org.oostethys.sos.test.TestPost)  Time elapsed: 0.062 sec 
<<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<ObservationCollection> was not:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/cla
sses/config/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/classes/c
onfig/oostethys.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at org.oostethys.sos.test.TestPost.testPostGetObs(TestPost.java:50)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:29

Add error message when missing a dimension

The dimensions that should always be present are lat,lon, z and time. If
this is not defined properly in the configuration file, then an error
should be thrown with the correct message.

See related issue: http://code.google.com/p/oostethys/issues/detail?id=19

Original issue reported on code.google.com by [email protected] on 29 Apr 2009 at 8:07

opendap query file not found

The example query form the config file does no work

org.oostethys.sos.ParserException: NOT_ABLE_TO_OPEN_FILE
http://www.smast.umassd.edu:8080/thredds/dodsC/FVCOM/NECOFS/Forecasts/NECOFS_FVC
OM_OCEAN_MASSBAY_FORECAST.nc.ascii?lon[28482],lat[28482],time[1:72],zeta[1:72][2
8482]

But if pasting it on the URL it will work

Original issue reported on code.google.com by [email protected] on 20 Oct 2009 at 3:38

faield test - testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_2Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_unc_2Test
-------------------------------------------------------------------------------
Tests run: 2, Failures: 1, Errors: 1, Skipped: 0, Time elapsed: 0.264 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_2Test)  Time
elapsed: 0.129 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
    at
org.oostethys.sos.test.Netcdf2sos_unc_2Test.testGetCapabilities(Netcdf2sos_unc_2
Test.java:51)

testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_unc_2Test)  Time
elapsed: 0.126 sec  <<< ERROR!
org.apache.xmlbeans.XmlException: Element
ExceptionReport@http://www.opengis.net/ows/1.1 is not a valid
SensorML@http://www.opengis.net/sensorML/1.0.1 document or a valid
substitution.
    at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:328)
    at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:715)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
    at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.
java:208)
    at net.opengis.sensorML.x101.SensorMLDocument$Factory.parse(Unknown Source)
    at
org.oostethys.sos.test.Netcdf2sos_unc_2Test.testDescribeSensor(Netcdf2sos_unc_2T
est.java:68)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:27

failed test - testGetObsInternal(org.oostethys.sos.test.TestOM_NG)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.TestOM_NG
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.095 sec
<<< FAILURE!
testGetObsInternal(org.oostethys.sos.test.TestOM_NG)  Time elapsed: 0.09
sec  <<< FAILURE!
junit.framework.AssertionFailedError
    at junit.framework.Assert.fail(Assert.java:47)
    at junit.framework.Assert.assertTrue(Assert.java:20)
    at junit.framework.Assert.assertTrue(Assert.java:27)
    at org.oostethys.sos.test.TestOM_NG.testGetObsInternal(TestOM_NG.java:34)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:29

calculate the extend using the metadata

Need to calculate min max time lat lon from metadata. Currently is doing it by 
parsing all the nc 
file. Need to define the extend values in observation offering and sensorML, 
which could be 
different from the query extend

Original issue reported on code.google.com by [email protected] on 22 Nov 2008 at 8:12

failed test - testContentType_1(org.oostethys.servlet.SOS_ServletTest)

-------------------------------------------------------------------------------
Test set: org.oostethys.servlet.SOS_ServletTest
-------------------------------------------------------------------------------
Tests run: 11, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.162 sec
<<< FAILURE!
testContentType_1(org.oostethys.servlet.SOS_ServletTest)  Time elapsed:
0.044 sec  <<< ERROR!
org.apache.xmlbeans.XmlException: Element
ExceptionReport@http://www.opengis.net/ows/1.1 is not a valid
Capabilities@http://www.opengis.net/sos/1.0 document or a valid substitution.
    at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:328)
    at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:715)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
    at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.
java:208)
    at net.opengis.sos.x10.CapabilitiesDocument$Factory.parse(Unknown Source)
    at
org.oostethys.servlet.SOS_ServletTest.testContentType_1(SOS_ServletTest.java:55)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:33

Units of Measure

OOSTethys has been using CF canonical units of measure.
http://cf-pcmdi.llnl.gov/documents/cf-standard-names/standard-name-table/11/stan
dard-name-table
IOOS DIF is using (I think udunits Unidata).  I think that SWE demands the
use of Unified Code for Units of Measure http://unitsofmeasure.org/  (UCUM)
 We should decide on converge on one of these standards in the Toolkits

Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 6:04

Wrong variable names in oostethys-18.xml?

The netCDF file OS_M0_20060731_TS.nc does not contain variables named
"HR_TIME_ADCP" and "HR_DEPTH_ADCP". That's why the test case TestIssue18
fails. Do we need other variable names or another data file?

Original issue reported on code.google.com by [email protected] on 11 Jun 2009 at 12:35

failed test testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_unc_Test
-------------------------------------------------------------------------------
Tests run: 3, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 1.09 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_unc_Test)  Time
elapsed: 0.703 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
    at
org.oostethys.sos.test.Netcdf2sos_unc_Test.testGetCapabilities(Netcdf2sos_unc_Te
st.java:53)

testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_unc_Test)  Time
elapsed: 0.161 sec  <<< ERROR!
org.apache.xmlbeans.XmlException: Element
ExceptionReport@http://www.opengis.net/ows/1.1 is not a valid
SensorML@http://www.opengis.net/sensorML/1.0.1 document or a valid
substitution.
    at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:328)
    at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:715)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
    at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.
java:208)
    at net.opengis.sensorML.x101.SensorMLDocument$Factory.parse(Unknown Source)
    at
org.oostethys.sos.test.Netcdf2sos_unc_Test.testDescribeSensor(Netcdf2sos_unc_Tes
t.java:71)

testgetObservation(org.oostethys.sos.test.Netcdf2sos_unc_Test)  Time
elapsed: 0.14 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-unc.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
    at
org.oostethys.sos.test.Netcdf2sos_unc_Test.testgetObservation(Netcdf2sos_unc_Tes
t.java:98)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:25

null org.oostethys.model.impl.ObservationNetcdf.processVarConfig(Unknown Source)

check.jsp failed with the error shown below.

The steps to get to this error were:

1. Dowloaded and deployed
http://oostethys.googlecode.com/files/oostethys.war (http://mmisw.org/oost/)

2. Edited oostethys.xml (as indicated in
http://mmisw.org/oost/instructions.html). The updated file is attached, but
here is the relevant part:

  <oostethys-netcdf
  xmlns="http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf">

  <!--   URL of the NETCDF file or OPENDAP link. It could also be a
relative path to
  the WEB_INF/classes folder in the web application -->


<fileURL>http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m0/20060
7/hourlyM0_20060731.nc</fileURL>

      <!--   ShortName of each variable. At least
             lat, lon and time coordinates should be given 
            -->

  <variables>
      <variable shortName="LONGITUDE"/>
      <variable shortName="LATITUDE"/>
      <variable shortName="HR_TIME_ADCP"/>
      <variable shortName="HR_DEPTH_ADCP"/>
  </variables>
  </oostethys-netcdf>

I picked the shortNames by looking at
http://dods.mbari.org/cgi-bin/nph-nc/data/ssdsdata/deployments/m0/200607/hourlyM
0_20060731.nc.html.
In particular, I chose HR_TIME_ADCP for the required time coordinate
(perhaps this was not an appropriate selection?).

3. Ran the check:  http://mmisw.org/oost/check.jsp
which returned:
----
Results of your OOSTethys configuration

The following problem was detected:

null
org.oostethys.model.impl.ObservationNetcdf.processVarConfig(Unknown Source)
org.oostethys.model.impl.ObservationNetcdf.process(Unknown Source)
org.oostethys.sos.Netcdf2sos100.processSystem(Unknown Source)
org.oostethys.sos.Netcdf2sos100.doComponents(Unknown Source)
org.oostethys.sos.Netcdf2sos100.doComponents(Unknown Source)
org.oostethys.sos.Netcdf2sos100.doComponents(Unknown Source)
org.oostethys.sos.Netcdf2sos100.process(Unknown Source)
org.oostethys.sos.Netcdf2sos100.processForTest(Unknown Source)
org.apache.jsp.check_jsp._jspService(check_jsp.java:84)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:337)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilt
erChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.
java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:2
33)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:1
75)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109
)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:190)
org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:283)
org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:767)
org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:697)
org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:889
)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:69
0)
java.lang.Thread.run(Thread.java:613)


To send this error to OOSTethys click here. 
----

I'm also attaching oost.error.log with output generated (in catalina.out)
during the check operation.


Original issue reported on code.google.com by [email protected] on 9 Apr 2009 at 7:25

Attachments:

variables for time , lat , lon and depth are repeated

In the capabilities document the  observed properties representing time,
lat, lon and depth are repeated: For example:

 <sos:observedProperty xlink:href="urn:ogc:phenomenon:latitude:wgs84"/>
                <sos:observedProperty
xlink:href="urn:ogc:phenomenon:longitude:wgs84"/>
                <sos:observedProperty
xlink:href="http://mmisw.org/ont/cf/parameter/depth"/>
                <sos:observedProperty
xlink:href="urn:ogc:phenomenon:time:iso8601"/>
                <sos:observedProperty
xlink:href="urn:ogc:phenomenon:longitude:wgs84"/>
                <sos:observedProperty
xlink:href="urn:ogc:phenomenon:latitude:wgs84"/>
                <sos:observedProperty
xlink:href="http://mmisw.org/ont/cf/parameter/depth"/>
                <sos:observedProperty
xlink:href="http://mmisw.org/ont/cf/parameter/sea_water_temperature"/>
                <sos:observedProperty
xlink:href="http://mmisw.org/ont/cf/parameter/sea_water_electrical_conductivity"
/>

                <sos:observedProperty
xlink:href="http://mmisw.org/ont/cf/parameter/sea_water_salinity"/>

And the variables register in the oostethys.xml

 <variables>
                                            <variable shortName="esecs"/>
                                            <variable shortName="Longitude"/>
                                            <variable shortName="Latitude"/>
                                            <variable
shortName="NominalDepth"/>
                                            <variable shortName="Temperature"/>
                                            <variable
shortName="Conductivity"/>
                                            <variable shortName="Salinity"/>
                                        </variables>

Enclosed all the files

Original issue reported on code.google.com by [email protected] on 17 Sep 2009 at 1:58

Attachments:

failed test - testNumberFormatLocale_aparent_wrong_fix(org.oostethys.test.Issue1_LocaleNumberFormatTest)

-------------------------------------------------------------------------------
Test set: org.oostethys.test.Issue1_LocaleNumberFormatTest
-------------------------------------------------------------------------------
Tests run: 3, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.014 sec
<<< FAILURE!
testNumberFormatLocale_aparent_wrong_fix(org.oostethys.test.Issue1_LocaleNumberF
ormatTest)
 Time elapsed: 0.003 sec  <<< FAILURE!
junit.framework.ComparisonFailure: expected:<3[6,]23> but was:<3[,6]23>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at junit.framework.Assert.assertEquals(Assert.java:87)
    at
org.oostethys.test.Issue1_LocaleNumberFormatTest.testNumberFormatLocale_aparent_
wrong_fix(Issue1_LocaleNumberFormatTest.java:45)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:28

failed test - testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test
-------------------------------------------------------------------------------
Tests run: 6, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
<<< FAILURE!
testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test) 
Time elapsed: 0.029 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<om:ObservationCollection> was not:<<?xml version="1.0"
encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservation(Netc
df2sos_mbari_ctd_xmlPost_Test.java:87)

testDescribeSensorPost(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<gml:beginPosition>2008-06-09T09:36:19Z</gml:beginPosition>> was
not:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPost(
Netcdf2sos_mbari_ctd_xmlPost_Test.java:35)

testDescribeSensorPostErrorBaaProcedureName(org.oostethys.sos.test.Netcdf2sos_mb
ari_ctd_xmlPost_Test)
 Time elapsed: 0.018 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPostE
rrorBaaProcedureName(Netcdf2sos_mbari_ctd_xmlPost_Test.java:53)

testgetObservationWrongParameters(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xm
lPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservationWrong
Parameters(Netcdf2sos_mbari_ctd_xmlPost_Test.java:141)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:31

failed test - testFVCOM(org.oostethys.sos.test.Netcdf2sos_example_model_outputTest)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_example_model_outputTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.034 sec
<<< FAILURE!
testFVCOM(org.oostethys.sos.test.Netcdf2sos_example_model_outputTest)  Time
elapsed: 0.017 sec  <<< ERROR!
java.lang.Exception: XML Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_emptyString.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
    at org.oostethys.sos.Netcdf2sos100.process(Netcdf2sos100.java:350)
    at org.oostethys.sos.Netcdf2sos100.processForTest(Netcdf2sos100.java:323)
    at
org.oostethys.sos.test.Netcdf2sos_example_model_outputTest.testFVCOM(Netcdf2sos_
example_model_outputTest.java:18)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:34

failed test testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_roym_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_roym_Test
-------------------------------------------------------------------------------
Tests run: 3, Failures: 2, Errors: 1, Skipped: 0, Time elapsed: 0.134 sec
<<< FAILURE!
testGetCapabilities(org.oostethys.sos.test.Netcdf2sos_roym_Test)  Time
elapsed: 0.047 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
    at
org.oostethys.sos.test.Netcdf2sos_roym_Test.testGetCapabilities(Netcdf2sos_roym_
Test.java:78)

testDescribeSensor(org.oostethys.sos.test.Netcdf2sos_roym_Test)  Time
elapsed: 0.028 sec  <<< ERROR!
org.apache.xmlbeans.XmlException: Element
ExceptionReport@http://www.opengis.net/ows/1.1 is not a valid
SensorML@http://www.opengis.net/sensorML/1.0.1 document or a valid
substitution.
    at org.apache.xmlbeans.impl.store.Locale.autoTypeDocument(Locale.java:328)
    at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:715)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:696)
    at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:683)
    at
org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.
java:208)
    at net.opengis.sensorML.x101.SensorMLDocument$Factory.parse(Unknown Source)
    at
org.oostethys.sos.test.Netcdf2sos_roym_Test.testDescribeSensor(Netcdf2sos_roym_T
est.java:97)

testgetObservation(org.oostethys.sos.test.Netcdf2sos_roym_Test)  Time
elapsed: 0.043 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text not to
contain:<ExceptionReport> was:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys-roym.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at
org.oostethys.test.OOSTethysTest.assertDoesNotContain(OOSTethysTest.java:41)
    at
org.oostethys.sos.test.Netcdf2sos_roym_Test.testgetObservation(Netcdf2sos_roym_T
est.java:124)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:26

registration of SOS service fails

When trying to register:
http://weather.lumcon.edu/sos/server.asp?service=SOS&request=getCapabilities

I get:
Unknown response: 'Use of uninitialized value in concatenation (.) or string at 
./SetCapabilities.pl 
line 112.'

Original issue reported on code.google.com by [email protected] on 5 Dec 2008 at 7:56

failed test- testDescribeSensorPost(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test
-------------------------------------------------------------------------------
Tests run: 6, Failures: 4, Errors: 0, Skipped: 0, Time elapsed: 0.139 sec
<<< FAILURE!
testgetObservation(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test) 
Time elapsed: 0.029 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<om:ObservationCollection> was not:<<?xml version="1.0"
encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservation(Netc
df2sos_mbari_ctd_xmlPost_Test.java:87)

testDescribeSensorPost(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<gml:beginPosition>2008-06-09T09:36:19Z</gml:beginPosition>> was
not:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/mbari-oost.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPost(
Netcdf2sos_mbari_ctd_xmlPost_Test.java:35)

testDescribeSensorPostErrorBaaProcedureName(org.oostethys.sos.test.Netcdf2sos_mb
ari_ctd_xmlPost_Test)
 Time elapsed: 0.018 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testDescribeSensorPostE
rrorBaaProcedureName(Netcdf2sos_mbari_ctd_xmlPost_Test.java:53)

testgetObservationWrongParameters(org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xm
lPost_Test)
 Time elapsed: 0.022 sec  <<< FAILURE!
junit.framework.ComparisonFailure: correct exception code
expected:<[InvalidParameterValu]e> but was:<[NoApplicableCod]e>
    at junit.framework.Assert.assertEquals(Assert.java:81)
    at
org.oostethys.sos.test.Netcdf2sos_mbari_ctd_xmlPost_Test.testgetObservationWrong
Parameters(Netcdf2sos_mbari_ctd_xmlPost_Test.java:141)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:32

add place to add RA identifier

From Eric's Email: 
In testing Brenda's implementation of the XSLT Toolkit I noticed an
important omission from your configuration file and your GetCapabilties XSLT.

This is the Regional Association name.
The Perl Cookbooks put this in the DescribeSensor response in the
indentification/IdentifierList/ section:
E.g.
<identifier name="Regional Association Short Name">
   <Term
definition="urn:marinemetatdata.org:qualifier#regionalAssociationShortName">
        <value>GCOOS</value>
  </Term>
</identifier>

Original issue reported on code.google.com by [email protected] on 3 Dec 2008 at 9:39

failed test testGetObservation_noTime(org.oostethys.sos.test.SOS_100_MultisystemTest)

-------------------------------------------------------------------------------
Test set: org.oostethys.sos.test.SOS_100_MultisystemTest
-------------------------------------------------------------------------------
Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 0.261 sec
<<< FAILURE!
testGetObservation_noTime(org.oostethys.sos.test.SOS_100_MultisystemTest) 
Time elapsed: 0.247 sec  <<< FAILURE!
junit.framework.AssertionFailedError: expected text to
contain:<<swe:values>> was not:<<?xml version="1.0" encoding="UTF-8"?>
<ExceptionReport xmlns="http://www.opengis.net/ows/1.1"
version="1.0.0"><Exception
exceptionCode="NoApplicableCode"><ExceptionText>java.lang.Exception: XML
Instance is not
valid:/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/tes
t-classes/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: uri in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
/Users/bermudez/Documents/workspace_maven/oostethys-java-server/target/test-clas
ses/oostethys_multisystem.xml:0:
error: cvc-complex-type.4: Expected attribute: dimension in element
variable@http://www.oostethys.org/schemas/0.1.0/oostethys-netcdf.
</ExceptionText></Exception></ExceptionReport>
>
    at junit.framework.Assert.fail(Assert.java:47)
    at org.oostethys.test.OOSTethysTest.assertContains(OOSTethysTest.java:34)
    at
org.oostethys.sos.test.SOS_100_MultisystemTest.testGetObservation_noTime(SOS_100
_MultisystemTest.java:64)


Original issue reported on code.google.com by [email protected] on 22 Sep 2009 at 3:26

Take OOSTethys XML config file outside of the war file

For example:

Windows XP  C:\Documents and Settings\username
Linux/Unix  /home/username, /users/username
Mac OSX /private/var/username

And have property defined inside the servlet direcotry  that could change
the property of the location of the confing file like ncWMS)

<property name="workingDirectory" value="/path/to/new/location"/>

Original issue reported on code.google.com by [email protected] on 27 May 2009 at 5:55

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.