-
Notifications
You must be signed in to change notification settings - Fork 12
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
Fix incorrect docstring in automate.py regarding date_ranges #298
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -384,10 +384,13 @@ def submit_mult_calcs(calc_suite_specs, exec_options=None): | |
The region(s) over which any regional reductions will be performed. | ||
If 'all', use all regions in the ``regions`` attribute of each | ||
``Proj``. | ||
date_ranges : 'default' or tuple of datetime.datetime objects | ||
date_ranges : 'default' or a list of tuples of datetime.datetime objects | ||
The range of dates (inclusive) over which to perform calculations. | ||
If 'default', use the ``default_start_date`` and | ||
``default_end_date`` attribute of each ``Run``. | ||
Else provide a list, each containing a tuple of start and end dates | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. No reason for you to know this :), but in the master (i.e. unreleased) version of aospy we also support partial datetime strings (e.g.
|
||
such as ``date_ranges=[(sdate, edate)]``, where ``sdate`` and ``edate`` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. E501 line too long (83 > 79 characters) |
||
are each datetime.datetime objects. | ||
output_time_intervals : {'ann', season-string, month-integer} | ||
The sub-annual time interval over which to aggregate. | ||
|
||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
E501 line too long (80 > 79 characters)