nctoolkit.DataSet.set_day

nctoolkit.DataSet.set_day#

DataSet.set_day(x)#

Set the day for each time step in a dataset

Parameters:

x (int) – Day to set dataset to

Examples

Set the day to 1 for all time steps, effectively setting the date to the first of the month: >>> ds.set_day(1)