nctoolkit.DataSet.set_precision

DataSet.set_precision(self, x)

Set the precision in a dataset

Parameters
  • x (str) – The precision. One of ‘I8’, ‘I16’, ‘I32’, ‘F32’, ‘F64’.

  • month (int) – The month

  • day (int) – The day

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