Skip to content

Commit

Permalink
include regrid dir and correct cupid example dir
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaganKing committed Jan 21, 2025
1 parent 576d629 commit aadfbd1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions helper_scripts/generate_ilamb_config_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def generate_ilamb_model_setup(cesm_root, cupid_config_loc, run_type):
"# Model Name , Location of Files , Shift From, Shift To\n", # noqa: E501
)
ms.write(
f"CTSM51 , {base_case_output_dir}/lnd/hist/",
f"CTSM51 , {base_case_output_dir}/lnd/hist/regrid/",
) # TODO: aslo update model name? Add to cupid config file?
print(f"wrote {cupid_config_loc}/model_setup.txt")
print("You can now run ILAMB with the following commands:")
Expand All @@ -71,7 +71,7 @@ def generate_ilamb_model_setup(cesm_root, cupid_config_loc, run_type):
print("conda activate cupid-analysis")
print("export ILAMB_ROOT=../ilamb_aux")
print(
f"mpiexec ilamb-run --config ../ilamb_aux/ilamb_nohoff_final_CLM_{run_type}.cfg --build_dir {cupid_config_loc}ILAMB_output/ --df_errs ../ilamb_aux/quantiles_Whittaker_cmip5v6.parquet --define_regions ../ilamb_aux/DATA/regions/LandRegions.nc ../ilamb_aux/DATA/regions/Whittaker.nc --regions global --model_setup model_setup.txt --filter .clm2.h0.", # noqa: E501
f"mpiexec ilamb-run --config ../ilamb_aux/ilamb_nohoff_final_CLM_{run_type}.cfg --build_dir {cupid_config_loc}/ILAMB_output/ --df_errs ../ilamb_aux/quantiles_Whittaker_cmip5v6.parquet --define_regions ../ilamb_aux/DATA/regions/LandRegions.nc ../ilamb_aux/DATA/regions/Whittaker.nc --regions global --model_setup model_setup.txt --filter .clm2.h0.", # noqa: E501
)
print("---------")

Expand Down

0 comments on commit aadfbd1

Please sign in to comment.