Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge branch 'develop' into feature/con-13
  • Loading branch information
EdwardSafford-NOAA committed Dec 27, 2023
2 parents e753847 + dafc0de commit 562f271
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion parm/gfs/gfs_plots.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ satellites:
- name: npp
instruments:
- name: ompsnp
plot_list:
plot_list:
- plot: ozn horiz
times: 4
levels: '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22'
Expand Down
9 changes: 4 additions & 5 deletions ush/plotObsMon.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,8 @@ def camelCase(s):
# --------------------------------------------------------------------------------------------


def loadConfig(satname, instrument, obstype, plot, cycle_tm, cycle_interval, data_location, net=None):
def loadConfig(satname, instrument, obstype, plot, cycle_tm, cycle_interval,
data_location, net=None):
"""
Load configuration dictionary.
Expand Down Expand Up @@ -134,10 +135,9 @@ def loadConfig(satname, instrument, obstype, plot, cycle_tm, cycle_interval, dat

cycle_interval = mon_dict.get('cycle_interval')
data_location = mon_dict.get('data')
logger.info(f" mon_dict.keys(): {mon_dict.keys()}")

# if specified, generate template YAMLS and figures for satellite based obs
# for satellites, minimization, and observations
# Generate template YAMLS and figures for specified satellite instruments
# minimization stats, and conventional observations
if 'satellites' in mon_dict.keys():
for sat in mon_dict.get('satellites'):
satname = sat.get('name')
Expand All @@ -161,7 +161,6 @@ def loadConfig(satname, instrument, obstype, plot, cycle_tm, cycle_interval, dat
if 'minimization' in mon_dict.keys():
satname = None
instrument = None
obstype = None
for min in mon_dict.get('minimization'):
net = min.get('net')

Expand Down

0 comments on commit 562f271

Please sign in to comment.