C-Star is a python package for setting up and running ocean model simulations, with a particular focus on marine carbon dioxide removal (mCDR) applications.
Renames the placeholder strings concerning MARBL namelists in roms.in to be more consistent with other placeholder strings elsewhere
Adds a T/F output to utils.py's _replace_text_in_file to indicate whether the text to be replaced was found
Uses this to determine whether the namelist being modified in ROMSComponent.pre_run() contains placeholder strings related to MARBL
Raises an error if the placeholder is present but has been replaced with a filepath e.g. Case.caseroot/"additional_code/namelists/ROMS/marbl_in" that does not exist
updates the example blueprint to point to my fork of the blueprint repo which has been modified in line with these changes (so as not to immediately break anybody else's work when this goes in)
This PR:
roms.in
to be more consistent with other placeholder strings elsewhereutils.py
's_replace_text_in_file
to indicate whether the text to be replaced was foundROMSComponent.pre_run()
contains placeholder strings related to MARBLCase.caseroot/"additional_code/namelists/ROMS/marbl_in"
that does not exist