From 5379adf5c5ccc6489e5d1fda3ce63ebf65e2ea1e Mon Sep 17 00:00:00 2001 From: Flavia Tsang Date: Thu, 9 Nov 2023 16:38:11 -0800 Subject: [PATCH] turn off EN7 for all STIP runs --- model-files/scripts/preprocess/updateTelecommuteConstants.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/model-files/scripts/preprocess/updateTelecommuteConstants.py b/model-files/scripts/preprocess/updateTelecommuteConstants.py index 69cba69e2..a39b6f818 100644 --- a/model-files/scripts/preprocess/updateTelecommuteConstants.py +++ b/model-files/scripts/preprocess/updateTelecommuteConstants.py @@ -83,6 +83,11 @@ UPDATE_CONSTANT = False else: UPDATE_CONSTANT = True + # Rules to determine whether the telecommute constants should be turned on for STIP + if (MODEL_DIR.upper().find("STP") >= 0): + UPDATE_CONSTANT = False + sys.exit(0) + print('MODEL_YEAR = {}'.format(MODEL_YEAR)) print('MODEL_DIR = {}'.format(MODEL_DIR))