nctoolkit.DataSet.set_date

DataSet.set_date(self, 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.

Parameters
  • 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.