aodn / aodn-portal

AODN Open Geospatial Portal
https://portal.aodn.org.au/
GNU General Public License v3.0
21 stars 13 forks source link

ncWMS server is supplying time interval dates #164

Closed pmbohm closed 11 years ago

pmbohm commented 11 years ago

What is happening: The animation of layers with time dimension is failing

We are seeing datetime strings coming from ncWMS server ncwms.aodn.org.au in the form: 2010-06-22T02:00:00.000Z/2010-06-22T22:00:00.000Z/PT1H, 2010-06-24T09:00:00.000Z,2010-06-24T......

Previously only datetime strings were seen like: 2010-06-22T02:00:00.000Z,2010-06-24T10:00:00.000Z,2010-06-24T14:00:00.....

What needs to happen: The portal needs to handle date dimensions in the form [beginning time]/[end time]/[time interval] which should be according to the ISO_8601 standard?

http://en.wikipedia.org/w/index.php?title=ISO_8601&action=edit&section=14

tojofo commented 11 years ago

Review comments here

danfruehauf commented 11 years ago

Phil, any suggestions as to how I could test it?

Is there an animated layer with an interval date/time format? Or perhaps I should just synthesize something to test the functionality?

danfruehauf commented 11 years ago

Testing with firebug I've found that the following happens:

The rest looks pretty solid, although I'd like another person to test these functions.