Skip to content

Commit

Permalink
Merge branch 'feature/obsErrorAssignmentTool' of https://github.com/N…
Browse files Browse the repository at this point in the history
…OAA-EMC/PyGSI into feature/obsErrorAssignmentTool
  • Loading branch information
azadeh-gh committed Feb 21, 2024
2 parents a1b9850 + 2488802 commit 7fb6043
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions scripts/plot_proftrace.py
Original file line number Diff line number Diff line change
Expand Up @@ -297,13 +297,13 @@ def collect_statistics(setdict):
# entries in a list
# if they are not a list, assert them as a list
it = sd['it']
it = [it] if type(it) != list else it
it = [it] if type(it) is not list else it
use = sd['use']
use = [use] if type(use) != list else use
use = [use] if type(use) is not list else use
typ = sd['typ']
typ = [typ] if type(typ) != list else typ
typ = [typ] if type(typ) is not list else typ
styp = sd['styp']
styp = [styp] if type(styp) != list else styp
styp = [styp] if type(styp) is not list else styp
# extract variable from gdas
stat = gdas.extract(var) # t, uv, q, etc.
# date it obs use
Expand Down

0 comments on commit 7fb6043

Please sign in to comment.