-
Notifications
You must be signed in to change notification settings - Fork 5
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
Isolate config and argument parsing #1086
Open
juliasloan25
wants to merge
9
commits into
main
Choose a base branch
from
js/parsedargs
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
+512
−321
Commits on Nov 25, 2024
-
add functions for config/arg parsing
This commit isolates the argument and configuration file parsing to functions. Since we have one configuration file each for the coupled simulation and for the atmosphere, we end up with the following functions, as well as smaller helper functions. These are located in the new `experiments/ClimaEarth/arg_parsing.jl file`. - `get_coupler_config`, `get_coupler_args`, `get_atmos_args` These functions are called from the driver `run_amip.jl`, where the returned arguments are unpacked. After that point, the config files are not accessed further down in the driver, so we have isolated the config file access to the initial step.
Configuration menu - View commit details
-
Copy full SHA for 290f927 - Browse repository at this point
Copy the full SHA 290f927View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9710d83 - Browse repository at this point
Copy the full SHA 9710d83View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25c0220 - Browse repository at this point
Copy the full SHA 25c0220View commit details -
Configuration menu - View commit details
-
Copy full SHA for f664acc - Browse repository at this point
Copy the full SHA f664accView commit details -
Configuration menu - View commit details
-
Copy full SHA for f8ce4b9 - Browse repository at this point
Copy the full SHA f8ce4b9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 415cd77 - Browse repository at this point
Copy the full SHA 415cd77View commit details -
Configuration menu - View commit details
-
Copy full SHA for a6c5f71 - Browse repository at this point
Copy the full SHA a6c5f71View commit details -
Configuration menu - View commit details
-
Copy full SHA for 570dbbf - Browse repository at this point
Copy the full SHA 570dbbfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 90d1c2a - Browse repository at this point
Copy the full SHA 90d1c2aView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.