pysteps v1.3
Summary of main changes and new features:
- Code formatting and bug fixes.
- Improve documentation and test coverage.
- New deterministic nowcasting module
nowcasts.anvilimplementing the ANVIL method published in Pulkkinen et al. (2020): Nowcasting of Convective Rainfall Using Volumetric Radar Observations. Learn how to use it in this example script. - New importer
io.importers.import_mrms_gribfor the for NSSL’s Multi-Radar/Multi-Sensor System (MRMS). - New
datasetmodule to facilitate downloading the pysteps example data and create the configuration file. - New interactive notebook
my_first_nowcast.ipynbavailable on Google Colab.
Pysteps v1.3.0 changelog:
dataset- add function
download_pysteps_datato download the example data from the pysteps-data GitHub repo - add function
create_default_pystepsrcto create a default configuration file pointing to the local pysteps data directory - add helper functions to easily load the example data for each data source (fmi, mch, opera, etc)
- add function
io.importers:- add function
import_mrms_gribto import NSSL’s Multi-Radar/Multi-Sensor System (MRMS) grib data - change spatial units from meters to kilometers in
import_knmi_hdf5and fix definition ofy1andy2parameters in the metadata. - allow all the importers to specify the output array data type (dtype keyword) and fill invalid data with a predefined value (fillna keyword)
- add function to safely and consistently get the rain/no rain threshold
- add function
motion.constantconstantmethod returns two-dimensional advection field instead of one motion vector
motion.lucaskanade- fix bug in
dense_lucaskanadehandling of MaskedArrays inputs. Previously, the method ignored the input mask, unless the masked values where set as nans - require ndarrays or MaskedArrays as input data to
dense_lucaskanade
- fix bug in
motion.vet- fix bug in
vetkeywords handling. Previously, the method argument passed to the minimizer was ignored
- fix bug in
nowcasts- add deterministic nowcasting module
nowcasts.anvil
- add deterministic nowcasting module
utils.dimensions- include option
triminaggregate_fieldsfunction to allow aggregation along axes that are not perfectly divisible by a given window
- include option
utils.images- rename
ShiTomasi_detectionfunction to lowercaseshitomasi_detectionto comply with PEP8 - change default value for the
buffer_maskargument in theshitomasi_detectionfunction from 0 to 5 to provide a minimum buffer to no-data in themotion.lucaskanade.dense_lucaskanademethod
- rename
utils.interpolate- change default value for the
epsilonargument in therbfinterp2dfunction from 5 to 10 to provide a more localized interpolation of motion vectors in themotion.lucaskanade.dense_lucaskanademethod
- change default value for the
Contributors to this release:
@aperezhortal @dnerini @pulkkins @RubenImhoff