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.
Read RADOLAN and DX¶
Reading DX and RADOLAN data from German Weather Service
read_dx |
Data reader for German Weather Service DX product raw radar data files. |
read_radolan_composite |
Read quantitative radar composite format of the German Weather Service |
get_radolan_filehandle |
Opens radolan file and returns file handle |
read_radolan_header |
Reads radolan ASCII header and returns it as string |
parse_dwd_composite_header |
Parses the ASCII header of a DWD quantitative composite file |
read_radolan_binary_array |
Read binary data from file given by filehandle |
decode_radolan_runlength_array |
Decodes the binary runlength coded section from DWD composite file and return decoded numpy array with correct shape |
HDF Data I/O¶
read_generic_hdf5 |
Reads hdf5 files according to their structure |
read_opera_hdf5 |
Reads hdf5 files according to OPERA conventions |
read_gamic_hdf5 |
Data reader for hdf5 files produced by the commercial GAMIC Enigma V3 MURAN software |
to_hdf5 |
Quick storage of one <data> array and a <metadata> dict in an hdf5 file |
from_hdf5 |
Loading data from hdf5 files that was stored by to_hdf5 |
read_gpm |
Reads GPM files for matching with GR |
read_trmm |
Reads TRMM files for matching with GR |
Read NetCDF¶
read_edge_netcdf |
Data reader for netCDF files exported by the EDGE radar software |
read_generic_netcdf |
Reads netcdf files and returns a dictionary with corresponding structure. |
Read Rainbow¶
read_rainbow |
Reads Rainbow files files according to their structure |
Raster and Vector I/O using GDAL¶
open_vector |
Open vector file, return gdal.Dataset and OGR.Layer |
open_raster |
Open raster file, return gdal.Dataset |
read_safnwc |
Read MSG SAFNWC hdf5 file into a gdal georeferenced object |
write_raster_dataset |
Write raster dataset to file format |
Read IRIS Data Format¶
Reads data from Vaisala’s IRIS data formats
IRIS (Vaisala Sigmet Interactive Radar Information System)
See M211318EN-F Programming Guide ftp://ftp.sigmet.com/outgoing/manuals/
To read from IRIS files numpy.memmap
is used to get access to
the data. The IRIS header (PRODUCT_HDR, INGEST_HEADER) is read in any case
into dedicated OrderedDict’s. 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.
IrisRecord |
Class holding a single record from a Sigmet IRIS file. |
IrisFile |
Class for retrieving data from Sigmet IRIS files. |
IrisRawFile |
Class for retrieving data from Sigmet IRIS RAW files. |
IrisProductFile |
Class for retrieving data from Sigmet IRIS Product files. |
IrisCartesianProductFile |
Class for retrieving data from Sigmet IRIS Cartesian Product files. |
read_iris |
Read Iris file and return dictionary. |
Miscellaneous Data I/O¶
write_polygon_to_text |
Writes Polygons to a Text file which can be interpreted by ESRI ArcGIS’s “Create Features from Text File (Samples)” tool. |
to_pickle |
Pickle object <obj> to file <fpath> |
from_pickle |
Return pickled object from file <fpath> |
get_radiosonde |
Download radiosonde data from internet. |
get_membership_functions |
Reads membership function parameters from wradlib-data file. |