Skip to content

Commit

Permalink
updates to get buildnml working with cesm2_0_1_release version of CIME
Browse files Browse the repository at this point in the history
  • Loading branch information
mvertens committed Aug 23, 2023
1 parent 9788c59 commit 294ce72
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions cime_config/buildnml
Original file line number Diff line number Diff line change
Expand Up @@ -18,17 +18,19 @@ _LIBDIR = os.path.join(_CIMEROOT, "CIME", "Tools")
sys.path.append(_LIBDIR)
# pylint: disable=wildcard-import, wrong-import-position
# pylint: disable=unused-wildcard-import
from CIME.buildnml import create_namelist_infile, parse_input
from CIME.case import Case
from CIME.utils import expect
from case_dict import CaseDict
from CIME.buildnml import create_namelist_infile, parse_input
from CIME.case import Case
from CIME.utils import expect

# Save local (cime_config) directory path:
_CIME_CONFIG_PATH = os.path.dirname(os.path.abspath(__file__))

# Add local (cime_config) directory to python path:
sys.path.append(_CIME_CONFIG_PATH)

# Add ability to handle using a case as a dictionary rather a CIME case object
from case_dict import CaseDict

#Import BLOM's ParamGen class:
from ocn_in_paramgen import OcnInParamGen

Expand Down

0 comments on commit 294ce72

Please sign in to comment.