Skip to main content
Ctrl+K
Logo image

For users

  • Installation
    • Set-up the user-defined configuration file
      • Example pystepsrc file
    • Example pystepsrc file
  • Gallery
    • Optical flow
    • Advection correction
    • Precipitation downscaling with RainFARM
    • Probability forecasts
    • Extrapolation nowcast
    • Generation of stochastic noise
    • Thunderstorm Detection and Tracking - T-DaTing
    • Data transformations
    • Cascade decomposition
    • STEPS nowcast
    • LINDA nowcasts
    • Ensemble verification
    • Handling of no-data in Lucas-Kanade
    • Blended forecast
    • ANVIL nowcast
    • Linear blending
    • Optical flow methods convergence
  • My first nowcast (Colab Notebook)
  • API Reference
    • pysteps
      • pysteps.load_config_file
    • pysteps.blending
      • pysteps.blending.interface.get_method
      • pysteps.blending.clim.get_default_skill
      • pysteps.blending.clim.save_skill
      • pysteps.blending.clim.calc_clim_skill
      • pysteps.blending.linear_blending.forecast
      • pysteps.blending.skill_scores.spatial_correlation
      • pysteps.blending.skill_scores.lt_dependent_cor_nwp
      • pysteps.blending.skill_scores.lt_dependent_cor_extrapolation
      • pysteps.blending.skill_scores.clim_regr_values
      • pysteps.blending.steps.forecast
      • pysteps.blending.steps.calculate_ratios
      • pysteps.blending.steps.calculate_weights_bps
      • pysteps.blending.steps.calculate_weights_spn
      • pysteps.blending.steps.blend_means_sigmas
      • pysteps.blending.utils.stack_cascades
      • pysteps.blending.utils.blend_cascades
      • pysteps.blending.utils.recompose_cascade
      • pysteps.blending.utils.blend_optical_flows
      • pysteps.blending.utils.decompose_NWP
      • pysteps.blending.utils.compute_store_nwp_motion
      • pysteps.blending.utils.load_NWP
    • pysteps.cascade
      • pysteps.cascade.interface.get_method
      • pysteps.cascade.bandpass_filters.filter_uniform
      • pysteps.cascade.bandpass_filters.filter_gaussian
      • pysteps.cascade.decomposition.decomposition_fft
      • pysteps.cascade.decomposition.recompose_fft
    • pysteps.decorators
      • pysteps.decorators.postprocess_import
      • pysteps.decorators.check_input_frames
      • pysteps.decorators.prepare_interpolator
      • pysteps.decorators.memoize
    • pysteps.extrapolation
      • pysteps.extrapolation.interface.get_method
      • pysteps.extrapolation.interface.eulerian_persistence
      • pysteps.extrapolation.semilagrangian.extrapolate
    • pysteps.datasets
      • pysteps.datasets.download_pysteps_data
      • pysteps.datasets.create_default_pystepsrc
      • pysteps.datasets.info
      • pysteps.datasets.load_dataset
    • pysteps.downscaling
      • pysteps.downscaling.interface.get_method
      • pysteps.downscaling.rainfarm.downscale
    • pysteps.feature
      • pysteps.feature.interface.get_method
      • pysteps.feature.blob.detection
      • pysteps.feature.tstorm.detection
      • pysteps.feature.tstorm.breakup
      • pysteps.feature.tstorm.longdistance
      • pysteps.feature.tstorm.get_profile
      • pysteps.feature.shitomasi.detection
    • pysteps.io
      • pysteps.io.interface.get_method
      • pysteps.io.archive.find_by_date
      • pysteps.io.importers.import_bom_rf3
      • pysteps.io.importers.import_fmi_geotiff
      • pysteps.io.importers.import_fmi_pgm
      • pysteps.io.importers.import_knmi_hdf5
      • pysteps.io.importers.import_mch_gif
      • pysteps.io.importers.import_mch_hdf5
      • pysteps.io.importers.import_mch_metranet
      • pysteps.io.importers.import_mrms_grib
      • pysteps.io.importers.import_odim_hdf5
      • pysteps.io.importers.import_opera_hdf5
      • pysteps.io.importers.import_saf_crri
      • pysteps.io.nowcast_importers.import_netcdf_pysteps
      • pysteps.io.exporters.initialize_forecast_exporter_geotiff
      • pysteps.io.exporters.initialize_forecast_exporter_kineros
      • pysteps.io.exporters.initialize_forecast_exporter_netcdf
      • pysteps.io.exporters.export_forecast_dataset
      • pysteps.io.exporters.close_forecast_files
      • pysteps.io.readers.read_timeseries
    • pysteps.motion
      • pysteps.motion.interface.get_method
      • pysteps.motion.constant.constant
      • pysteps.motion.darts.DARTS
      • pysteps.motion.lucaskanade.dense_lucaskanade
      • pysteps.motion.proesmans.proesmans
      • pysteps.motion.vet.vet
      • pysteps.motion.vet.vet_cost_function
      • pysteps.motion.vet.vet_cost_function_gradient
      • pysteps.motion.vet.morph
      • pysteps.motion.vet.round_int
      • pysteps.motion.vet.ceil_int
      • pysteps.motion.vet.get_padding
    • pysteps.noise
      • pysteps.noise.interface.get_method
      • pysteps.noise.fftgenerators.initialize_param_2d_fft_filter
      • pysteps.noise.fftgenerators.initialize_nonparam_2d_fft_filter
      • pysteps.noise.fftgenerators.initialize_nonparam_2d_nested_filter
      • pysteps.noise.fftgenerators.initialize_nonparam_2d_ssft_filter
      • pysteps.noise.fftgenerators.generate_noise_2d_fft_filter
      • pysteps.noise.fftgenerators.generate_noise_2d_ssft_filter
      • pysteps.noise.motion.get_default_params_bps_par
      • pysteps.noise.motion.get_default_params_bps_perp
      • pysteps.noise.motion.initialize_bps
      • pysteps.noise.motion.generate_bps
      • pysteps.noise.utils.compute_noise_stddev_adjs
    • pysteps.nowcasts
      • pysteps.nowcasts.interface.get_method
      • pysteps.nowcasts.anvil.forecast
      • pysteps.nowcasts.extrapolation.forecast
      • pysteps.nowcasts.linda.forecast
      • pysteps.nowcasts.lagrangian_probability.forecast
      • pysteps.nowcasts.sprog.forecast
      • pysteps.nowcasts.sseps.forecast
      • pysteps.nowcasts.steps.forecast
      • pysteps.nowcasts.utils.binned_timesteps
      • pysteps.nowcasts.utils.compute_dilated_mask
      • pysteps.nowcasts.utils.compute_percentile_mask
      • pysteps.nowcasts.utils.nowcast_main_loop
      • pysteps.nowcasts.utils.print_ar_params
      • pysteps.nowcasts.utils.print_corrcoefs
      • pysteps.nowcasts.utils.stack_cascades
    • pysteps.postprocessing
      • pysteps.postprocessing.ensemblestats.mean
      • pysteps.postprocessing.ensemblestats.excprob
      • pysteps.postprocessing.ensemblestats.banddepth
      • pysteps.postprocessing.probmatching.compute_empirical_cdf
      • pysteps.postprocessing.probmatching.nonparam_match_empirical_cdf
      • pysteps.postprocessing.probmatching.pmm_init
      • pysteps.postprocessing.probmatching.pmm_compute
      • pysteps.postprocessing.probmatching.shift_scale
    • pysteps.timeseries
      • pysteps.timeseries.autoregression.adjust_lag2_corrcoef1
      • pysteps.timeseries.autoregression.adjust_lag2_corrcoef2
      • pysteps.timeseries.autoregression.ar_acf
      • pysteps.timeseries.autoregression.estimate_ar_params_ols
      • pysteps.timeseries.autoregression.estimate_ar_params_ols_localized
      • pysteps.timeseries.autoregression.estimate_ar_params_yw
      • pysteps.timeseries.autoregression.estimate_ar_params_yw_localized
      • pysteps.timeseries.autoregression.estimate_var_params_ols
      • pysteps.timeseries.autoregression.estimate_var_params_ols_localized
      • pysteps.timeseries.autoregression.estimate_var_params_yw
      • pysteps.timeseries.autoregression.iterate_ar_model
      • pysteps.timeseries.autoregression.iterate_var_model
      • pysteps.timeseries.correlation.temporal_autocorrelation
      • pysteps.timeseries.correlation.temporal_autocorrelation_multivariate
    • pysteps.tracking
      • pysteps.tracking.interface.get_method
      • pysteps.tracking.lucaskanade.track_features
      • pysteps.tracking.tdating.dating
      • pysteps.tracking.tdating.tracking
      • pysteps.tracking.tdating.advect
      • pysteps.tracking.tdating.match
      • pysteps.tracking.tdating.couple_track
    • pysteps.utils
      • pysteps.utils.interface.get_method
      • pysteps.utils.arrays.compute_centred_coord_array
      • pysteps.utils.cleansing.decluster
      • pysteps.utils.cleansing.detect_outliers
      • pysteps.utils.conversion.to_rainrate
      • pysteps.utils.conversion.to_raindepth
      • pysteps.utils.conversion.to_reflectivity
      • pysteps.utils.dimension.aggregate_fields
      • pysteps.utils.dimension.aggregate_fields_time
      • pysteps.utils.dimension.aggregate_fields_space
      • pysteps.utils.dimension.clip_domain
      • pysteps.utils.dimension.square_domain
      • pysteps.utils.fft.get_numpy
      • pysteps.utils.fft.get_scipy
      • pysteps.utils.fft.get_pyfftw
      • pysteps.utils.images.morph_opening
      • pysteps.utils.interpolate.idwinterp2d
      • pysteps.utils.interpolate.rbfinterp2d
      • pysteps.utils.spectral.corrcoef
      • pysteps.utils.spectral.mean
      • pysteps.utils.spectral.rapsd
      • pysteps.utils.spectral.remove_rain_norain_discontinuity
      • pysteps.utils.spectral.std
      • pysteps.utils.tapering.compute_mask_window_function
      • pysteps.utils.tapering.compute_window_function
      • pysteps.utils.transformation.boxcox_transform
      • pysteps.utils.transformation.dB_transform
      • pysteps.utils.transformation.NQ_transform
      • pysteps.utils.transformation.sqrt_transform
      • pysteps.utils.reprojection.reproject_grids
    • pysteps.verification
      • pysteps.verification.interface.get_method
      • pysteps.verification.detcatscores.det_cat_fct
      • pysteps.verification.detcatscores.det_cat_fct_init
      • pysteps.verification.detcatscores.det_cat_fct_accum
      • pysteps.verification.detcatscores.det_cat_fct_merge
      • pysteps.verification.detcatscores.det_cat_fct_compute
      • pysteps.verification.detcontscores.det_cont_fct
      • pysteps.verification.detcontscores.det_cont_fct_init
      • pysteps.verification.detcontscores.det_cont_fct_accum
      • pysteps.verification.detcontscores.det_cont_fct_merge
      • pysteps.verification.detcontscores.det_cont_fct_compute
      • pysteps.verification.ensscores.ensemble_skill
      • pysteps.verification.ensscores.ensemble_spread
      • pysteps.verification.ensscores.rankhist
      • pysteps.verification.ensscores.rankhist_init
      • pysteps.verification.ensscores.rankhist_accum
      • pysteps.verification.ensscores.rankhist_compute
      • pysteps.verification.lifetime.lifetime
      • pysteps.verification.lifetime.lifetime_init
      • pysteps.verification.lifetime.lifetime_accum
      • pysteps.verification.lifetime.lifetime_compute
      • pysteps.verification.plots.plot_intensityscale
      • pysteps.verification.plots.plot_rankhist
      • pysteps.verification.plots.plot_reldiag
      • pysteps.verification.plots.plot_ROC
      • pysteps.verification.probscores.CRPS
      • pysteps.verification.probscores.CRPS_init
      • pysteps.verification.probscores.CRPS_accum
      • pysteps.verification.probscores.CRPS_compute
      • pysteps.verification.probscores.reldiag
      • pysteps.verification.probscores.reldiag_init
      • pysteps.verification.probscores.reldiag_accum
      • pysteps.verification.probscores.reldiag_compute
      • pysteps.verification.probscores.ROC_curve
      • pysteps.verification.probscores.ROC_curve_init
      • pysteps.verification.probscores.ROC_curve_accum
      • pysteps.verification.probscores.ROC_curve_compute
      • pysteps.verification.salscores.sal
      • pysteps.verification.salscores.sal_structure
      • pysteps.verification.salscores.sal_amplitude
      • pysteps.verification.salscores.sal_location
      • pysteps.verification.spatialscores.intensity_scale
      • pysteps.verification.spatialscores.intensity_scale_init
      • pysteps.verification.spatialscores.intensity_scale_accum
      • pysteps.verification.spatialscores.intensity_scale_merge
      • pysteps.verification.spatialscores.intensity_scale_compute
      • pysteps.verification.spatialscores.binary_mse
      • pysteps.verification.spatialscores.binary_mse_init
      • pysteps.verification.spatialscores.binary_mse_accum
      • pysteps.verification.spatialscores.binary_mse_merge
      • pysteps.verification.spatialscores.binary_mse_compute
      • pysteps.verification.spatialscores.fss
      • pysteps.verification.spatialscores.fss_init
      • pysteps.verification.spatialscores.fss_accum
      • pysteps.verification.spatialscores.fss_merge
      • pysteps.verification.spatialscores.fss_compute
    • pysteps.visualization
      • pysteps.visualization.animations.animate
      • pysteps.visualization.basemaps.plot_geography
      • pysteps.visualization.basemaps.plot_map_cartopy
      • pysteps.visualization.motionfields.motion_plot
      • pysteps.visualization.motionfields.quiver
      • pysteps.visualization.motionfields.streamplot
      • pysteps.visualization.precipfields.plot_precip_field
      • pysteps.visualization.precipfields.get_colormap
      • pysteps.visualization.spectral.plot_spectrum1d
      • pysteps.visualization.thunderstorms.plot_track
      • pysteps.visualization.thunderstorms.plot_cart_contour
      • pysteps.visualization.utils.parse_proj4_string
      • pysteps.visualization.utils.proj4_to_cartopy
      • pysteps.visualization.utils.reproject_geodata
      • pysteps.visualization.utils.get_geogrid
      • pysteps.visualization.utils.get_basemap_axis
  • Example data
  • Configuration file (pystepsrc)
    • Example pystepsrc file
  • Machine learning applications
  • Bibliography

For developers

  • Contributing Guide
  • Importer plugins
  • Testing
  • Building the docs
  • Packaging
  • Publishing to conda-forge
  • GitHub repository
  • Repository
  • Suggest edit
  • Open issue
  • .rst

Example gallery

Example gallery#

Below is a collection of example scripts and tutorials to illustrate the usage of pysteps.

These scripts require the pysteps example data. See the installation instructions in the Installing the example data section.

Optical flow

Optical flow

Advection correction

Advection correction

Precipitation downscaling with RainFARM

Precipitation downscaling with RainFARM

Probability forecasts

Probability forecasts

Extrapolation nowcast

Extrapolation nowcast

Generation of stochastic noise

Generation of stochastic noise

Thunderstorm Detection and Tracking - T-DaTing

Thunderstorm Detection and Tracking - T-DaTing

Data transformations

Data transformations

Cascade decomposition

Cascade decomposition

STEPS nowcast

STEPS nowcast

LINDA nowcasts

LINDA nowcasts

Ensemble verification

Ensemble verification

Handling of no-data in Lucas-Kanade

Handling of no-data in Lucas-Kanade

Blended forecast

Blended forecast

ANVIL nowcast

ANVIL nowcast

Linear blending

Linear blending

Optical flow methods convergence

Optical flow methods convergence

Download all examples in Python source code: auto_examples_python.zip

Download all examples in Jupyter notebooks: auto_examples_jupyter.zip

Gallery generated by Sphinx-Gallery

previous

Example of pystepsrc file

next

Optical flow

By pysteps developers

© Copyright 2018-2023, pysteps developers.