cambridge-cares / TheWorldAvatar

A knowledge-graph-based digital twin of the world.
https://theworldavatar.io/
MIT License
84 stars 25 forks source link

Dev scheduler fix #1221

Closed kok-foong closed 4 months ago

kok-foong commented 4 months ago

Key changes: 1) Workaround for an issue encountered in digital ocean where the thread that sends the HTTP request to execute AERMOD disappears when the simulation takes long. "Solved" by destroying the thread after waiting for a predefined time. 2) Added an API to execute a simulation over a predefined time 3) Potentially reduced ram usage in PythonService by closing figures 4) Added null values for timesteps that do not have raster data, should not be an issue anymore with the fix with the updated stack-clients