wradlib.io.xarray.to_netcdf¶
- wradlib.io.xarray.to_netcdf(volume, filename, timestep=None, keys=None, engine=None)¶
Save RadarVolume/XRadVolume to netcdf compliant file.
- Parameters:
volume (
wradlib.io.xarray.RadarVolume,wradlib.io.xarray.XRadVolorwradlib.io.xarray.XRadVolume)filename (
str) – output filenametimestep (
int,slice) – timestep/slice of wanted volume, defaults to full slicekeys (
list) – list of sweep_group_names which should be written to the fileengine (
str) – engine to save data, defaults to ‘netcdf4’ or ‘h5netcdf’ if found (in this order)