DataSet.set_date(year=None, month=None, day=None, base_year=1900)

Set the date in a dataset

You should only do this if you have to fix/change a dataset with a single, not multiple dates.

  • year (int) – The year

  • month (int) – The month

  • day (int) – The day

  • base_year (int) – The base year for time creation in the netCDF. Defaults to 1900.


Set the date to 2000-01-01: >>> ds.set_date(year=2000, month=1, day=1)