Skip to content

Commit d5c4b79

Browse files
committed
Update most instances of FIRE_INPUT_DIR to use FIRE_GEO_EM_FILE instead. Use FIRE_NUM_TASKS: 2 in multifire test. Remove unnecessary vars from pass_settings (they are under envvars now)
1 parent c3f2cf9 commit d5c4b79

6 files changed

Lines changed: 12 additions & 6 deletions

File tree

doc/UsersGuide/CustomizingTheWorkflow/ConfigWorkflow.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2130,6 +2130,9 @@ Non-default parameters for the Community Fire Behavior Model (CFBM) in SRW are s
21302130
``FIRE_INPUT_DIR``: (Default: "")
21312131
Directory where fire input file (geo_em.d01.nc) can be found
21322132

2133+
``FIRE_GEO_EM_FILE``: (default: '{{ [fire.envvars.FIRE_INPUT_DIR, "geo_em.d01.nc"]|path_join}}')
2134+
Full path to fire input geo_em netCDF file
2135+
21332136
``DT_FIRE``: (Default: 0.5)
21342137
The fire behavior component’s integration timestep in seconds
21352138

tests/WE2E/test_configs/fire/config.UFS_FIRE_multifire_two-way-coupled.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ task_plot_allvars:
3939
fire:
4040
envvars:
4141
UFS_FIRE: True
42-
FIRE_INPUT_DIR: '{{ platform.WE2E_TEST_DATA }}/UFS_FIRE/{{ workflow.DATE_FIRST_CYCL }}'
43-
FIRE_NUM_TASKS: 1
42+
FIRE_GEO_EM_FILE: '{{ platform.WE2E_TEST_DATA }}/UFS_FIRE/{{ workflow.DATE_FIRST_CYCL }}/geo_em.d01.nc'
43+
FIRE_NUM_TASKS: 2
4444
DT_FIRE: 0.5
4545
OUTPUT_DT_FIRE: 600
4646
FIRE_NUM_IGNITIONS: 2

tests/WE2E/test_configs/fire/config.UFS_FIRE_one-way-coupled.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ task_plot_allvars:
4242
fire:
4343
envvars:
4444
UFS_FIRE: True
45-
FIRE_INPUT_DIR: '{{ platform.WE2E_TEST_DATA }}/UFS_FIRE/{{ workflow.DATE_FIRST_CYCL }}'
45+
FIRE_GEO_EM_FILE: '{{ platform.WE2E_TEST_DATA }}/UFS_FIRE/{{ workflow.DATE_FIRST_CYCL }}/geo_em.d01.nc'
4646
FIRE_NUM_TASKS: 1
4747
DT_FIRE: 0.5
4848
OUTPUT_DT_FIRE: 300
@@ -64,4 +64,4 @@ fire:
6464
FIRE_LSM_ZCOUPLING_REF: 60.0
6565
task_integration_test:
6666
envvars:
67-
TEST_UFS_FIRE: true
67+
TEST_UFS_FIRE: true

ush/config.fire.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ fire:
5252
UFS_FIRE: True
5353
# Uncomment to override the input directory location. An example netCDF for this configuration is
5454
# staged on Tier 1 platform and set in the platform-specific YAML files.
55-
# FIRE_INPUT_DIR: /path/to/directory/containing/geo_em.d01.nc
55+
# FIRE_GEO_EM_FILE: /path/to/geo_em.d01.nc
5656
FIRE_NUM_TASKS: 1
5757
DT_FIRE: 0.5
5858
OUTPUT_DT_FIRE: 300

ush/config_defaults.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3102,6 +3102,9 @@ fire:
31023102
# FIRE_INPUT_DIR
31033103
# Directory where fire input file (geo_em.d01.nc) can be found
31043104
#
3105+
# FIRE_GEO_EM_FILE
3106+
# Full path to fire input geo_em netCDF file
3107+
#
31053108
# DT_FIRE
31063109
# The fire behavior component’s integration timestep
31073110
#

ush/generate_FV3LAM_wflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,7 @@ def generate_FV3LAM_wflow(
461461
]
462462

463463
# These settings do not get added to namelist, or are handled elsewhere
464-
pass_settings = ["UFS_FIRE", "FIRE_INPUT_DIR", "FIRE_NUM_TASKS", "envvars"]
464+
pass_settings = ["FIRE_NUM_TASKS", "envvars"]
465465
pass_settings.extend(each_ignit)
466466

467467
for setting in expt_config["fire"]:

0 commit comments

Comments
 (0)