xradar.io.export.odim.to_odim#
- xradar.io.export.odim.to_odim(dtree, filename, source=None, optional_how=False, compression='gzip', compression_opts=6)[source]#
Save DataTree to ODIM_H5/V2_2 compliant file.
- Parameters:
dtree (
xarray.DataTree
)filename (
str
) – output filename
- Keyword Arguments:
source (
str
) – mandatory radar identifier (see ODIM documentation)optional_how (
boolean
) – True to include optional how attributes, defaults to Falsecompression (
str
) – Compression filter name, defaults to “gzip”.compression_opts (
compression strategy
) – options as needed by above filter, defaults to 6