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

Simplify model run_env instructions #11

Open
5 tasks
theamarks opened this issue Aug 2, 2024 · 0 comments
Open
5 tasks

Simplify model run_env instructions #11

theamarks opened this issue Aug 2, 2024 · 0 comments
Assignees
Labels
📖 documentation Improvements or additions to documentation 🪄 enhancement New functionality or feature request

Comments

@theamarks
Copy link
Member

theamarks commented Aug 2, 2024

Problem / Observation

Many places throughout model scripts to change run_env object values to "local", "aws", or "demo" which can make switching among model runs tedious and error prone. e.g. We are currently not renaming datadir to not break code. Need to manually change among datadir <- "model_inputs" vs datadir <- "model_inputs_sau"

Proposed Solution

  • Add README instruction for the 3 model runs:
    • README directly or pointing to a Wiki for "local" and "demo"
    • artis-hpc repo README link for "aws"
  • Setup automatic dataoutputs write depending on model version run
  • Create shell script to define global environmental variables to define model runs instead of changing many individual lines in the code. Also serve as metadata for model version

Alternatives Considered

  • encapsulate scripts within functions to have run_env logic
  • Can't remember further alternatives - check written notes
@theamarks theamarks self-assigned this Aug 2, 2024
@theamarks theamarks added this to the ARTIS v2.0 development milestone Nov 22, 2024
@theamarks theamarks added 📖 documentation Improvements or additions to documentation 🪄 enhancement New functionality or feature request labels Nov 22, 2024
@theamarks theamarks changed the title Clarify AWS vs local & SAU run instructions Simplify model run environment instructions Nov 22, 2024
@theamarks theamarks changed the title Simplify model run environment instructions Simplify model run_env instructions Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📖 documentation Improvements or additions to documentation 🪄 enhancement New functionality or feature request
Projects
None yet
Development

No branches or pull requests

1 participant