sloop.interp.nc_interp_at_freq_to_nc
- sloop.interp.nc_interp_at_freq_to_nc(ncfiles, freq, ncout, begindate=None, 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
freq (str) – Output frequency
ncout (str) – Netcdf file with optional date patterns
begindate (date) – Start from this date
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