sloop.interp.nc_interp_time

sloop.interp.nc_interp_time(ncfiles, dates, ncout, preproc=None, postproc=None)[source]

Interpolate netcdf files to a single netcdf file at a given frequency

Parameters
  • ncfiles (str, list) – Single or list of netcdf files

  • dates (list) – Output dates

  • ncout (str) – Netcdf file with optional date patterns

  • preproc (callable) – Callable that operates on the input datasets after reading it

  • postproc (callable) – Callable that operates on the output dataset before saving it

Returns

Output netcdf file

Return type

str