Skip to content

Commit

Permalink
Merge branch 'fixclm50defaults' of github.com:ekluzek/CTSM into fixcl…
Browse files Browse the repository at this point in the history
…m50defaults
  • Loading branch information
ekluzek committed May 8, 2024
2 parents 010a008 + b9e947d commit 181dff2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 2 additions & 0 deletions python/ctsm/.pylintrc
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,8 @@ good-names=i,
ds,
m,
n,
ni,
nj,
l1,
l2,
ax,
Expand Down
8 changes: 4 additions & 4 deletions python/ctsm/toolchain/gen_mksurfdata_namelist.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
from datetime import datetime
import netCDF4

from ctsm.path_utils import path_to_ctsm_root
from ctsm.path_utils import path_to_ctsm_root, path_to_cime
from ctsm.ctsm_logging import setup_logging_pre_config, add_logging_args, process_logging_args

logger = logging.getLogger(__name__)
Expand Down Expand Up @@ -326,7 +326,7 @@ def main():
)

# determine output mesh
determine_output_mesh(res, force_model_mesh_file, input_path, rawdata_files, tool_path)
determine_output_mesh(res, force_model_mesh_file, input_path, rawdata_files)

# Determine num_pft
if nocrop_flag:
Expand Down Expand Up @@ -752,11 +752,11 @@ def handle_transient_run(
return landuse_fname, must_run_download_input_data


def determine_output_mesh(res, force_model_mesh_file, input_path, rawdata_files, tool_path):
def determine_output_mesh(res, force_model_mesh_file, input_path, rawdata_files):
"""
determine output mesh
"""
xml_path = os.path.join(tool_path, "../../ccs_config/component_grids_nuopc.xml")
xml_path = os.path.join(path_to_cime(), "../ccs_config/component_grids_nuopc.xml")
tree2 = ET.parse(xml_path)
root = tree2.getroot()
model_mesh = ""
Expand Down

0 comments on commit 181dff2

Please sign in to comment.