Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update make_extrema_longrun_pentad.py #568

Merged
merged 1 commit into from
Aug 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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