Skip to content

Commit

Permalink
Update make_extrema_longrun_pentad.py (#568)
Browse files Browse the repository at this point in the history
  • Loading branch information
mfwehner authored and doutriaux1 committed Aug 20, 2018
1 parent 707d9ce commit e2316d3
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# example execute line:
# python make_extrema_longrun_pentad.py var model_scenario_realization var_file lat_name
# Where:
# var is the variable name
# var is the variable name. This almost always going to be daily accumulated precipitation (pr).
# model_scenario_realization is a descriptor for the output file
# var_file is the input file of daily data. An xml file constructed with cdscan works here.
# lat_name is the name of the latitude dimension
Expand Down Expand Up @@ -71,6 +71,7 @@
time=MV.zeros((y2-y0+1),MV.float)

# Calculate annual extrema
# Note to Peter G. From here to line 123 could be deleted or commented out to save time. We don't really need the annual maxima.
print("starting annual")
y1=y0
m1=1 # January
Expand Down

0 comments on commit e2316d3

Please sign in to comment.