-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Update Docstrings following previous changes related to local addit…
…ional code file support - Rename "source" (DataSource) to "location" (str) in __init__ for AdditionalCode and InputDataset. The method uses this arg to create the "source" attribute using source=DataSource(location). This avoids requiring the user to create and supply a DataSource object which itself is just instantiated from a location string. - Rename "local_path" to "local_dir" in AdditionalCode.get to avoid confusion with AdditionalCode.local_path - Add an attribute AdditionalCode.modified_namelists to keep track of edited namelists based on templates - Add logic in AdditionalCode.get() that makes copies of any namelist files with the suffix _TEMPLATE to a file without this suffix and adds it to AdditionalCode.modified_namelists, e.g.: AdditionalCode.namelists = ["roms.in_TEMPLATE",] -> AdditionalCode.modified_namelists = ["roms.in",] - Update ROMSComponent.pre_run() and ROMSComponent.run() to reflect this namelist handling - Minor changes to __str__ in component.py (addressing inconsistencies) - Update cstar_example_notebook.ipynb to reflect all of the above changes
- Loading branch information
“Dafydd
committed
Aug 29, 2024
1 parent
7d14f7f
commit 64b1541
Showing
6 changed files
with
287 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.