Fix: WCS DescribeCoverage does not show dimensions for a multidim layer #395
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This MR covers a fix to show the values of multiple dimensions in DescribeCoverage, but also fixes an adjacent problem that was found (inconsistent time interval calculations).
The code to calculate intervals has been made modular, and it can work with leap years and data missing some timesteps.
Note: Tests fail in one of the Docker tasks due to EPSG:28992 envelopes. This does not happen in the other Docker task. The differences are minimal (likely caused by different versions of proj4?). So the contents of EPSG:28992 envelopes have been ignored when comparing the XML files.