geodat.nc.create_monthly

geodat.nc.create_monthly(calendar, units, time0, time_end=None)[source]

Return a generator that return a scalar time value with the specified calendar and unit.

time0 is the starting time. if time_end is not specified, the generator will not stop iterating. unit should take the form UNIT since DATETIME example: days since 0001-01-01 00:00:00

Work in progress. Need to be rewritten using relativedelta

Fork me on GitHub