aodn / geoserver-build

Configures a GeoServer war containing extensions and configuration required by AODN instances
Other
2 stars 4 forks source link

time_coverage_end not updated correctly for Acorn Bonney Coast aggregations #217

Closed jonescc closed 7 years ago

jonescc commented 7 years ago

This issue relates to the new version of GoGoDuck being tested in portal-sandbox.aodn.org.au:

To Reproduce

Request a netcdf download for ACORN Bonney Coast real time.

What happens

time_coverage_end = "${TIME_END}" is added to the aggregated dataset

What I expect to happen

A time_coverage_end attribute is added set to the end date time range requested in ISO8601 format. e.g.

time_coverage_end = "2017-03-15T00:00:00Z"

lbesnard commented 7 years ago

This is bizarre. The result is correct for SRS

jonescc commented 7 years ago

I think the difference is that it is updating an existing attribute for SRS - for the ACORN dataset I looked it was trying to add it. Looking at that dataset now I see that time_coverage_duration is used instead. @ggalibert should we be attempting to update the duration in this case instead of adding a time_coverage_end attribute?

ggalibert commented 7 years ago

No, let's get rid of time_coverage_duration if any and add/update a time_coverage_end attribute.

ggalibert commented 7 years ago

This bug is now seen in systest as well.

pblain commented 7 years ago

Duplicate