pysteps 2.0.0rc2__tar.gz → 2.0.0rc3__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/CONTRIBUTING.rst +21 -14
- {pysteps-2.0.0rc2/PySTEPS.egg-info → pysteps-2.0.0rc3}/PKG-INFO +28 -16
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3/PySTEPS.egg-info}/PKG-INFO +28 -16
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/README.rst +27 -15
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pyproject.toml +1 -1
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/steps.py +12 -3
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/datasets.py +7 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/importers.py +2 -2
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/_proesmans.c +248 -243
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/_vet.c +112 -97
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/noise/utils.py +5 -2
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/steps.py +11 -4
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_blending_steps.py +79 -59
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_steps.py +6 -1
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/xarray_helpers.py +8 -3
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/LICENSE +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/MANIFEST.in +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/PySTEPS.egg-info/SOURCES.txt +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/PySTEPS.egg-info/dependency_links.txt +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/PySTEPS.egg-info/requires.txt +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/PySTEPS.egg-info/top_level.txt +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/clim.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/ens_kalman_filter_methods.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/linear_blending.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/pca_ens_kalman_filter.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/skill_scores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/blending/utils.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/cascade/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/cascade/bandpass_filters.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/cascade/decomposition.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/cascade/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/decorators.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/downscaling/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/downscaling/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/downscaling/rainfarm.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/exceptions.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/extrapolation/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/extrapolation/eulerian_persistence.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/extrapolation/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/extrapolation/semilagrangian.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/feature/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/feature/blob.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/feature/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/feature/shitomasi.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/feature/tstorm.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/archive.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/exporters.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/mch_lut_8bit_Metranet_AZC_V104.txt +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/mch_lut_8bit_Metranet_v103.txt +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/nowcast_importers.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/io/readers.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/_proesmans.pyx +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/_vet.pyx +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/constant.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/darts.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/farneback.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/lucaskanade.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/proesmans.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/motion/vet.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/noise/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/noise/fftgenerators.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/noise/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/noise/motion.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/anvil.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/extrapolation.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/lagrangian_probability.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/linda.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/sprog.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/sseps.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/nowcasts/utils.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/postprocessing/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/postprocessing/diagnostics.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/postprocessing/ensemblestats.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/postprocessing/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/postprocessing/probmatching.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/pystepsrc +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/pystepsrc_schema.json +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/scripts/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/scripts/fit_vel_pert_params.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/scripts/run_vel_pert_analysis.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/helpers.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_archive.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_blending_clim.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_blending_linear_blending.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_blending_pca_ens_kalman_filter.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_blending_skill_scores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_blending_utils.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_cascade.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_datasets.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_decorators.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_downscaling_rainfarm.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_ensscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_exporters.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_extrapolation_semilagrangian.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_feature.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_feature_tstorm.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_importer_decorator.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_interfaces.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_archive.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_bom_rf3.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_dwd_hdf5.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_fmi_geotiff.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_fmi_pgm.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_knmi_hdf5.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_mch_gif.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_mrms_grib.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_nowcast_importers.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_opera_hdf5.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_readers.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_io_saf_crri.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_motion.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_motion_farneback.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_motion_lk.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_noise_fftgenerators.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_noise_motion.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_anvil.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_lagrangian_probability.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_linda.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_sprog.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_sseps.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_nowcasts_utils.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_paramsrc.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_plt_animate.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_plt_cartopy.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_plt_motionfields.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_plt_precipfields.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_plugins_support.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_postprocessing_ensemblestats.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_postprocessing_probmatching.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_timeseries_autoregression.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_tracking_tdating.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_arrays.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_cleansing.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_conversion.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_dimension.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_interpolate.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_pca.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_reprojection.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_spectral.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_utils_transformation.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_verification_detcatscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_verification_detcontscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_verification_probscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_verification_salscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tests/test_verification_spatialscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/timeseries/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/timeseries/autoregression.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/timeseries/correlation.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tracking/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tracking/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tracking/lucaskanade.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/tracking/tdating.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/arrays.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/check_norain.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/cleansing.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/conversion.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/dimension.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/fft.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/images.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/interpolate.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/pca.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/reprojection.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/spectral.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/tapering.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/utils/transformation.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/detcatscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/detcontscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/ensscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/interface.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/lifetime.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/plots.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/probscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/salscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/verification/spatialscores.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/__init__.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/animations.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/basemaps.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/motionfields.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/precipfields.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/spectral.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/thunderstorms.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/pysteps/visualization/utils.py +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/setup.cfg +0 -0
- {pysteps-2.0.0rc2 → pysteps-2.0.0rc3}/setup.py +0 -0
|
@@ -24,7 +24,7 @@ through the `project's issue tracker <https://github.com/pySTEPS/pysteps/issues>
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
**First Time Contributors**
|
|
27
|
-
|
|
27
|
+
---------------------------
|
|
28
28
|
|
|
29
29
|
If you are interested in helping to improve pysteps,
|
|
30
30
|
the best way to get started is by looking for "Good First Issue" or creating
|
|
@@ -91,18 +91,19 @@ Install the pre-commit hooks
|
|
|
91
91
|
After setting up your development environment, install the git pre-commit hook by executing the following command in the repository's
|
|
92
92
|
root::
|
|
93
93
|
|
|
94
|
-
pre-commit install
|
|
94
|
+
uv run pre-commit install
|
|
95
95
|
|
|
96
96
|
The pre-commit hooks are scripts executed automatically in every commit to identify simple issues with the code.
|
|
97
|
+
|
|
97
98
|
When an issue is identified (the pre-commit script exits with non-zero status), the hook aborts the commit and prints the error.
|
|
98
99
|
Currently, PySTEPS only tests that the code to be committed complies with :code:`bandit`, :code:`ruff format` and :code:`ruff`'s import sorter.
|
|
99
100
|
In case that the commit is aborted, can run these to try to find the issues::
|
|
100
101
|
|
|
101
|
-
uv run bandit -c
|
|
102
|
+
uv run bandit -c pyproject.toml -r .
|
|
102
103
|
uv run ruff check
|
|
103
104
|
uv run ruff format --check
|
|
104
105
|
|
|
105
|
-
This can also be done by running :code:`pre-commit run --all-files`. The latter is recommended since it indicates if the
|
|
106
|
+
This can also be done by running :code:`uv run pre-commit run --all-files`. The latter is recommended since it indicates if the
|
|
106
107
|
commit contained any formatting errors (that are automatically corrected).
|
|
107
108
|
|
|
108
109
|
For more information about git hooks and the pre-commit package, see:
|
|
@@ -338,7 +339,7 @@ For changes out of the scope of the issue, please open a new issue and associate
|
|
|
338
339
|
|
|
339
340
|
|
|
340
341
|
**Testing your changes**
|
|
341
|
-
|
|
342
|
+
~~~~~~~~~~~~~~~~~~~~~~~~
|
|
342
343
|
|
|
343
344
|
Before committing changes or creating pull requests, check that all the tests in the pysteps suite pass.
|
|
344
345
|
See the `Testing pysteps <https://pysteps.readthedocs.io/en/latest/developer_guide/test_pysteps.html#testing-pysteps>`__
|
|
@@ -383,19 +384,25 @@ Preparing a new release
|
|
|
383
384
|
|
|
384
385
|
Core developers should follow the steps to prepare a new release (version):
|
|
385
386
|
|
|
386
|
-
1. Before creating the actual release in GitHub,
|
|
387
|
+
1. Before creating the actual release in GitHub, prepare the release in a separate, dedicated branch.
|
|
388
|
+
If new dependencies were added to pysteps since the last release, make sure they are listed in
|
|
389
|
+
**pyproject.toml**. Then, in this branch, simply run::
|
|
390
|
+
|
|
391
|
+
uv version --bump patch
|
|
392
|
+
|
|
393
|
+
Replace ``patch`` with ``rc``, ``stable``, ``minor``, or ``major`` as appropriate.
|
|
394
|
+
We use `semantic versioning <https://semver.org/>`_, so the version is **major.minor.patch**.
|
|
395
|
+
What the command above does:
|
|
396
|
+
|
|
397
|
+
* In the file **pyproject.toml**, it updates the **version = "X.X.X"** field.
|
|
398
|
+
* It runs ``uv lock`` to update **uv.lock**.
|
|
387
399
|
|
|
388
|
-
|
|
389
|
-
function.
|
|
390
|
-
* Update the version in PKG-INFO file.
|
|
391
|
-
* If new dependencies were added to pysteps since the last release, add
|
|
392
|
-
them to the **environment.yml, requirements.txt**, and
|
|
393
|
-
**requirements_dev.txt** files.
|
|
400
|
+
#. Commit these files, push your branch and ask for a review, then merge it into the main branch.
|
|
394
401
|
#. Create a new release in GitHub following
|
|
395
402
|
`these guidelines <https://help.github.com/en/articles/creating-releases>`_.
|
|
396
403
|
Include a detailed changelog in the release.
|
|
397
404
|
#. Generating the source distribution for new pysteps version and upload it to
|
|
398
|
-
the `Python Package Index <https://pypi.org/>`_ (PyPI).
|
|
405
|
+
the `Python Package Index <https://pypi.org/>`_ (PyPI) -- this is done automatically.
|
|
399
406
|
See `Packaging the pysteps project <https://pysteps.readthedocs.io/en/latest/developer_guide/pypi.html#pypi-relase>`__
|
|
400
407
|
for a detailed description of this process.
|
|
401
408
|
|
|
@@ -435,7 +442,7 @@ This document was based on information from
|
|
|
435
442
|
and contributors guides of two Python open-source projects:
|
|
436
443
|
|
|
437
444
|
* Py-Art_: Copyright (c) 2013, UChicago Argonne, LLC.
|
|
438
|
-
`License <https://github.com/ARM-DOE/pyart/blob/
|
|
445
|
+
`License <https://github.com/ARM-DOE/pyart/blob/main/LICENSE.txt>`_.
|
|
439
446
|
* mypy_: Copyright (c) 2015-2016 Jukka Lehtosalo and contributors.
|
|
440
447
|
`MIT License <https://github.com/python/mypy/blob/master/LICENSE>`_.
|
|
441
448
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PySTEPS
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0rc3
|
|
4
4
|
Summary: Python framework for short-term ensemble prediction systems
|
|
5
5
|
License-Expression: BSD-3-Clause
|
|
6
6
|
Project-URL: Homepage, https://github.com/you/my-package
|
|
@@ -78,14 +78,14 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
78
78
|
* - docs
|
|
79
79
|
- |stable| |colab| |gallery|
|
|
80
80
|
* - status
|
|
81
|
-
- |test| |docs| |codecov| |codacy|
|
|
81
|
+
- |test| |docs| |codecov| |codacy|
|
|
82
82
|
* - package
|
|
83
|
-
- |github| |
|
|
83
|
+
- |github| |pypi| |zenodo|
|
|
84
84
|
* - community
|
|
85
85
|
- |contributors| |downloads| |license|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
.. |docs| image:: https://readthedocs.org/projects/pysteps/badge/?version=latest
|
|
88
|
+
.. |docs| image:: https://app.readthedocs.org/projects/pysteps/badge/?version=latest
|
|
89
89
|
:alt: Documentation Status
|
|
90
90
|
:target: https://pysteps.readthedocs.io/
|
|
91
91
|
|
|
@@ -93,10 +93,6 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
93
93
|
:alt: Test pysteps
|
|
94
94
|
:target: https://github.com/pySTEPS/pysteps/actions?query=workflow%3A"Test+Pysteps"
|
|
95
95
|
|
|
96
|
-
.. |formatting| image:: https://github.com/pySTEPS/pysteps/workflows/Check%20formatting/badge.svg
|
|
97
|
-
:alt: Check formatting
|
|
98
|
-
:target: https://github.com/pySTEPS/pysteps/actions?query=workflow%3A"Check+formatting"
|
|
99
|
-
|
|
100
96
|
.. |codecov| image:: https://codecov.io/gh/pySTEPS/pysteps/branch/main/graph/badge.svg
|
|
101
97
|
:alt: Coverage
|
|
102
98
|
:target: https://codecov.io/gh/pySTEPS/pysteps
|
|
@@ -105,10 +101,6 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
105
101
|
:target: https://github.com/pySTEPS/pysteps/releases/latest
|
|
106
102
|
:alt: Latest github release
|
|
107
103
|
|
|
108
|
-
.. |conda| image:: https://anaconda.org/conda-forge/pysteps/badges/version.svg
|
|
109
|
-
:target: https://anaconda.org/conda-forge/pysteps
|
|
110
|
-
:alt: Anaconda Cloud
|
|
111
|
-
|
|
112
104
|
.. |pypi| image:: https://badge.fury.io/py/pysteps.svg
|
|
113
105
|
:target: https://pypi.org/project/pysteps/
|
|
114
106
|
:alt: Latest PyPI version
|
|
@@ -121,9 +113,9 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
121
113
|
:alt: GitHub contributors
|
|
122
114
|
:target: https://github.com/pySTEPS/pysteps/graphs/contributors
|
|
123
115
|
|
|
124
|
-
.. |downloads| image:: https://img.shields.io/
|
|
125
|
-
:alt:
|
|
126
|
-
:target: https://
|
|
116
|
+
.. |downloads| image:: https://img.shields.io/pypi/dm/pysteps
|
|
117
|
+
:alt: PyPI downloads
|
|
118
|
+
:target: https://pypistats.org/packages/pysteps
|
|
127
119
|
|
|
128
120
|
.. |colab| image:: https://colab.research.google.com/assets/colab-badge.svg
|
|
129
121
|
:alt: My first nowcast
|
|
@@ -165,13 +157,33 @@ Use pysteps to compute and plot a radar extrapolation nowcast in Google Colab wi
|
|
|
165
157
|
Installation
|
|
166
158
|
============
|
|
167
159
|
|
|
168
|
-
PySTEPS can be installed
|
|
160
|
+
PySTEPS can be installed from the GitHub repository or from PyPI.
|
|
161
|
+
|
|
162
|
+
To install from the GitHub repository, clone it and use `uv <https://docs.astral.sh/uv/getting-started/installation/>`_ to install its dependencies::
|
|
169
163
|
|
|
164
|
+
git clone https://github.com/pySTEPS/pysteps.git
|
|
165
|
+
cd pysteps
|
|
170
166
|
uv sync
|
|
171
167
|
|
|
168
|
+
To install the latest stable release from PyPI, run::
|
|
169
|
+
|
|
170
|
+
pip install pysteps
|
|
171
|
+
|
|
172
|
+
or, if using `uv`, run::
|
|
173
|
+
|
|
174
|
+
uv pip install pysteps
|
|
175
|
+
|
|
172
176
|
Usage
|
|
173
177
|
=====
|
|
174
178
|
|
|
179
|
+
If you installed pysteps with ``uv sync``, it lives in the virtual environment in the **.venv**
|
|
180
|
+
folder. Either run your scripts through uv, for example::
|
|
181
|
+
|
|
182
|
+
uv run python my_script.py
|
|
183
|
+
|
|
184
|
+
or activate the environment first with ``source .venv/bin/activate`` (Linux/macOS) or
|
|
185
|
+
``.venv\Scripts\activate`` (Windows) and use ``python`` as usual.
|
|
186
|
+
|
|
175
187
|
Have a look at the `gallery of examples <https://pysteps.readthedocs.io/en/stable/auto_examples/index.html>`__ to get a good overview of what pysteps can do.
|
|
176
188
|
|
|
177
189
|
For a more detailed description of all the available methods, check the `API reference <https://pysteps.readthedocs.io/en/stable/pysteps_reference/index.html>`_ page.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: PySTEPS
|
|
3
|
-
Version: 2.0.
|
|
3
|
+
Version: 2.0.0rc3
|
|
4
4
|
Summary: Python framework for short-term ensemble prediction systems
|
|
5
5
|
License-Expression: BSD-3-Clause
|
|
6
6
|
Project-URL: Homepage, https://github.com/you/my-package
|
|
@@ -78,14 +78,14 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
78
78
|
* - docs
|
|
79
79
|
- |stable| |colab| |gallery|
|
|
80
80
|
* - status
|
|
81
|
-
- |test| |docs| |codecov| |codacy|
|
|
81
|
+
- |test| |docs| |codecov| |codacy|
|
|
82
82
|
* - package
|
|
83
|
-
- |github| |
|
|
83
|
+
- |github| |pypi| |zenodo|
|
|
84
84
|
* - community
|
|
85
85
|
- |contributors| |downloads| |license|
|
|
86
86
|
|
|
87
87
|
|
|
88
|
-
.. |docs| image:: https://readthedocs.org/projects/pysteps/badge/?version=latest
|
|
88
|
+
.. |docs| image:: https://app.readthedocs.org/projects/pysteps/badge/?version=latest
|
|
89
89
|
:alt: Documentation Status
|
|
90
90
|
:target: https://pysteps.readthedocs.io/
|
|
91
91
|
|
|
@@ -93,10 +93,6 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
93
93
|
:alt: Test pysteps
|
|
94
94
|
:target: https://github.com/pySTEPS/pysteps/actions?query=workflow%3A"Test+Pysteps"
|
|
95
95
|
|
|
96
|
-
.. |formatting| image:: https://github.com/pySTEPS/pysteps/workflows/Check%20formatting/badge.svg
|
|
97
|
-
:alt: Check formatting
|
|
98
|
-
:target: https://github.com/pySTEPS/pysteps/actions?query=workflow%3A"Check+formatting"
|
|
99
|
-
|
|
100
96
|
.. |codecov| image:: https://codecov.io/gh/pySTEPS/pysteps/branch/main/graph/badge.svg
|
|
101
97
|
:alt: Coverage
|
|
102
98
|
:target: https://codecov.io/gh/pySTEPS/pysteps
|
|
@@ -105,10 +101,6 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
105
101
|
:target: https://github.com/pySTEPS/pysteps/releases/latest
|
|
106
102
|
:alt: Latest github release
|
|
107
103
|
|
|
108
|
-
.. |conda| image:: https://anaconda.org/conda-forge/pysteps/badges/version.svg
|
|
109
|
-
:target: https://anaconda.org/conda-forge/pysteps
|
|
110
|
-
:alt: Anaconda Cloud
|
|
111
|
-
|
|
112
104
|
.. |pypi| image:: https://badge.fury.io/py/pysteps.svg
|
|
113
105
|
:target: https://pypi.org/project/pysteps/
|
|
114
106
|
:alt: Latest PyPI version
|
|
@@ -121,9 +113,9 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
121
113
|
:alt: GitHub contributors
|
|
122
114
|
:target: https://github.com/pySTEPS/pysteps/graphs/contributors
|
|
123
115
|
|
|
124
|
-
.. |downloads| image:: https://img.shields.io/
|
|
125
|
-
:alt:
|
|
126
|
-
:target: https://
|
|
116
|
+
.. |downloads| image:: https://img.shields.io/pypi/dm/pysteps
|
|
117
|
+
:alt: PyPI downloads
|
|
118
|
+
:target: https://pypistats.org/packages/pysteps
|
|
127
119
|
|
|
128
120
|
.. |colab| image:: https://colab.research.google.com/assets/colab-badge.svg
|
|
129
121
|
:alt: My first nowcast
|
|
@@ -165,13 +157,33 @@ Use pysteps to compute and plot a radar extrapolation nowcast in Google Colab wi
|
|
|
165
157
|
Installation
|
|
166
158
|
============
|
|
167
159
|
|
|
168
|
-
PySTEPS can be installed
|
|
160
|
+
PySTEPS can be installed from the GitHub repository or from PyPI.
|
|
161
|
+
|
|
162
|
+
To install from the GitHub repository, clone it and use `uv <https://docs.astral.sh/uv/getting-started/installation/>`_ to install its dependencies::
|
|
169
163
|
|
|
164
|
+
git clone https://github.com/pySTEPS/pysteps.git
|
|
165
|
+
cd pysteps
|
|
170
166
|
uv sync
|
|
171
167
|
|
|
168
|
+
To install the latest stable release from PyPI, run::
|
|
169
|
+
|
|
170
|
+
pip install pysteps
|
|
171
|
+
|
|
172
|
+
or, if using `uv`, run::
|
|
173
|
+
|
|
174
|
+
uv pip install pysteps
|
|
175
|
+
|
|
172
176
|
Usage
|
|
173
177
|
=====
|
|
174
178
|
|
|
179
|
+
If you installed pysteps with ``uv sync``, it lives in the virtual environment in the **.venv**
|
|
180
|
+
folder. Either run your scripts through uv, for example::
|
|
181
|
+
|
|
182
|
+
uv run python my_script.py
|
|
183
|
+
|
|
184
|
+
or activate the environment first with ``source .venv/bin/activate`` (Linux/macOS) or
|
|
185
|
+
``.venv\Scripts\activate`` (Windows) and use ``python`` as usual.
|
|
186
|
+
|
|
175
187
|
Have a look at the `gallery of examples <https://pysteps.readthedocs.io/en/stable/auto_examples/index.html>`__ to get a good overview of what pysteps can do.
|
|
176
188
|
|
|
177
189
|
For a more detailed description of all the available methods, check the `API reference <https://pysteps.readthedocs.io/en/stable/pysteps_reference/index.html>`_ page.
|
|
@@ -10,14 +10,14 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
10
10
|
* - docs
|
|
11
11
|
- |stable| |colab| |gallery|
|
|
12
12
|
* - status
|
|
13
|
-
- |test| |docs| |codecov| |codacy|
|
|
13
|
+
- |test| |docs| |codecov| |codacy|
|
|
14
14
|
* - package
|
|
15
|
-
- |github| |
|
|
15
|
+
- |github| |pypi| |zenodo|
|
|
16
16
|
* - community
|
|
17
17
|
- |contributors| |downloads| |license|
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
.. |docs| image:: https://readthedocs.org/projects/pysteps/badge/?version=latest
|
|
20
|
+
.. |docs| image:: https://app.readthedocs.org/projects/pysteps/badge/?version=latest
|
|
21
21
|
:alt: Documentation Status
|
|
22
22
|
:target: https://pysteps.readthedocs.io/
|
|
23
23
|
|
|
@@ -25,10 +25,6 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
25
25
|
:alt: Test pysteps
|
|
26
26
|
:target: https://github.com/pySTEPS/pysteps/actions?query=workflow%3A"Test+Pysteps"
|
|
27
27
|
|
|
28
|
-
.. |formatting| image:: https://github.com/pySTEPS/pysteps/workflows/Check%20formatting/badge.svg
|
|
29
|
-
:alt: Check formatting
|
|
30
|
-
:target: https://github.com/pySTEPS/pysteps/actions?query=workflow%3A"Check+formatting"
|
|
31
|
-
|
|
32
28
|
.. |codecov| image:: https://codecov.io/gh/pySTEPS/pysteps/branch/main/graph/badge.svg
|
|
33
29
|
:alt: Coverage
|
|
34
30
|
:target: https://codecov.io/gh/pySTEPS/pysteps
|
|
@@ -37,10 +33,6 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
37
33
|
:target: https://github.com/pySTEPS/pysteps/releases/latest
|
|
38
34
|
:alt: Latest github release
|
|
39
35
|
|
|
40
|
-
.. |conda| image:: https://anaconda.org/conda-forge/pysteps/badges/version.svg
|
|
41
|
-
:target: https://anaconda.org/conda-forge/pysteps
|
|
42
|
-
:alt: Anaconda Cloud
|
|
43
|
-
|
|
44
36
|
.. |pypi| image:: https://badge.fury.io/py/pysteps.svg
|
|
45
37
|
:target: https://pypi.org/project/pysteps/
|
|
46
38
|
:alt: Latest PyPI version
|
|
@@ -53,9 +45,9 @@ pysteps - Python framework for short-term ensemble prediction systems
|
|
|
53
45
|
:alt: GitHub contributors
|
|
54
46
|
:target: https://github.com/pySTEPS/pysteps/graphs/contributors
|
|
55
47
|
|
|
56
|
-
.. |downloads| image:: https://img.shields.io/
|
|
57
|
-
:alt:
|
|
58
|
-
:target: https://
|
|
48
|
+
.. |downloads| image:: https://img.shields.io/pypi/dm/pysteps
|
|
49
|
+
:alt: PyPI downloads
|
|
50
|
+
:target: https://pypistats.org/packages/pysteps
|
|
59
51
|
|
|
60
52
|
.. |colab| image:: https://colab.research.google.com/assets/colab-badge.svg
|
|
61
53
|
:alt: My first nowcast
|
|
@@ -97,13 +89,33 @@ Use pysteps to compute and plot a radar extrapolation nowcast in Google Colab wi
|
|
|
97
89
|
Installation
|
|
98
90
|
============
|
|
99
91
|
|
|
100
|
-
PySTEPS can be installed
|
|
92
|
+
PySTEPS can be installed from the GitHub repository or from PyPI.
|
|
93
|
+
|
|
94
|
+
To install from the GitHub repository, clone it and use `uv <https://docs.astral.sh/uv/getting-started/installation/>`_ to install its dependencies::
|
|
101
95
|
|
|
96
|
+
git clone https://github.com/pySTEPS/pysteps.git
|
|
97
|
+
cd pysteps
|
|
102
98
|
uv sync
|
|
103
99
|
|
|
100
|
+
To install the latest stable release from PyPI, run::
|
|
101
|
+
|
|
102
|
+
pip install pysteps
|
|
103
|
+
|
|
104
|
+
or, if using `uv`, run::
|
|
105
|
+
|
|
106
|
+
uv pip install pysteps
|
|
107
|
+
|
|
104
108
|
Usage
|
|
105
109
|
=====
|
|
106
110
|
|
|
111
|
+
If you installed pysteps with ``uv sync``, it lives in the virtual environment in the **.venv**
|
|
112
|
+
folder. Either run your scripts through uv, for example::
|
|
113
|
+
|
|
114
|
+
uv run python my_script.py
|
|
115
|
+
|
|
116
|
+
or activate the environment first with ``source .venv/bin/activate`` (Linux/macOS) or
|
|
117
|
+
``.venv\Scripts\activate`` (Windows) and use ``python`` as usual.
|
|
118
|
+
|
|
107
119
|
Have a look at the `gallery of examples <https://pysteps.readthedocs.io/en/stable/auto_examples/index.html>`__ to get a good overview of what pysteps can do.
|
|
108
120
|
|
|
109
121
|
For a more detailed description of all the available methods, check the `API reference <https://pysteps.readthedocs.io/en/stable/pysteps_reference/index.html>`_ page.
|
|
@@ -154,7 +154,9 @@ class StepsBlendingConfig:
|
|
|
154
154
|
conditional: bool, optional
|
|
155
155
|
If set to True, compute the statistics of the precipitation field
|
|
156
156
|
conditionally by excluding pixels where the values are below the threshold
|
|
157
|
-
precip_thr.
|
|
157
|
+
precip_thr. This setting does not affect the noise standard deviation
|
|
158
|
+
adjustment (noise_stddev_adj='auto'), which always uses conditional
|
|
159
|
+
statistics (see #579).
|
|
158
160
|
probmatching_method: {'cdf','mean',None}, optional
|
|
159
161
|
Method for matching the statistics of the forecast field with those of
|
|
160
162
|
the most recently observed one. 'cdf'=map the forecast CDF to the observed
|
|
@@ -1456,6 +1458,11 @@ class StepsBlendingNowcaster:
|
|
|
1456
1458
|
starttime = time.time()
|
|
1457
1459
|
|
|
1458
1460
|
precip_forecast_min = np.min(self.__state.precip_noise_input)
|
|
1461
|
+
|
|
1462
|
+
# Conditonal = False leads to issue with blending. See #579
|
|
1463
|
+
# Conditional=True is hardcoded currently and bypasses the user provided values
|
|
1464
|
+
# will always require user to provide a threshold as it is needed to compute the precipitation mask
|
|
1465
|
+
|
|
1459
1466
|
self.__params.noise_std_coeffs = noise.utils.compute_noise_stddev_adjs(
|
|
1460
1467
|
self.__state.precip_noise_input[-1, :, :],
|
|
1461
1468
|
self.__params.precip_threshold,
|
|
@@ -1465,7 +1472,7 @@ class StepsBlendingNowcaster:
|
|
|
1465
1472
|
self.__params.perturbation_generator,
|
|
1466
1473
|
self.__params.noise_generator,
|
|
1467
1474
|
20,
|
|
1468
|
-
conditional=
|
|
1475
|
+
conditional=True,
|
|
1469
1476
|
num_workers=self.__config.num_workers,
|
|
1470
1477
|
seed=self.__config.seed,
|
|
1471
1478
|
)
|
|
@@ -3621,7 +3628,9 @@ def forecast(
|
|
|
3621
3628
|
conditional: bool, optional
|
|
3622
3629
|
If set to True, compute the statistics of the precipitation field
|
|
3623
3630
|
conditionally by excluding pixels where the values are below the threshold
|
|
3624
|
-
precip_thr.
|
|
3631
|
+
precip_thr. This setting does not affect the noise standard deviation
|
|
3632
|
+
adjustment (noise_stddev_adj='auto'), which always uses conditional
|
|
3633
|
+
statistics (see #579).
|
|
3625
3634
|
probmatching_method: {'cdf','mean',None}, optional
|
|
3626
3635
|
Method for matching the statistics of the forecast field with those of
|
|
3627
3636
|
the most recently observed one. 'cdf'=map the forecast CDF to the observed
|
|
@@ -375,10 +375,17 @@ def create_default_pystepsrc(
|
|
|
375
375
|
with open(os.path.join(pysteps_lib_root, "pystepsrc"), "r") as f:
|
|
376
376
|
rcparams_json = json.loads(jsmin(f.read()))
|
|
377
377
|
|
|
378
|
+
# The paths of the data sources are relative to the pysteps data directory.
|
|
378
379
|
for key, value in rcparams_json["data_sources"].items():
|
|
379
380
|
value["root_path"] = os.path.abspath(
|
|
380
381
|
os.path.join(pysteps_data_dir, value["root_path"])
|
|
381
382
|
)
|
|
383
|
+
# Unfortunately this needs special treatment as it doesn't reside in the logical subdirectory.
|
|
384
|
+
importer_kwargs = value.get("importer_kwargs", {})
|
|
385
|
+
if "grid_file_path" in importer_kwargs:
|
|
386
|
+
importer_kwargs["grid_file_path"] = os.path.abspath(
|
|
387
|
+
os.path.join(pysteps_data_dir, importer_kwargs["grid_file_path"])
|
|
388
|
+
)
|
|
382
389
|
|
|
383
390
|
if config_dir is None:
|
|
384
391
|
home_dir = os.path.expanduser("~")
|
|
@@ -499,8 +499,8 @@ def import_mrms_grib(
|
|
|
499
499
|
proj_params = _get_grib_projection(grib_msg)
|
|
500
500
|
proj_def = " ".join([f"+{key}={value} " for key, value in proj_params.items()])
|
|
501
501
|
|
|
502
|
-
xsize = grib_msg["iDirectionIncrementInDegrees"]
|
|
503
|
-
ysize = grib_msg["jDirectionIncrementInDegrees"]
|
|
502
|
+
xsize = grib_msg["iDirectionIncrementInDegrees"]
|
|
503
|
+
ysize = grib_msg["jDirectionIncrementInDegrees"]
|
|
504
504
|
|
|
505
505
|
metadata = dict(
|
|
506
506
|
institution="NOAA National Severe Storms Laboratory",
|