The time step of the temporal extent within the WMS capabilities document is rendered incorrectly when the time steps are not an integer number of hours.
launch SkinnyWMS with the data in it's SKINNYWMS_DATA_PATH, e.g. docker run --rm -p 5000:5000 --mount type=bind,source=$(pwd),target=/grib_data -e SKINNYWMS_DATA_PATH=/grib_data docker.io/ecmwf/skinnywms:latest
The time step of the temporal extent within the WMS capabilities document is rendered incorrectly when the time steps are not an integer number of hours.
Expected behaviour (step of PT15M):
Actual behaviour (step of PT0H):
Steps to reproduce:
regular_lat_lon
grid format (which has a temporal resolution of 0.25 hours)docker run --rm -p 5000:5000 --mount type=bind,source=$(pwd),target=/grib_data -e SKINNYWMS_DATA_PATH=/grib_data docker.io/ecmwf/skinnywms:latest
The
PT0H
is most likely an artefact due to rendering 0.25 hours with"PT%d%s" % (step, unit)
in datatypes.py.