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, optional) – Radar identifiers forwhat/source(see ODIM documentation), at least one of NOD, RAD or WMO. Defaults to the identifiers stored in the global attributes by the ODIM reader (wmo__id,node,site_name,wmo__originating_centre,wmo__wsi).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