nens / threedi-api-qgis-client

3Di Models & Simulations plugin
https://plugins.lizard.net/
Other
2 stars 0 forks source link

Add page "Generate saved state" #473

Closed leendertvanwolfswinkel closed 1 year ago

leendertvanwolfswinkel commented 1 year ago

Give user options for how they want to generate the saved state, exposing the possibilities available in the API

UI: image.png

The first two options should use the endpoint /v3/simulations/{simulation_pk}/create-saved-states/timed/

The last option should use the endpoint /v3/simulations/{simulation_pk}/create-saved-states/stable-threshold/

ldebek commented 1 year ago

stable-threshold saved state creation can be tested after fixing backend issue: https://github.com/nens/threedi-api/issues/1980

Overmeen commented 1 year ago

I have tested ''After a specified time'' functionality successfully.

https://api.3di.live/v3/simulations/145258/events/ - > generate timed saved state https://api.3di.live/v3/simulations/145259/events/ - > apply timed saved state

leendertvanwolfswinkel commented 1 year ago

@ldebek I made a mistake, the unit for water level should be m, not m MSL. Please correct this