Skip to content

Commit

Permalink
remove SUPPORT_WAVE from *pw.yaml, and setup_expt.py as WAVE works on…
Browse files Browse the repository at this point in the history
… all these platforms
  • Loading branch information
weihuang-jedi committed Nov 27, 2024
1 parent ea07117 commit c81c854
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 7 deletions.
1 change: 0 additions & 1 deletion workflow/hosts/awspw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ MAKE_ACFTBUFR: 'NO'
DO_TRACKER: 'NO'
DO_GENESIS: 'NO'
DO_METP: 'NO'
SUPPORT_WAVES: 'YES'
SUPPORTED_RESOLUTIONS: ['C48', 'C96', 'C384', 'C768'] # TODO: Test and support all cubed-sphere resolutions.
1 change: 0 additions & 1 deletion workflow/hosts/azurepw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ MAKE_ACFTBUFR: 'NO'
DO_TRACKER: 'NO'
DO_GENESIS: 'NO'
DO_METP: 'NO'
SUPPORT_WAVES: 'YES'
SUPPORTED_RESOLUTIONS: ['C48', 'C96', 'C384', 'C768'] # TODO: Test and support all cubed-sphere resolutions.
1 change: 0 additions & 1 deletion workflow/hosts/googlepw.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ MAKE_ACFTBUFR: 'NO'
DO_TRACKER: 'NO'
DO_GENESIS: 'NO'
DO_METP: 'NO'
SUPPORT_WAVES: 'YES'
SUPPORTED_RESOLUTIONS: ['C48', 'C96', 'C384'] # TODO: Test and support all cubed-sphere resolutions.
4 changes: 0 additions & 4 deletions workflow/setup_expt.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,7 +371,6 @@ def query_and_clean(dirname, force_clean=False):

def validate_user_request(host, inputs):
supp_res = host.info['SUPPORTED_RESOLUTIONS']
supp_waves = host.info.get('SUPPORT_WAVES', 'YES')
machine = host.machine
for attr in ['resdetatmos', 'resensatmos']:
try:
Expand All @@ -381,9 +380,6 @@ def validate_user_request(host, inputs):
if expt_res not in supp_res:
raise NotImplementedError(f"Supported resolutions on {machine} are:\n{', '.join(supp_res)}")

if "W" in inputs.app and supp_waves == "NO":
raise NotImplementedError(f"Waves are not supported on {machine}")


def get_ocean_resolution(resdetatmos):
"""
Expand Down

0 comments on commit c81c854

Please sign in to comment.