pylawr.functions#

pylawr.functions.fit.extrapolate_offline(...)

Fits an extrapolator for temporal interpolation between two given arrays.

pylawr.functions.fit.fit_extrapolator(...[, ...])

Fits an extrapolator with given reflectivity and path to old reflectivity.

pylawr.functions.fit.fit_kriging(refl_array)

This function fits kriging instances with particle filters and a stochastic variogram matching.

pylawr.functions.fit.sample_sq_diff(refl_array)

Function to sample squared differences between different grid point and their reflectivities.

pylawr.functions.fit.sample_variogram(refl_array)

This function samples a variogram from given reflectivity field.

pylawr.functions.grid.get_cartesian(grid[, ...])

This method calculates cartesian coordinates based on the given grid.

pylawr.functions.grid.get_latlon_grid(orig_grid)

This function can be used to get a rectangular LatLonGrid.

pylawr.functions.grid.get_masked_grid(...)

Mask value within a given origin grid.

pylawr.functions.grid.prepare_grid(grid)

This method is used to prepare the grid for the remapping, the grid is transformed into cartesian coordinates with :py:meth:_get_cartesian and then stacked and transposed.

pylawr.functions.grid.remap_data(data, ...)

This function remaps data based on given grids with given remap instance.

pylawr.functions.input.read_dwd_hdf5(...[, grid])

Read in DWD data in HDF5 format.

pylawr.functions.input.read_lawr_ascii(...)

Read in ascii-data from X-band local area weather radars of the University Hamburg.

pylawr.functions.input.read_lawr_nc_level0(...)

Read in NETCDF level 0 data from X-band local area weather radars of the University Hamburg.

pylawr.functions.input.read_lawr_nc_new(...)

Read in LAWR data in NetCDF format.

pylawr.functions.input.read_lawr_nc_old(...)

Read in NETCDF level 1 data from X-band local area weather radars of the University Hamburg.

pylawr.functions.output.save_netcdf(xr_ds, ...)

Save a xarray.Dataset to NetCDF with given save path securely.

pylawr.functions.plot.create_default_plotter([...])

Create a default plotter with a header, map and colorbar subplot.

pylawr.functions.plot.plot_rain_clutter(...)

This function can be used to plot a rain rate.

pylawr.functions.plot.plot_rain_rate(rate, ...)

This function can be used to plot a rain rate.

pylawr.functions.plot.plot_reflectivity(...)

This function can be used to plot a reflectivity in dBZ.

pylawr.functions.transform.correct_attenuation(...)

This method corrects reflectivity measurements of weather radars that operate in attenuation-influenced frequency bands (X-band) using observations from less attenuated radar systems (C-band).

pylawr.functions.transform.correct_attenuation_dual(...)

This method corrects reflectivity measurements of weather radars that operate in attenuation-influenced frequency bands (X-band) using observations from less attenuated radar systems (C-band) based on [Lengfeld et al., 2016].

pylawr.functions.transform.correct_attenuation_dwd(refl)

Gate-by-Gate attenuation correction for a single weather radar based on modification of [Kraemer et al., 2008] according to the iterative estimation of k-Z relationship.

pylawr.functions.transform.correct_attenuation_lawr(refl)

Gate-by-Gate attenuation correction for a single weather radar based on modification of [Kraemer et al., 2008] according to the iterative estimation of k-Z relationship.

pylawr.functions.transform.extrapolation_offline(...)

Extrapolates two reflectivity fields to required time step for offline processing.

pylawr.functions.transform.interpolate_missing(...)

Interpolate missing values of given reflectivity array with given remapper.

pylawr.functions.transform.remove_clutter_dwd(...)

Remove clutter from given reflectivity field of DWD.

pylawr.functions.transform.remove_clutter_lawr(...)

Remove clutter from given reflectivity field of lawr.

pylawr.functions.transform.remove_noise(...)

Remove background noise from given reflectivity field.