xradar is in an early stage of development, please report any issues here!


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.

Keyword Arguments:
  • source (str) – mandatory radar identifier (see ODIM documentation)

  • optional_how (boolean) – True to include optional how attributes, defaults to False

  • compression (str) – Compression filter name, defaults to “gzip”.

  • compression_opts (compression strategy) – options as needed by above filter, defaults to 6