Raw Data I/O#
Please have a look at the tutorial Supported radar data formats for an introduction on how to deal with different file formats.
Xarray backends#
Reading radar data into xarray Datasets using xarray.open_dataset
and xarray.open_mfdataset
.
Former available backends have been ported to xradar-package [1].
Xarray BackendEntrypoint for RADOLAN data. |
Digital Elevation Model Data I/O#
Provide surface/terrain elevation information from SRTM data
Download NASA SRTM elevation data Only available with login/password |
|
Get NASA SRTM elevation data |
|
Get NASA SRTM elevation data tile names |
GDAL Raster/Vector Data I/O#
Open vector file, return gdal.Dataset and OGR.Layer |
|
Open raster file, return gdal.Dataset |
|
Read MSG SAFNWC hdf5 file into a gdal georeferenced object |
|
Creates GDAL.DataSet object. |
|
Write raster dataset to file format |
|
DataSource class for handling ogr/gdal vector data |
HDF Data I/O#
Former available xarray based code has been ported to xradar-package [1].
Reads GPM files version V07A. |
|
Reads hdf5 files according to their structure |
|
Reads hdf5 files according to OPERA conventions |
|
Data reader for hdf5 files produced by the commercial GAMIC Enigma V3 MURAN software |
|
Quick storage of one <data> array and a <metadata> dict in an hdf5 file |
|
Loading data from hdf5 files that was stored by |
|
Reads GPM files for matching with GR |
|
Reads TRMM files for matching with GR |
IRIS/Sigmet Data I/O#
Reads data from Vaisala’s IRIS data formats. Former available code was ported to xradar-package [1] and is imported from there.
IRIS (Vaisala Sigmet Interactive Radar Information System)
See M211318EN-F Programming Guide ftp://ftp.sigmet.com/outgoing/manuals/
Reading sweep data can be skipped by setting loaddata=False. By default the data is decoded on the fly. Using rawdata=True the data will be kept undecoded.
Read Iris file and return dictionary. |
|
Class for retrieving data from Sigmet IRIS Product files. |
|
Class for retrieving data from Sigmet IRIS Cartesian Product files. |
Miscellaneous Data I/O#
Writes Polygons to a Text file which can be interpreted by ESRI ArcGIS's "Create Features from Text File (Samples)" tool. |
|
Pickle object <obj> to file <fpath> |
|
Return pickled object from file <fpath> |
|
Download radiosonde data from internet. |
|
Reads membership function parameters from wradlib-data file. |
NetCDF Data I/O#
Former available xarray based code has been ported to xradar-package [1].
Data reader for netCDF files exported by the EDGE radar software |
|
Reads netcdf files and returns a dictionary with corresponding structure. |
RADOLAN and DX Data I/O#
Reading DX and RADOLAN data from German Weather Service
Warning
Additionally to the binary composite formats DWD also provides data in ASCII format, which have a very limited header and need to extract product and datetime from the filename. Use on your own risk.
Open and decode a RADOLAN dataset from a file or file-like object. |
|
Open multiple RADOLAN files as a single dataset. |
|
Data reader for German Weather Service DX product raw radar data files. |
|
Read quantitative radar composite format of the German Weather Service |
|
Opens radolan file and returns file handle |
|
Reads radolan ASCII header and returns it as string |
|
Parses the ASCII header of a DWD quantitative composite file |
|
Read binary data from file given by filehandle |
|
Decodes the binary runlength coded section from DWD composite file and return decoded numpy array with correct shape |
Rainbow Data I/O#
Reads data from Leonardo’s Rainbow5 data formats. Former available code was ported to xradar-package [1] and is imported from there.
read_rainbow
reads all data and metadata into a dictionary.
Reading sweep data can be skipped by setting loaddata=False.
Reads Rainbow files according to their structure |
Xarray based Data I/O#
Note
The Xarray backend code has been moved to xradar-package [1].
Minimal variable wrapper. |