wradlib.io.rainbow.read_rainbow#
- wradlib.io.rainbow.read_rainbow(filename, *, loaddata=True)[source]#
Reads Rainbow 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.- Parameters:
- Returns:
rbdict (
dict
) – a dictionary that contains both data and metadata according to the original rainbow file structure
Examples
See Leonardo Rainbow.