-
Notifications
You must be signed in to change notification settings - Fork 31
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
0f1bbbd
commit 10e1886
Showing
1 changed file
with
4 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,18 @@ | ||
#!/usr/bin/env python3 | ||
# exglobal_prep_ocean_obs.py | ||
# Pepares observations for coupled ocean DA | ||
# Pepares observations for marine DA | ||
import os | ||
from wxflow import YAMLFile | ||
import prep_marine_obs | ||
import logging | ||
|
||
OBS_YAML = os.getenv('OBS_YAML') | ||
print("OBS_YAML:", OBS_YAML) | ||
|
||
data = YAMLFile(OBS_YAML) | ||
print(data) | ||
|
||
for observer in data['observers']: | ||
obs_source_name = observer['obs space']['name'] | ||
print(obs_source_name) | ||
dwprint(obs_source_name) | ||
logging.info(f"obs_source_name: {obs_source_name}") | ||
prep_marine_obs.obs_fetch(obs_source_name) |