Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lite #207

Open
wants to merge 56 commits into
base: main
Choose a base branch
from
Open

Lite #207

wants to merge 56 commits into from

Conversation

cyborginhas
Copy link
Contributor

update single-host pops to include (e.g., pops_lite, config_qad_lite, quantity_allocation_disagreement_lite.R) and modify functions (helpers.R, configuration.R) to allow for broad extent, fine-resolution PoPS forecasting.

cyborginhas and others added 30 commits October 26, 2024 12:12
…re efficient to create pops_multirun_lite.R from pops.R
… use infilenames, enabling organized tracking of pops_lite raw exports to streamline subsequent analysis and data summarization.
…d, total_hosts, total_exposed, mortality tracker) into a function, and reduced intermediate objects.
…teration after excluding spatial_indices, soil_reservoirs, and exposed (if model_type = SI)
- update pops_lite_run to accept a config file that reads in configuration data, rather than producing the configuration data, and then running pops lite. 58.7% less memory needed.
…adjusts file paths to point to the data's new location on a different workstation without requiring the config file to be recreated.
…ew root directory for input and output file paths in the config_file. This updates paths to reflect a new location on a different workstation without recreating the config_file. The default is NULL, meaning the original paths in the config_file will be used if no new path is provided.
…r quantity, allocation, and disagreement lite functions to optimize memory usage.
…ation_disagreement_lite.R function; currently keys are for pops_lite.R
…ement.R; instead accepts config_qad_lite_file which contains the outputs after data prep. All other analyses in this function are unchanged from quantity_allocation_disagreement.R, excluding a few time/memory improvements.
…d configuration_qad_lite functions reduce time by 65.2% and memory allocation by 49.58%.
…When multiple_random_seed = TRUE and file_random_seeds = NULL in the config, resample seeds using number_of_iterations and generate a unique ID to track random seeds used per pops_model run. Added if/else logic to optionally include unique IDs in the pops_model output file names.
…nces of duplicate ids if a large number of runs needed
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.

1 participant