forked from NOAA-EMC/global-workflow
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c101002
commit 6cbf203
Showing
3 changed files
with
25 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters