pyart.aux_io.read_dat_mf#
- pyart.aux_io.read_dat_mf(filename, additional_metadata=None, xres=1.0, yres=1.0, nx=1536, ny=1536, nz=1, nd=65535, date_format='%Y%m%d%H%M%S', added_time=0, x_offset=-619652.074056, y_offset=-3526818.337932, lat_0=90.0, lon_0=0.0, field_name='radar_estimated_rain_rate', **kwargs)[source]#
Read a MeteoFrance operational radar data binary file. The data is in stereopolar projection
- Parameters:
filename (str) – Name of the file to read.
additional_metadata (dict of dicts, optional) – Dictionary of dictionaries to retrieve metadata during this read. This metadata is not used during any successive file reads unless explicitly included. A value of None, the default, will not introduct any addition metadata and the file specific or default metadata as specified by the Py-ART configuration file will be used.
xres, yres (float) – resolution of each grid point [km]
nx, ny, nz (int) – dimensions of the grid
nd (int) – integer representing No Data
date_format (str) – date format in file name
added_time (float) – seconds to add to the nominal time in the file name. The default will add 24h and it is used for the 24h accumulation files at MF
x_offset, y_offset (x and y offset from origin of coordinates of the) – projection (m). Assumes stereo-polar. The default corresponds to the northwest corner of the Metropolitan French radar composite -9.965 53.670 (deg)
lat_0, lon_0 (latitude and longitude of the origin of the projection) – (deg). Default corresponds to polar stereographic
field_name (str) – name of the field stored in the binary file
- Returns:
grid (Grid) – Grid object containing data the data.