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

Store ModvegeSite in binary format #30

Open
kuadrat opened this issue Nov 9, 2023 · 0 comments
Open

Store ModvegeSite in binary format #30

kuadrat opened this issue Nov 9, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@kuadrat
Copy link
Owner

kuadrat commented Nov 9, 2023

Since the ModvegeSite objects really contain all the information that was used when running them plus certain convenience functions, it might make sense to store them as rds instead of converting to txt, which has to be subsequently read back in order to inspect the results.

Instances where simulation results are stored should offer the option for binary storage.

However, is this even possible with R6 classes? This is indeed possible.

Places to consider:

  • ModvegeSite$write_output().
  • growR_run_loop().
  • load_matching_data() and friends.
@kuadrat kuadrat added the enhancement New feature or request label Nov 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant