pyart.aux_io.read_bin_mf#
- pyart.aux_io.read_bin_mf(filename, additional_metadata=None, xres=1.0, yres=1.0, nx=1536, ny=1536, nz=1, dtype='float32', date_format='%Y%m%d', added_time=86400.0, x_offset=-619652.074056, y_offset=-3526818.337932, lat_0=90.0, lon_0=0.0, proj='gnom', field_name='rainfall_accumulation', **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
dtype (str) – data type
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) in stereo-polar projection
lat_0, lon_0 (latitude and longitude of the origin of the projection) – (deg). Default corresponds to polar stereographic
proj (str) – projection. Can be webmerc, stere or gnom
field_name (str) – name of the field stored in the binary file
- Returns:
grid (Grid) – Grid object containing data the data.