forked from CWorthy-ocean/C-Star
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Define a get() method on ROMSInputDataset that:
- calls super.get() - detects if source is yaml (returns if not) - makes a local copy of the yaml to modify - modifies the yaml with a dictionary of entries to replace - imports roms-tools and creates the object from modified yaml - saves to netCDF - Remove roms/utils.py as logic of _modify_roms_tools_yaml is now in ROMSInputDataset.get() - Change default path of InputDataset.get() to be exactly the local_dir argument, not a subdir & - Change the call from Case.setup() to provide the correct subdir as local_dir argument to get()
- Loading branch information
“Dafydd
committed
Sep 11, 2024
1 parent
9dfc68c
commit c689c2f
Showing
4 changed files
with
73 additions
and
61 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 was deleted.
Oops, something went wrong.