wradlib.io.read_Rainbow(f, loaddata=True)

Reads Rainbow files files according to their structure

In contrast to other file readers under wradlib.io, this function will not return a two item tuple with (data, metadata). Instead, this function returns ONE dictionary that contains all the file contents - both data and metadata. The keys of the output dictionary conform to the XML outline in the original data file.

The radar data will be extracted from the data blobs, converted and added to the dict with key ‘data’ at the place where the @blobid was pointing from.

  • f (string or file handle) – a rainbow file path or file handle of rainbow file
  • loaddata (bool) – True | False, If False function returns only metadata

rbdict (dict) – a dictionary that contains both data and metadata according to the original rainbow file structure


See Load and inspect data from a Rainbow file.