woom.iters.Cycle#
- class woom.iters.Cycle(begin_date, end_date=None)[source]#
Container for a time cycle
Attributes
Begin date (
WoomDate)Same as
begin_dateWhether it is an interval or a single date (
bool)Whether it is the first cycle (
bool)Whether it is the last cycle (
bool)End date (
WoomDateor None) defaults to NoneInterval duration (
Timedeltaor None)String used for for printing and based on the ISO 8601 format (
str)String used in file and directory names and based on the ISO 8601 format (
str)Next cycle (
Cycleor None)Previous cycle (
Cycleor None)Methods
describe()get_env_vars([suffix])Export a dict of WOOM environment variables about this cycle
get_params([suffix])Export a dict of substitution parameters about this cycle