Decorators used to define reusable building blocks that can change or extend the behavior of some functions in pysteps.

postprocess_import([fillna, dtype])

Postprocess the imported precipitation data.

check_input_frames([minimum_input_frames, ...])

Check that the input_images used as inputs in the optical-flow methods have the correct shape (t, x, y ).


Check that all the inputs have the correct shape, and that all values are finite.


Add a Least Recently Used (LRU) cache to any function.