diff --git a/.gitignore b/.gitignore index 2ae8ebc517..39d140fd65 100644 --- a/.gitignore +++ b/.gitignore @@ -159,7 +159,6 @@ sorc/ocnicepost.fd # scripts symlinks scripts/exemcsfc_global_sfc_prep.sh scripts/exgdas_global_marine_analysis_ecen.py -scripts/exgdas_global_marine_analysis_letkf.py scripts/exglobal_prep_ocean_obs.py # ush symlinks ush/chgres_cube.sh diff --git a/scripts/exgdas_global_marine_analysis_letkf.py b/scripts/exgdas_global_marine_analysis_letkf.py new file mode 100755 index 0000000000..107eeef1ff --- /dev/null +++ b/scripts/exgdas_global_marine_analysis_letkf.py @@ -0,0 +1,25 @@ +#!/usr/bin/env python3 +# exgdas_global_marine_analysis_ecen.py +# This script creates an MarineLETKF class +# and runs the initialize, run, and finalize methods +# which currently are stubs +import os + +from wxflow import Logger, cast_strdict_as_dtypedict +# TODO (AFE): change to from pygfs.task.marine_recenter import MarineLETKF +from soca.marine_letkf import MarineLETKF + +# Initialize root logger +logger = Logger(level='DEBUG', colored_log=True) + + +if __name__ == '__main__': + + # Take configuration from environment and cast it as python dictionary + config = cast_strdict_as_dtypedict(os.environ) + + # Instantiate the aerosol analysis task + MarineLetkf = MarineLETKF(config) + MarineLetkf.initialize() + MarineLetkf.run() + MarineLetkf.finalize() diff --git a/sorc/link_workflow.sh b/sorc/link_workflow.sh index ac3520524a..0041ce083b 100755 --- a/sorc/link_workflow.sh +++ b/sorc/link_workflow.sh @@ -163,7 +163,6 @@ ${LINK_OR_COPY} "${HOMEgfs}/sorc/ufs_utils.fd/scripts/exemcsfc_global_sfc_prep.s if [[ -d "${HOMEgfs}/sorc/gdas.cd" ]]; then declare -a gdas_scripts=(exglobal_prep_ocean_obs.py \ exgdas_global_marine_analysis_ecen.py \ - exgdas_global_marine_analysis_letkf.py \ ) for gdas_script in "${gdas_scripts[@]}" ; do ${LINK_OR_COPY} "${HOMEgfs}/sorc/gdas.cd/scripts/${gdas_script}" .