ECCC-MSC / msc-pygeoapi

MSC OGC API pygeoapi deployment
MIT License
16 stars 25 forks source link

ensure hydrometric realtime IDs and properties contain ISO8601-compliant datetime #330

Closed Dukestep closed 5 months ago

Dukestep commented 6 months ago

This PR updates the hydrometric realtime loader to ensure the UTC datetime value is properly formatted as an ISO-8601 compliant datetime representation. This impacts the document id, and properties.IDENTIFIER/properties.DATETIME fields.

Furthermore, since this change will also require updating the index template mapping, I have added a mechanism to update the mapping if any changes are identified between the existing index template and the mapping defined in the provider.

This change has previously been announced via a GeoMet-Info mailing list communication and has been planned for some time (see msc-geomet#613 for further details).