Skip to content

GetCapabilities date incorrect #182

Open
@lance-axiom

Description

@lance-axiom

The GetCapabilities request shows incorrect dates and locations. Below is an example ncSOSv1.2.1 that is running through THREDDS.

http://thredds.aoos.org/thredds/sos/aoos/sensors/aoos_bering_strait/data/sea_surface_wave_significant_height.nc?service=SOS&version=1.0.0&request=GetCapabilities

Below is the part that is incorrect in the XML. The observations stop in 2015 but it is show 2017 for the endPosition.

<sos:time>
   <gml:TimePeriod>
      <gml:beginPosition>1970-01-01T00:00:00Z</gml:beginPosition>
      <gml:endPosition>2017-01-18T18:42:13.608Z</gml:endPosition>
   </gml:TimePeriod>
</sos:time>

The location looks incorrect also

gml:boundedBy>
   <gml:Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326">
      <gml:lowerCorner>-90.0 -180.0</gml:lowerCorner>
      <gml:upperCorner>90.0 180.0</gml:upperCorner>
   </gml:Envelope>
</gml:boundedBy>

NetCDF global attributes

		:time_coverage_start = "2015-07-24T03:25:00" ;
		:time_coverage_end = "2015-10-21T00:25:00" ;

Below is the file used in the ncSOS
sea_surface_wave_significant_height.zip

The dates are also incorrect on the DescribeSensor request (below)
http://thredds.aoos.org/thredds/sos/aoos/sensors/aoos_bering_strait/data/sea_surface_wave_significant_height.nc?service=SOS&version=1.0.0&request=DescribeSensor&procedure=urn:ioos:station:aoos:bering_strait&outputFormat=text%2Fxml%3B%20subtype%3D%22sensorML%2F1.0.1%2Fprofiles%2Fioos_sos%2F1.0%22

<sml:capabilities name="observationTimeRange">
   <swe:DataRecord>
      <swe:field name="observationTimeRange">
          <swe:TimeRange definition="http://mmisw.org/ont/ioos/definition/observationTimeRange">
              <swe:value>
292278994-08-17T07:12:55Z 292269055-12-02T16:47:04Z
              </swe:value>
          </swe:TimeRange>
      </swe:field>
   </swe:DataRecord>
</sml:capabilities>

The location data on the DescribeSensor is correct.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions