Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add POST_OUTPUT_DOMAIN_NAME to WE2E tests for new grids #763

Merged
merged 3 commits into from
May 10, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,8 @@ LAYOUT_X="8"
LAYOUT_Y="12"
BLOCKSIZE="13"

POST_OUTPUT_DOMAIN_NAME="custom_ESGgrid"

QUILTING="TRUE"
if [ "$QUILTING" = "TRUE" ]; then
WRTCMP_write_groups="1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,8 @@ LAYOUT_X="6"
LAYOUT_Y="6"
BLOCKSIZE="26"

POST_OUTPUT_DOMAIN_NAME="custom_GFDLgrid"

QUILTING="TRUE"
if [ "$QUILTING" = "TRUE" ]; then
WRTCMP_write_groups="1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ LAYOUT_X="6"
LAYOUT_Y="6"
BLOCKSIZE="26"

POST_OUTPUT_DOMAIN_NAME="custom_GFDLgrid"

QUILTING="TRUE"
if [ "$QUILTING" = "TRUE" ]; then
WRTCMP_write_groups="1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ LAYOUT_X="6"
LAYOUT_Y="6"
BLOCKSIZE="26"

POST_OUTPUT_DOMAIN_NAME="custom_GFDLgrid"

QUILTING="TRUE"
if [ "$QUILTING" = "TRUE" ]; then
WRTCMP_write_groups="1"
Expand Down
4 changes: 2 additions & 2 deletions ush/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -854,10 +854,10 @@ def setup():
print_err_msg_exit(f'''
The domain name used in naming the run_post output files
(POST_OUTPUT_DOMAIN_NAME) has not been set:
POST_OUTPUT_DOMAIN_NAME = \"${POST_OUTPUT_DOMAIN_NAME}\"
POST_OUTPUT_DOMAIN_NAME = \"{POST_OUTPUT_DOMAIN_NAME}\"
If this experiment is not using a predefined grid (i.e. if
PREDEF_GRID_NAME is set to a null string), POST_OUTPUT_DOMAIN_NAME
must be set in the configuration file (\"${EXPT_CONFIG_FN}\"). ''')
must be set in the configuration file (\"{EXPT_CONFIG_FN}\"). ''')

POST_OUTPUT_DOMAIN_NAME = PREDEF_GRID_NAME

Expand Down