pyremo.parse_dates

parse_dates(ds, use_cftime=False, calendar='standard')[source]

Update the time axis of a REMO dataset.

Updates the time axis of a REMO dataset containing an absolute time axis.

Parameters:
  • ds (xr.Dataset) – Dataset with absolute time axis.

  • use_cftime (bool) – Use cftime objects instead of datetime objects.

  • calendar (str) – CF calendar if use_cftime is True.