Skip to content

Conversation

timothee-bacri
Copy link
Collaborator

This PR was automatically created to propose changes from dev into RSE_tab_updates.

timothee-bacri and others added 30 commits January 21, 2025 16:15
small improvements and make it work on linux
Old version of app to stable version of backend+frontend
… files as they are not compatible (e.g. new outcomes.json but old outcomes saved in FullTableMerged.geojson are used)
Merge dev into timothee-bacri
fix backend bug where old client data is used instead of new, and remove "future" plan overrides
enable downscaling in backend initialization, and small bug fixes
Implementation of the downscaling map
Merge dev into timothee-bacri
plumber::serializer_rds is very bad, it sends 1GB of data when the actual data is 3MB.

thankfully, plumber does not screw up passing binary data.
…ing-results-to-disk

399 save and load downscaling results to disk
Merge dev into 394-frontend-timeout-implement-regular-checks-then-retrieve-the-initializaiton-data
- save backend initialization environment to disk, and load it on /initialize when we can, and check that it contains FullTable, which speeds up /initialize dramatically.
- also, if FullTable is already in the environment, skip everything and return results.
- on user upload, delete the saved RData environment.
- .GlobalEnv cannot directly be saved to disk (a pointer is saved otherwise), i save all variables in .GlobalEnv instead
- TODO: load and unload properly downscaling_mesoclimate_list when saving/loading environments
check health periodically
/initialize after a response

in pseudo-code:
/initialize
for i in 1:20
  if /check_initialize times out
    sleep(1min)
  else
    end for loop
/initialize
…ment-regular-checks-then-retrieve-the-initializaiton-data

394 frontend timeout implement regular checks then retrieve the initializaiton data + save & load backend on disk
…-list-to-load

405 reduce backend package list to load
working fast version for full project meeting
install packages without default upgrade + bug fix
better initialization backend notification messages
…nges

Merge branch 'dev' of github.com:Uni-of-Exeter/Planting-Tools into timothee-bacri

# Conflicts:
#	ShinyForestry/ElicitorOutput/land_parcels.shp.zip
#	ShinyForestry/backend/plumber_apis.R
#	ShinyForestry/backend/trigger_plumber_for_dev.R
#	ShinyForestry/functions.R
cleaner code + correct default port + parcels_file is argument in downscaling
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants