From f2d689ee6551f64d5b0dce283191fdc5ac171f3d Mon Sep 17 00:00:00 2001 From: Jong Kim Date: Mon, 11 Nov 2024 22:37:50 +0000 Subject: [PATCH] update create_xml.py for INPUTDATA_LM4 --- tests-dev/create_xml.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests-dev/create_xml.py b/tests-dev/create_xml.py index d1f0ee974c..6e2763e922 100644 --- a/tests-dev/create_xml.py +++ b/tests-dev/create_xml.py @@ -32,6 +32,7 @@ def rocoto_create_entries(RTPWD,MACHINE_ID,INPUTDATA_ROOT,INPUTDATA_ROOT_WW3,INP + ]> @@ -195,6 +196,7 @@ def write_runtest_env(): export INPUTDATA_ROOT={INPUTDATA_ROOT} export INPUTDATA_ROOT_WW3={INPUTDATA_ROOT_WW3} export INPUTDATA_ROOT_BMIC={INPUTDATA_ROOT_BMIC} +export INPUTDATA_LM4={INPUTDATA_ROOT}/LM4_input_data export PATHRT={PATHRT} export PATHTR={PATHTR} export NEW_BASELINE={NEW_BASELINE} @@ -216,8 +218,8 @@ def write_runtest_env(): export RTVERBOSE=false """ if ( MACHINE_ID == 'jet' ): - runtest_envs += f"export PATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/bin:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/bin:$PATH\n" - runtest_envs += f"export PYTHONPATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/lib/python3.8/site-packages:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/lib/python3.8/site-packages\n" + runtest_envs+="export PATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/bin:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/bin:$PATH" + runtest_envs+="export PYTHONPATH=/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/envs/ufs-weather-model/lib/python3.8/site-packages:/lfs4/HFIP/hfv3gfs/software/miniconda3/4.8.3/lib/python3.8/site-packages" with open(filename,"w+") as f: f.writelines(runtest_envs)