Skip to content

Commit

Permalink
remove added lines which was originally for AWS, but should be define…
Browse files Browse the repository at this point in the history
…d in hosts/awspw.yaml
  • Loading branch information
weihuang-jedi committed Jul 26, 2024
1 parent bf3b460 commit 47627ff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions workflow/rocoto/gfs_tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from wxflow import timedelta_to_HMS
import rocoto.rocoto as rocoto
import numpy as np
import os


class GFSTasks(Tasks):

Expand All @@ -24,12 +24,6 @@ def stage_ic(self):

# Atm ICs
if self.app_config.do_atm:
#The if block below is added for AWS.
#If we have a proper way to define 'BASE_CPLIC', this if block can be removed.
if ('BASE_CPLIC' not in cpl_ic.keys()):
cpl_ic['BASE_CPLIC'] = os.environ.get('BASE_CPLIC', '/bucket/global-workflow-shared-data/ICSDIR/prototype_ICs')
if ('CPL_ATMIC' not in cpl_ic.keys()):
cpl_ic['CPL_ATMIC'] = os.environ.get('CPL_ATMIC', 'workflow_C48_refactored')
prefix = f"{cpl_ic['BASE_CPLIC']}/{cpl_ic['CPL_ATMIC']}/@Y@m@d@H/atmos"
for file in ['gfs_ctrl.nc'] + \
[f'{datatype}_data.tile{tile}.nc'
Expand Down

0 comments on commit 47627ff

Please sign in to comment.