Closed magnarem closed 3 months ago
See chapter 8.2.2 in https://docs.ogc.org/per/16-042r1.pdf
Consider using the durations js api for parsing the durations https://momentjs.com/docs/#/durations/
New time dimension handling have now been implemented to support duration syntax.
Need to add this implementation to the map in the search interface as well.
This is done. The update will be in effect when we update metsis-drupal on the live servers. Will do this when I am back from holidays.
Closing this.
In the metsis_wms visualisation tool, we have simple support for timeDimensions supporting ncView syntax. I.e all dates in the timedimensions are a list of dates seperated by comma. However WMS timeDimension can also provide a range date on the form
start_date/end_date/interval
. This kind of syntax is not supported in our visualization tool as of now. Will need to implement support for this to be able to support datasets like AromeArctic in S-ENDA.Example datasets that will need to be supported: https://fastapi.s-enda.k8s.met.no/api/get_quicklook/2023/12/30/arome_arctic_det_2_5km_20231230T12Z.nc?service=WMS&version=1.3.0&request=GetCapabilities
Here we can also see the difference between the capabilities document generated by fast-api compared to thredds (ncView) https://thredds.met.no/thredds/wms/aromearcticarchive/2023/12/30/arome_arctic_det_2_5km_20231230T12Z.nc?service=WMS&version=1.3.0&request=GetCapabilities