Skip to content

Commit

Permalink
Merge pull request #898 from PCMDI/mjo_bugfix_patch
Browse files Browse the repository at this point in the history
Bug fix for MJO metrics
  • Loading branch information
lee1043 committed Feb 21, 2023
2 parents 80c092e + 01d8da0 commit fc99e5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pcmdi_metrics/mjo/lib/mjo_metric_calc.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ def mjo_metric_ewr_calculation(
# Store each year's segment in a dictionary: segment[year]
segment = {}
segment_ano = {}
daSeaCyc = MV2.zeros((NT, d.shape[1], d.shape[2]), MV2.float)
daSeaCyc = MV2.zeros((NT, d.shape[1], d.shape[2]))
for year in range(startYear, endYear):
print(year)
segment[year] = subSliceSegment(d, year, mon, day, NT)
Expand Down

0 comments on commit fc99e5a

Please sign in to comment.