SYMBOL INDEX (737 symbols across 161 files) FILE: doc/source/conf.py function get_version (line 64) | def get_version(): function set_root (line 105) | def set_root(): FILE: examples/advection_correction.py function advection_correction (line 87) | def advection_correction(R, T=5, t=1): FILE: examples/anvil_nowcast.py function plot_growth_decay_circles (line 134) | def plot_growth_decay_circles(ax): FILE: examples/data_transformations.py function plot_distribution (line 76) | def plot_distribution(data, labels, skw): FILE: examples/optical_flow_methods_convergence.py function create_motion_field (line 123) | def create_motion_field(input_precip, motion_type): function create_observations (line 177) | def create_observations(input_precip, motion_type, num_times=9): function plot_optflow_method_convergence (line 245) | def plot_optflow_method_convergence(input_precip, optflow_method_name, m... FILE: examples/plot_custom_precipitation_range.py class ColormapConfig (line 103) | class ColormapConfig: method __init__ (line 104) | def __init__(self): method build_colormap (line 111) | def build_colormap(self): FILE: examples/rainfarm_downscale.py function read_precipitation_data (line 55) | def read_precipitation_data(file_path): function upscale_field (line 93) | def upscale_field(precip, metadata, scale_factor): FILE: pysteps/__init__.py function _get_config_file_schema (line 29) | def _get_config_file_schema(): function _fconfig_candidates_generator (line 37) | def _fconfig_candidates_generator(): function config_fname (line 76) | def config_fname(): function _decode_filesystem_path (line 110) | def _decode_filesystem_path(path): class _DotDictify (line 117) | class _DotDictify(dict): method __setitem__ (line 132) | def __setitem__(self, key, value): method __getitem__ (line 137) | def __getitem__(self, key): function load_config_file (line 150) | def load_config_file(params_file=None, verbose=False, dryrun=False): FILE: pysteps/blending/clim.py function get_default_skill (line 25) | def get_default_skill(n_cascade_levels=6, n_models=1): function save_skill (line 59) | def save_skill( function calc_clim_skill (line 158) | def calc_clim_skill( FILE: pysteps/blending/ens_kalman_filter_methods.py class EnsembleKalmanFilter (line 79) | class EnsembleKalmanFilter: method __init__ (line 81) | def __init__(self, config, params): method update (line 105) | def update( method get_covariance_matrix (line 196) | def get_covariance_matrix( method get_tapering (line 235) | def get_tapering(self, n: int): method get_precipitation_mask (line 267) | def get_precipitation_mask(self, forecast_array: np.ndarray): method get_lien_criterion (line 300) | def get_lien_criterion(self, nwc_ensemble: np.ndarray, nwp_ensemble: n... method get_weighting_for_probability_matching (line 338) | def get_weighting_for_probability_matching( class MaskedEnKF (line 401) | class MaskedEnKF(EnsembleKalmanFilter): method __init__ (line 403) | def __init__(self, config, params): method correct_step (line 451) | def correct_step( method get_inflation_factor_obs (line 628) | def get_inflation_factor_obs(self): FILE: pysteps/blending/interface.py function get_method (line 27) | def get_method(name): FILE: pysteps/blending/linear_blending.py function forecast (line 29) | def forecast( function _get_slice (line 282) | def _get_slice(n_dims, ref_dim, ref_id): function _get_ranked_salience (line 289) | def _get_ranked_salience(precip_nowcast, precip_nwp): function _get_ws (line 326) | def _get_ws(weight, ranked_salience): FILE: pysteps/blending/pca_ens_kalman_filter.py class EnKFCombinationConfig (line 82) | class EnKFCombinationConfig: class EnKFCombinationParams (line 226) | class EnKFCombinationParams: class ForecastInitialization (line 251) | class ForecastInitialization: method __init__ (line 262) | def __init__( method __initialize_nowcast_components (line 294) | def __initialize_nowcast_components(self): method __prepare_radar_data_and_ar_parameters (line 352) | def __prepare_radar_data_and_ar_parameters(self): method __initialize_noise (line 471) | def __initialize_noise(self): method __initialize_noise_field_pool (line 528) | def __initialize_noise_field_pool(self): class ForecastState (line 585) | class ForecastState: method __init__ (line 590) | def __init__( class ForecastModel (line 620) | class ForecastModel: method __init__ (line 625) | def __init__( method run_forecast_step (line 670) | def run_forecast_step(self, nwp, is_correction_timestep=False): method backtransform (line 717) | def backtransform(self): method __decompose (line 730) | def __decompose(self, is_correction_timestep): method __advect (line 774) | def __advect(self): method __iterate (line 811) | def __iterate(self): method __update_precip_mask (line 832) | def __update_precip_mask(self, nwp): method __probability_matching (line 876) | def __probability_matching(self): method __set_no_data (line 886) | def __set_no_data(self): method fill_backtransform (line 892) | def fill_backtransform(self, nwp): class EnKFCombinationNowcaster (line 923) | class EnKFCombinationNowcaster: method __init__ (line 924) | def __init__( method compute_forecast (line 955) | def compute_forecast(self): method __check_inputs (line 1099) | def __check_inputs(self): method __check_input_timestamps (line 1202) | def __check_input_timestamps(self): method __check_no_rain_case (line 1285) | def __check_no_rain_case(self): method __print_forecast_info (line 1320) | def __print_forecast_info(self): method __integrated_nowcast_main_loop (line 1376) | def __integrated_nowcast_main_loop(self): method __forecast_loop (line 1476) | def __forecast_loop(self, t, is_correction_timestep, is_nowcasting_tim... method __write_output (line 1530) | def __write_output(self): method __measure_time (line 1540) | def __measure_time(self, label, start_time): function forecast (line 1555) | def forecast( FILE: pysteps/blending/skill_scores.py function spatial_correlation (line 22) | def spatial_correlation(obs, mod, domain_mask): function lt_dependent_cor_nwp (line 81) | def lt_dependent_cor_nwp(lt, correlations, outdir_path, n_model=0, skill... function lt_dependent_cor_extrapolation (line 139) | def lt_dependent_cor_extrapolation(PHI, correlations=None, correlations_... function clim_regr_values (line 187) | def clim_regr_values(n_cascade_levels, outdir_path, n_model=0, skill_kwa... FILE: pysteps/blending/steps.py class StepsBlendingConfig (line 75) | class StepsBlendingConfig: class StepsBlendingParams (line 325) | class StepsBlendingParams: class StepsBlendingState (line 362) | class StepsBlendingState: class StepsBlendingNowcaster (line 437) | class StepsBlendingNowcaster: method __init__ (line 438) | def __init__( method compute_forecast (line 470) | def compute_forecast(self): method __blended_nowcast_main_loop (line 613) | def __blended_nowcast_main_loop(self): method __check_inputs (line 722) | def __check_inputs(self): method __print_forecast_info (line 917) | def __print_forecast_info(self): method __initialize_nowcast_components (line 1011) | def __initialize_nowcast_components(self): method __prepare_radar_and_NWP_fields (line 1058) | def __prepare_radar_and_NWP_fields(self): method __decompose_member (line 1215) | def __decompose_member(self, member_field): method __zero_precipitation_forecast (line 1244) | def __zero_precipitation_forecast(self): method __prepare_nowcast_for_zero_radar (line 1300) | def __prepare_nowcast_for_zero_radar(self): method __initialize_noise (line 1375) | def __initialize_noise(self): method __estimate_ar_parameters_radar (line 1433) | def __estimate_ar_parameters_radar(self): method __multiply_precip_cascade_to_match_ensemble_members (line 1510) | def __multiply_precip_cascade_to_match_ensemble_members(self): method __initialize_random_generators (line 1525) | def __initialize_random_generators(self): method __prepare_forecast_loop (line 1579) | def __prepare_forecast_loop(self): method __initialize_noise_cascades (line 1640) | def __initialize_noise_cascades(self): method __determine_subtimesteps_and_nowcast_time_step (line 1683) | def __determine_subtimesteps_and_nowcast_time_step(self, t, subtimeste... method __decompose_nwp_if_needed_and_fill_nans_in_nwp (line 1709) | def __decompose_nwp_if_needed_and_fill_nans_in_nwp(self, t): method __find_nowcast_NWP_combination (line 1781) | def __find_nowcast_NWP_combination(self, t): method __determine_skill_for_current_timestep (line 1985) | def __determine_skill_for_current_timestep(self, t): method __determine_NWP_skill_for_next_timestep (line 2042) | def __determine_NWP_skill_for_next_timestep(self, t, j, worker_state): method __determine_weights_per_component (line 2079) | def __determine_weights_per_component(self, t, worker_state): method __regress_extrapolation_and_noise_cascades (line 2177) | def __regress_extrapolation_and_noise_cascades(self, j, worker_state, t): method __perturb_blend_and_advect_extrapolation_and_noise_to_current_timestep (line 2264) | def __perturb_blend_and_advect_extrapolation_and_noise_to_current_time... method __blend_cascades (line 2679) | def __blend_cascades(self, t_sub, j, worker_state): method __recompose_cascade_to_rainfall_field (line 2935) | def __recompose_cascade_to_rainfall_field(self, j, worker_state): method __post_process_output (line 2968) | def __post_process_output( method __measure_time (line 3265) | def __measure_time(self, label, start_time): function forecast (line 3280) | def forecast( function calculate_ratios (line 3690) | def calculate_ratios(correlations): function calculate_weights_bps (line 3715) | def calculate_weights_bps(correlations): function calculate_weights_spn (line 3776) | def calculate_weights_spn(correlations, covariance): function calculate_end_weights (line 3858) | def calculate_end_weights( function blend_means_sigmas (line 3964) | def blend_means_sigmas(means, sigmas, weights): FILE: pysteps/blending/utils.py function stack_cascades (line 48) | def stack_cascades(R_d, donorm=True): function blend_cascades (line 88) | def blend_cascades(cascades_norm, weights): function recompose_cascade (line 149) | def recompose_cascade(combined_cascade, combined_mean, combined_sigma): function blend_optical_flows (line 185) | def blend_optical_flows(flows, weights): function decompose_NWP (line 243) | def decompose_NWP( function compute_store_nwp_motion (line 393) | def compute_store_nwp_motion( function load_NWP (line 443) | def load_NWP(input_nc_path_decomp, input_path_velocities, start_time, n_... function check_norain (line 536) | def check_norain(precip_arr, precip_thr=None, norain_thr=0.0): function compute_smooth_dilated_mask (line 561) | def compute_smooth_dilated_mask( FILE: pysteps/cascade/bandpass_filters.py function filter_uniform (line 53) | def filter_uniform(shape, n): function filter_gaussian (line 91) | def filter_gaussian( function _gaussweights_1d (line 209) | def _gaussweights_1d(l, n, gauss_scale=0.5): FILE: pysteps/cascade/decomposition.py function decomposition_fft (line 77) | def decomposition_fft(field, bp_filter, **kwargs): function recompose_fft (line 264) | def recompose_fft(decomp, **kwargs): FILE: pysteps/cascade/interface.py function get_method (line 21) | def get_method(name): FILE: pysteps/datasets.py function _decode_filesystem_path (line 62) | def _decode_filesystem_path(path): function info (line 69) | def info(): class ShowProgress (line 90) | class ShowProgress(object): method __init__ (line 102) | def __init__(self, bar_length=20): method _clear_line (line 108) | def _clear_line(self): method _print (line 112) | def _print(self, msg): method __call__ (line 116) | def __call__(self, count, block_size, total_size, exact=True): method end (line 160) | def end(message="Download complete"): function download_mrms_data (line 164) | def download_mrms_data(dir_path, initial_date, final_date, timestep=2, n... function download_pysteps_data (line 286) | def download_pysteps_data(dir_path, force=True): function create_default_pystepsrc (line 337) | def create_default_pystepsrc( function load_dataset (line 409) | def load_dataset(case="fmi", frames=14): FILE: pysteps/decorators.py function _add_extra_kwrds_to_docstrings (line 27) | def _add_extra_kwrds_to_docstrings(target_func, extra_kwargs_doc_text): function postprocess_import (line 44) | def postprocess_import(fillna=np.nan, dtype="double"): function check_input_frames (line 112) | def check_input_frames( function prepare_interpolator (line 153) | def prepare_interpolator(nchunks=4): function memoize (line 253) | def memoize(maxsize=10): function deprecate_args (line 288) | def deprecate_args(old_new_args, deprecation_release): FILE: pysteps/downscaling/interface.py function get_method (line 20) | def get_method(name): FILE: pysteps/downscaling/rainfarm.py function _gaussianize (line 28) | def _gaussianize(precip): function _compute_freq_array (line 44) | def _compute_freq_array(array, ds_factor=1): function _log_slope (line 54) | def _log_slope(log_k, log_power_spectrum): function _estimate_alpha (line 72) | def _estimate_alpha(array, k): function _compute_noise_field (line 84) | def _compute_noise_field(freq_array_highres, alpha): function _apply_spectral_fusion (line 100) | def _apply_spectral_fusion( function _compute_kernel_radius (line 165) | def _compute_kernel_radius(ds_factor): function _make_tophat_kernel (line 169) | def _make_tophat_kernel(ds_factor): function _make_gaussian_kernel (line 177) | def _make_gaussian_kernel(ds_factor): function _balanced_spatial_average (line 192) | def _balanced_spatial_average(array, kernel): function downscale (line 212) | def downscale( FILE: pysteps/exceptions.py class MissingOptionalDependency (line 6) | class MissingOptionalDependency(Exception): class DirectoryNotEmpty (line 12) | class DirectoryNotEmpty(Exception): class DataModelError (line 18) | class DataModelError(Exception): FILE: pysteps/extrapolation/interface.py function eulerian_persistence (line 41) | def eulerian_persistence(precip, velocity, timesteps, outval=np.nan, **k... function _do_nothing (line 96) | def _do_nothing(precip, velocity, timesteps, outval=np.nan, **kwargs): function _return_none (line 102) | def _return_none(**kwargs): function get_method (line 114) | def get_method(name): FILE: pysteps/extrapolation/semilagrangian.py function extrapolate (line 21) | def extrapolate( FILE: pysteps/feature/blob.py function detection (line 27) | def detection( FILE: pysteps/feature/interface.py function get_method (line 42) | def get_method(name): FILE: pysteps/feature/shitomasi.py function detection (line 26) | def detection( FILE: pysteps/feature/tstorm.py function detection (line 51) | def detection( function breakup (line 202) | def breakup(ref, minval, maxima): function longdistance (line 217) | def longdistance(loc_max, mindis): function get_profile (line 241) | def get_profile(areas, binary, ref, loc_max, time, minref, output_splits... FILE: pysteps/io/archive.py function find_by_date (line 19) | def find_by_date( function _find_matching_filename (line 93) | def _find_matching_filename( function _generate_path (line 124) | def _generate_path(date, root_path, path_format): FILE: pysteps/io/exporters.py function initialize_forecast_exporter_geotiff (line 124) | def initialize_forecast_exporter_geotiff( function initialize_forecast_exporter_kineros (line 240) | def initialize_forecast_exporter_kineros( function initialize_forecast_exporter_netcdf (line 369) | def initialize_forecast_exporter_netcdf( function export_forecast_dataset (line 660) | def export_forecast_dataset(field, exporter): function close_forecast_files (line 747) | def close_forecast_files(exporter): function _export_geotiff (line 771) | def _export_geotiff(F, exporter): function _export_kineros (line 826) | def _export_kineros(field, exporter): function _export_netcdf (line 860) | def _export_netcdf(field, exporter): function _convert_proj4_to_grid_mapping (line 890) | def _convert_proj4_to_grid_mapping(proj4str): function _create_geotiff_file (line 951) | def _create_geotiff_file(outfn, driver, shape, metadata, num_bands): function _get_geotiff_filename (line 972) | def _get_geotiff_filename(prefix, startdate, n_timesteps, timestep, time... FILE: pysteps/io/importers.py function _check_coords_range (line 158) | def _check_coords_range(selected_range, coordinate, full_range): function _get_grib_projection (line 183) | def _get_grib_projection(grib_msg): function _get_threshold_value (line 221) | def _get_threshold_value(precip): function import_mrms_grib (line 246) | def import_mrms_grib(filename, extent=None, window_size=4, **kwargs): function import_bom_rf3 (line 442) | def import_bom_rf3(filename, **kwargs): function _import_bom_rf3_data (line 476) | def _import_bom_rf3_data(filename): function _import_bom_rf3_geodata (line 488) | def _import_bom_rf3_geodata(ds_rainfall): function import_fmi_geotiff (line 571) | def import_fmi_geotiff(filename, **kwargs): function import_fmi_pgm (line 639) | def import_fmi_pgm(filename, gzipped=False, **kwargs): function _import_fmi_pgm_geodata (line 697) | def _import_fmi_pgm_geodata(metadata): function _import_fmi_pgm_metadata (line 736) | def _import_fmi_pgm_metadata(filename, gzipped=False): function import_knmi_hdf5 (line 766) | def import_knmi_hdf5( function import_mch_gif (line 921) | def import_mch_gif(filename, product, unit, accutime, **kwargs): function import_mch_hdf5 (line 1052) | def import_mch_hdf5(filename, qty="RATE", **kwargs): function _read_mch_hdf5_what_group (line 1186) | def _read_mch_hdf5_what_group(whatgrp): function import_mch_metranet (line 1197) | def import_mch_metranet(filename, product, unit, accutime): function _import_mch_geodata (line 1262) | def _import_mch_geodata(): function import_odim_hdf5 (line 1298) | def import_odim_hdf5(filename, qty="RATE", **kwargs): function import_opera_hdf5 (line 1521) | def import_opera_hdf5(filename, qty="RATE", **kwargs): function _read_opera_hdf5_what_group (line 1531) | def _read_opera_hdf5_what_group(whatgrp): function import_saf_crri (line 1542) | def import_saf_crri(filename, extent=None, **kwargs): function _import_saf_crri_data (line 1618) | def _import_saf_crri_data(filename, idx_x=None, idx_y=None): function _import_saf_crri_geodata (line 1636) | def _import_saf_crri_geodata(filename): function import_dwd_hdf5 (line 1677) | def import_dwd_hdf5(filename, qty="RATE", **kwargs): function _read_hdf5_cont (line 1894) | def _read_hdf5_cont(f, d): function _get_whatgrp (line 1935) | def _get_whatgrp(d, g): function import_dwd_radolan (line 1971) | def import_dwd_radolan(filename, product_name): function _identify_info_bits (line 2071) | def _identify_info_bits(data): function _import_dwd_geodata (line 2118) | def _import_dwd_geodata(product_name, dims): FILE: pysteps/io/interface.py function discover_importers (line 45) | def discover_importers(): function importers_info (line 82) | def importers_info(): function get_method (line 132) | def get_method(name, method_type): FILE: pysteps/io/nowcast_importers.py function import_netcdf_pysteps (line 85) | def import_netcdf_pysteps(filename, onerror="warn", **kwargs): function _convert_grid_mapping_to_proj4 (line 223) | def _convert_grid_mapping_to_proj4(grid_mapping): FILE: pysteps/io/readers.py function read_timeseries (line 17) | def read_timeseries(inputfns, importer, **kwargs): FILE: pysteps/motion/constant.py function constant (line 20) | def constant(R, **kwargs): FILE: pysteps/motion/darts.py function DARTS (line 23) | def DARTS(input_images, **kwargs): function _leastsq (line 223) | def _leastsq(A, B, y): function _fill (line 240) | def _fill(X, h, w, k_x, k_y): FILE: pysteps/motion/farneback.py function farneback (line 40) | def farneback( FILE: pysteps/motion/interface.py function get_method (line 49) | def get_method(name): FILE: pysteps/motion/lucaskanade.py function dense_lucaskanade (line 39) | def dense_lucaskanade( FILE: pysteps/motion/proesmans.py function proesmans (line 22) | def proesmans( FILE: pysteps/motion/vet.py function round_int (line 46) | def round_int(scalar): function ceil_int (line 53) | def ceil_int(scalar): function get_padding (line 60) | def get_padding(dimension_size, sectors): function morph (line 93) | def morph(image, displacement, gradient=False): function vet_cost_function_gradient (line 156) | def vet_cost_function_gradient(*args, **kwargs): function vet_cost_function (line 165) | def vet_cost_function( function vet (line 303) | def vet( FILE: pysteps/noise/fftgenerators.py function initialize_param_2d_fft_filter (line 53) | def initialize_param_2d_fft_filter(field, **kwargs): function initialize_nonparam_2d_fft_filter (line 221) | def initialize_nonparam_2d_fft_filter(field, **kwargs): function generate_noise_2d_fft_filter (line 330) | def generate_noise_2d_fft_filter( function initialize_nonparam_2d_ssft_filter (line 442) | def initialize_nonparam_2d_ssft_filter(field, **kwargs): function initialize_nonparam_2d_nested_filter (line 577) | def initialize_nonparam_2d_nested_filter(field, gridres=1.0, **kwargs): function generate_noise_2d_ssft_filter (line 735) | def generate_noise_2d_ssft_filter(F, randstate=None, seed=None, **kwargs): function _split_field (line 855) | def _split_field(idxi, idxj, Segments): function _get_mask (line 882) | def _get_mask(Size, idxi, idxj, win_fun): FILE: pysteps/noise/interface.py function get_method (line 48) | def get_method(name): FILE: pysteps/noise/motion.py function get_default_params_bps_par (line 43) | def get_default_params_bps_par(): function get_default_params_bps_perp (line 49) | def get_default_params_bps_perp(): function initialize_bps (line 55) | def initialize_bps( function generate_bps (line 146) | def generate_bps(perturbator, t): FILE: pysteps/noise/utils.py function compute_noise_stddev_adjs (line 24) | def compute_noise_stddev_adjs( FILE: pysteps/nowcasts/anvil.py function forecast (line 37) | def forecast( function _check_inputs (line 331) | def _check_inputs(vil, rainrate, velocity, timesteps, ar_order): function _estimate_ar1_params (line 358) | def _estimate_ar1_params(gamma): function _estimate_ar2_params (line 369) | def _estimate_ar2_params(gamma): function _moving_window_corrcoef (line 389) | def _moving_window_corrcoef(x, y, window_radius): function _r_vil_regression (line 431) | def _r_vil_regression(vil, r, window_radius): function _update (line 480) | def _update(state, params): FILE: pysteps/nowcasts/extrapolation.py function forecast (line 19) | def forecast( function _check_inputs (line 104) | def _check_inputs(precip, velocity, timesteps): FILE: pysteps/nowcasts/interface.py function get_method (line 57) | def get_method(name): FILE: pysteps/nowcasts/lagrangian_probability.py function forecast (line 20) | def forecast( function _get_kernel (line 110) | def _get_kernel(size): FILE: pysteps/nowcasts/linda.py function forecast (line 62) | def forecast( function _check_inputs (line 386) | def _check_inputs(precip, velocity, timesteps, ari_order): function _composite_convolution (line 403) | def _composite_convolution(field, kernels, weights): function _compute_ellipse_bbox (line 417) | def _compute_ellipse_bbox(phi, sigma1, sigma2, cutoff): function _compute_inverse_acf_mapping (line 436) | def _compute_inverse_acf_mapping(target_dist, target_dist_params, n_inte... function _compute_kernel_anisotropic (line 465) | def _compute_kernel_anisotropic(params, cutoff=6.0): function _compute_kernel_isotropic (line 494) | def _compute_kernel_isotropic(sigma, cutoff=6.0): function _compute_parametric_acf (line 518) | def _compute_parametric_acf(params, m, n): function _compute_sample_acf (line 553) | def _compute_sample_acf(field): function _compute_window_weights (line 562) | def _compute_window_weights(coords, grid_height, grid_width, window_radi... function _estimate_ar1_params (line 594) | def _estimate_ar1_params( function _estimate_ar2_params (line 623) | def _estimate_ar2_params( function _estimate_convol_params (line 673) | def _estimate_convol_params( function _estimate_perturbation_params (line 749) | def _estimate_perturbation_params( function _fit_acf (line 865) | def _fit_acf(acf): function _fit_dist (line 889) | def _fit_dist(err, dist, wf, mask): function _generate_perturbations (line 900) | def _generate_perturbations(pert_gen, num_workers, seed): function _get_acf_params (line 939) | def _get_acf_params(p): function _get_anisotropic_kernel_params (line 944) | def _get_anisotropic_kernel_params(p): function _iterate_ar_model (line 951) | def _iterate_ar_model(input_fields, psi): function _linda_forecast (line 961) | def _linda_forecast( function _linda_deterministic_init (line 1062) | def _linda_deterministic_init( function _linda_perturbation_init (line 1298) | def _linda_perturbation_init( function _masked_convolution (line 1396) | def _masked_convolution(field, kernel): function _update (line 1410) | def _update(state, params): function _weighted_std (line 1455) | def _weighted_std(f, w): function _window_tukey (line 1469) | def _window_tukey(m, n, ci, cj, ri, rj, alpha=0.5): function _window_uniform (line 1500) | def _window_uniform(m, n, ci, cj, ri, rj): FILE: pysteps/nowcasts/sprog.py function forecast (line 32) | def forecast( function _check_inputs (line 380) | def _check_inputs(precip, velocity, timesteps, ar_order): function _update (line 396) | def _update(state, params): FILE: pysteps/nowcasts/sseps.py function forecast (line 40) | def forecast( function _check_inputs (line 937) | def _check_inputs(precip, velocity, timesteps, ar_order): function _recompose_cascade (line 954) | def _recompose_cascade(precip, mu, sigma): function _build_2D_tapering_function (line 961) | def _build_2D_tapering_function(win_size, win_type="flat-hanning"): function _get_mask (line 1024) | def _get_mask(Size, idxi, idxj, win_type="flat-hanning"): FILE: pysteps/nowcasts/steps.py class StepsNowcasterConfig (line 42) | class StepsNowcasterConfig: class StepsNowcasterParams (line 239) | class StepsNowcasterParams: class StepsNowcasterState (line 266) | class StepsNowcasterState: class StepsNowcaster (line 287) | class StepsNowcaster: method __init__ (line 288) | def __init__( method compute_forecast (line 308) | def compute_forecast(self): method __nowcast_main (line 416) | def __nowcast_main(self): method __check_inputs (line 451) | def __check_inputs(self): method __print_forecast_info (line 545) | def __print_forecast_info(self): method __initialize_nowcast_components (line 617) | def __initialize_nowcast_components(self): method __perform_extrapolation (line 663) | def __perform_extrapolation(self): method __apply_noise_and_ar_model (line 716) | def __apply_noise_and_ar_model(self): method __initialize_velocity_perturbations (line 896) | def __initialize_velocity_perturbations(self): method __initialize_precipitation_mask (line 930) | def __initialize_precipitation_mask(self): method __initialize_fft_objects (line 994) | def __initialize_fft_objects(self): method __return_state_dict (line 1006) | def __return_state_dict(self): method __return_params_dict (line 1020) | def __return_params_dict(self, precip): method __update_state (line 1049) | def __update_state(self, state, params): method __update_deterministic_ar_model (line 1081) | def __update_deterministic_ar_model(self, state, params): method __apply_ar_model_to_cascades (line 1108) | def __apply_ar_model_to_cascades(self, j, state, params): method __generate_and_decompose_noise (line 1140) | def __generate_and_decompose_noise(self, j, state, params): method __recompose_and_apply_mask (line 1164) | def __recompose_and_apply_mask(self, j, state, params): method __apply_precipitation_mask (line 1213) | def __apply_precipitation_mask(self, precip_forecast, j, state, params): method __measure_time (line 1234) | def __measure_time(self, label, start_time): method reset_states_and_params (line 1248) | def reset_states_and_params(self): function forecast (line 1265) | def forecast( FILE: pysteps/nowcasts/utils.py function binned_timesteps (line 34) | def binned_timesteps(timesteps): function compute_dilated_mask (line 69) | def compute_dilated_mask(input_mask, kr, r): function compute_percentile_mask (line 102) | def compute_percentile_mask(precip, pct): function zero_precipitation_forecast (line 141) | def zero_precipitation_forecast( function create_timestep_range (line 247) | def create_timestep_range(timesteps): function nowcast_main_loop (line 265) | def nowcast_main_loop( function print_ar_params (line 536) | def print_ar_params(phi): function print_corrcoefs (line 574) | def print_corrcoefs(gamma): function stack_cascades (line 612) | def stack_cascades(precip_decomp, n_levels, convert_to_full_arrays=False): FILE: pysteps/postprocessing/ensemblestats.py function mean (line 20) | def mean(X, ignore_nan=False, X_thr=None): function excprob (line 61) | def excprob(X, X_thr, ignore_nan=False): function banddepth (line 118) | def banddepth(X, thr=None, norm=False): FILE: pysteps/postprocessing/interface.py function add_postprocessor (line 36) | def add_postprocessor( function discover_postprocessors (line 79) | def discover_postprocessors(): function print_postprocessors_info (line 103) | def print_postprocessors_info(module_name, interface_methods, module_met... function postprocessors_info (line 146) | def postprocessors_info(): function get_method (line 187) | def get_method(name, method_type): FILE: pysteps/postprocessing/probmatching.py function compute_empirical_cdf (line 24) | def compute_empirical_cdf(bin_edges, hist): function nonparam_match_empirical_cdf (line 55) | def nonparam_match_empirical_cdf(initial_array, target_array, ignore_ind... function pmm_init (line 144) | def pmm_init(bin_edges_1, cdf_1, bin_edges_2, cdf_2): function pmm_compute (line 171) | def pmm_compute(pmm, x): function shift_scale (line 193) | def shift_scale(R, f, rain_fraction_trg, second_moment_trg, **kwargs): function resample_distributions (line 277) | def resample_distributions( function _invfunc (line 340) | def _invfunc(y, fx, fy): FILE: pysteps/tests/helpers.py function get_precipitation_fields (line 28) | def get_precipitation_fields( function smart_assert (line 214) | def smart_assert(actual_value, expected, tolerance=None): function get_invalid_mask (line 232) | def get_invalid_mask(input_array, fillna=np.nan): FILE: pysteps/tests/test_archive.py function test_generate_path (line 19) | def test_generate_path(timestamp, path_fmt, expected_path): FILE: pysteps/tests/test_blending_clim.py function generate_fixed_skill (line 22) | def generate_fixed_skill(n_cascade_levels, n_models=1): function test_save_skill (line 101) | def test_save_skill(startdatestr, enddatestr, n_models, expected_skill_t... FILE: pysteps/tests/test_blending_linear_blending.py function test_linear_blending (line 162) | def test_linear_blending( function test_salient_weight (line 293) | def test_salient_weight( FILE: pysteps/tests/test_blending_pca_ens_kalman_filter.py function test_pca_enkf_combination (line 75) | def test_pca_enkf_combination( FILE: pysteps/tests/test_blending_skill_scores.py function test_blending_skill_scores (line 229) | def test_blending_skill_scores( FILE: pysteps/tests/test_blending_steps.py function test_steps_blending (line 103) | def test_steps_blending( FILE: pysteps/tests/test_blending_utils.py function test_blending_utils (line 166) | def test_blending_utils( function test_blending_smoothing_utils (line 429) | def test_blending_smoothing_utils( FILE: pysteps/tests/test_cascade.py function test_decompose_recompose (line 17) | def test_decompose_recompose(): function test_filter_uniform (line 60) | def test_filter_uniform(variable, expected, tolerance): function test_filter_uniform_weights_1d (line 65) | def test_filter_uniform_weights_1d(): function test_filter_uniform_weights_2d (line 70) | def test_filter_uniform_weights_2d(): FILE: pysteps/tests/test_datasets.py function test_load_dataset (line 27) | def test_load_dataset(case_name): function _test_download_data (line 42) | def _test_download_data(): function _default_path (line 60) | def _default_path(): function test_params_file_creation_path (line 81) | def test_params_file_creation_path(config_dir, file_name, expected_path): FILE: pysteps/tests/test_decorators.py function test_memoize (line 7) | def test_memoize(): FILE: pysteps/tests/test_downscaling_rainfarm.py function data (line 11) | def data(): function test_rainfarm_shape (line 37) | def test_rainfarm_shape( function test_rainfarm_aggregate (line 76) | def test_rainfarm_aggregate( function test_rainfarm_alpha (line 110) | def test_rainfarm_alpha( FILE: pysteps/tests/test_ensscores.py function test_rankhist_size (line 21) | def test_rankhist_size(X_f, X_o, X_min, normalize, expected): function test_ensemble_skill (line 43) | def test_ensemble_skill(X_f, X_o, metric, kwargs, expected): function test_ensemble_spread (line 59) | def test_ensemble_spread(X_f, metric, kwargs, expected): FILE: pysteps/tests/test_exporters.py function test_get_geotiff_filename (line 41) | def test_get_geotiff_filename(): function test_io_export_netcdf_one_member_one_time_step (line 60) | def test_io_export_netcdf_one_member_one_time_step( function test_convert_proj4_to_grid_mapping (line 190) | def test_convert_proj4_to_grid_mapping(proj4str, expected_value): FILE: pysteps/tests/test_extrapolation_semilagrangian.py function test_semilagrangian (line 9) | def test_semilagrangian(): function test_wrong_input_dimensions (line 27) | def test_wrong_input_dimensions(): function test_ascending_time_step (line 47) | def test_ascending_time_step(): function test_semilagrangian_timesteps (line 57) | def test_semilagrangian_timesteps(): FILE: pysteps/tests/test_feature.py function test_feature (line 11) | def test_feature(method, max_num_features): FILE: pysteps/tests/test_feature_tstorm.py function test_feature_tstorm_detection (line 33) | def test_feature_tstorm_detection( FILE: pysteps/tests/test_importer_decorator.py function test_postprocess_import_decorator (line 20) | def test_postprocess_import_decorator(source, default_dtype): FILE: pysteps/tests/test_interfaces.py function _generic_interface_test (line 9) | def _generic_interface_test(method_getter, valid_names_func_pair, invali... function test_nowcasts_interface (line 22) | def test_nowcasts_interface(): function test_cascade_interface (line 41) | def test_cascade_interface(): function test_extrapolation_interface (line 58) | def test_extrapolation_interface(): function test_io_interface (line 94) | def test_io_interface(): function test_postprocessing_interface (line 155) | def test_postprocessing_interface(): function test_motion_interface (line 211) | def test_motion_interface(): function test_noise_interface (line 245) | def test_noise_interface(): function test_nowcasts_interface (line 280) | def test_nowcasts_interface(): function test_utils_interface (line 320) | def test_utils_interface(): function test_downscaling_interface (line 370) | def test_downscaling_interface(): function test_feature_interface (line 385) | def test_feature_interface(): function test_tracking_interface (line 404) | def test_tracking_interface(): FILE: pysteps/tests/test_io_archive.py function test_find_by_date_mch (line 8) | def test_find_by_date_mch(): FILE: pysteps/tests/test_io_bom_rf3.py function test_io_import_bom_rf3_metadata (line 36) | def test_io_import_bom_rf3_metadata(variable, expected, tolerance): function test_io_import_bom_rf3_shape (line 47) | def test_io_import_bom_rf3_shape(): function test_io_import_bom_rf3_geodata (line 78) | def test_io_import_bom_rf3_geodata(variable, expected, tolerance): FILE: pysteps/tests/test_io_dwd_hdf5.py function test_io_import_dwd_hdf5_ry_shape (line 23) | def test_io_import_dwd_hdf5_ry_shape(): function test_io_import_dwd_hdf5_ry_metadata (line 62) | def test_io_import_dwd_hdf5_ry_metadata(variable, expected, tolerance): FILE: pysteps/tests/test_io_fmi_geotiff.py function test_io_import_fmi_geotiff_shape (line 20) | def test_io_import_fmi_geotiff_shape(): function test_io_import_fmi_pgm_geodata (line 44) | def test_io_import_fmi_pgm_geodata(variable, expected, tolerance): FILE: pysteps/tests/test_io_fmi_pgm.py function test_io_import_fmi_pgm_shape (line 20) | def test_io_import_fmi_pgm_shape(): function test_io_import_mch_gif_dataset_attrs (line 62) | def test_io_import_mch_gif_dataset_attrs(variable, expected, tolerance): function test_io_import_fmi_pgm_geodata (line 82) | def test_io_import_fmi_pgm_geodata(variable, expected, tolerance): FILE: pysteps/tests/test_io_knmi_hdf5.py function test_io_import_knmi_hdf5_shape (line 18) | def test_io_import_knmi_hdf5_shape(): function test_io_import_knmi_hdf5_metadata (line 52) | def test_io_import_knmi_hdf5_metadata(variable, expected, tolerance): FILE: pysteps/tests/test_io_mch_gif.py function test_io_import_mch_gif_shape (line 17) | def test_io_import_mch_gif_shape(): function test_io_import_mch_gif_dataset_attrs (line 53) | def test_io_import_mch_gif_dataset_attrs(variable, expected, tolerance): function test_io_import_mch_geodata (line 73) | def test_io_import_mch_geodata(variable, expected, tolerance): FILE: pysteps/tests/test_io_mrms_grib.py function test_io_import_mrms_grib (line 14) | def test_io_import_mrms_grib(): FILE: pysteps/tests/test_io_nowcast_importers.py function test_import_netcdf (line 20) | def test_import_netcdf(precip, metadata, tmp_path): FILE: pysteps/tests/test_io_opera_hdf5.py function test_io_import_opera_hdf5_odyssey_shape (line 42) | def test_io_import_opera_hdf5_odyssey_shape(): function test_io_import_opera_hdf5_cirrus_shape (line 47) | def test_io_import_opera_hdf5_cirrus_shape(): function test_io_import_opera_hdf5_nimbus_rain_rate_shape (line 52) | def test_io_import_opera_hdf5_nimbus_rain_rate_shape(): function test_io_import_opera_hdf5_nimbus_rain_accum_shape (line 57) | def test_io_import_opera_hdf5_nimbus_rain_accum_shape(): function test_io_import_opera_hdf5_odyssey_dataset_attrs (line 95) | def test_io_import_opera_hdf5_odyssey_dataset_attrs(variable, expected, ... function test_io_import_opera_hdf5_cirrus_dataset_attrs (line 125) | def test_io_import_opera_hdf5_cirrus_dataset_attrs(variable, expected, t... function test_io_import_opera_hdf5_nimbus_rain_rate_dataset_attrs (line 155) | def test_io_import_opera_hdf5_nimbus_rain_rate_dataset_attrs( function test_io_import_opera_hdf5_nimbus_rain_accum_dataset_attrs (line 187) | def test_io_import_opera_hdf5_nimbus_rain_accum_dataset_attrs( FILE: pysteps/tests/test_io_readers.py function test_read_timeseries_mch (line 9) | def test_read_timeseries_mch(): FILE: pysteps/tests/test_io_saf_crri.py function test_io_import_saf_crri_geodata (line 31) | def test_io_import_saf_crri_geodata(variable, expected, tolerance): function test_io_import_saf_crri_attrs (line 61) | def test_io_import_saf_crri_attrs(variable, expected, tolerance): function test_io_import_saf_crri_extent (line 80) | def test_io_import_saf_crri_extent(extent, expected_extent, expected_sha... FILE: pysteps/tests/test_motion.py function not_raises (line 34) | def not_raises(_exception): function _create_motion_field (line 44) | def _create_motion_field(input_precip, motion_type): function _create_observations (line 83) | def _create_observations(input_precip, motion_type, num_times=9): function test_optflow_method_convergence (line 173) | def test_optflow_method_convergence( function test_no_precipitation (line 266) | def test_no_precipitation(optflow_method_name, num_times): function test_input_shape_checks (line 307) | def test_input_shape_checks( function test_vet_padding (line 331) | def test_vet_padding(): function test_vet_cost_function (line 365) | def test_vet_cost_function(): function test_motion_masked_array (line 407) | def test_motion_masked_array(method, kwargs): FILE: pysteps/tests/test_motion_farneback.py function test_farneback_params (line 41) | def test_farneback_params( function test_farneback_invalid_shape (line 85) | def test_farneback_invalid_shape(): function test_farneback_nan_input (line 93) | def test_farneback_nan_input(): function test_farneback_cv2_missing (line 103) | def test_farneback_cv2_missing(monkeypatch): function test_farneback_sigma_zero (line 112) | def test_farneback_sigma_zero(): function test_farneback_small_window (line 121) | def test_farneback_small_window(): function test_farneback_verbose (line 129) | def test_farneback_verbose(capsys): FILE: pysteps/tests/test_motion_lk.py function test_lk (line 43) | def test_lk( FILE: pysteps/tests/test_noise_fftgenerators.py function test_noise_param_2d_fft_filter (line 16) | def test_noise_param_2d_fft_filter(): function test_noise_nonparam_2d_fft_filter (line 28) | def test_noise_nonparam_2d_fft_filter(): function test_noise_nonparam_2d_ssft_filter (line 40) | def test_noise_nonparam_2d_ssft_filter(): function test_noise_nonparam_2d_nested_filter (line 52) | def test_noise_nonparam_2d_nested_filter(): FILE: pysteps/tests/test_noise_motion.py function test_noise_motion_get_default_params_bps_par (line 13) | def test_noise_motion_get_default_params_bps_par(): function test_noise_motion_get_default_params_bps_perp (line 20) | def test_noise_motion_get_default_params_bps_perp(): function test_initialize_bps (line 40) | def test_initialize_bps(variable, expected): function test_generate_bps (line 51) | def test_generate_bps(): FILE: pysteps/tests/test_nowcasts_anvil.py function test_default_anvil_norain (line 23) | def test_default_anvil_norain(): function test_anvil_rainrate (line 46) | def test_anvil_rainrate( FILE: pysteps/tests/test_nowcasts_lagrangian_probability.py function test_numerical_example (line 10) | def test_numerical_example(): function test_numerical_example_with_float_slope_and_float_list_timesteps (line 35) | def test_numerical_example_with_float_slope_and_float_list_timesteps(): function test_real_case (line 54) | def test_real_case(): function test_wrong_inputs (line 88) | def test_wrong_inputs(): FILE: pysteps/tests/test_nowcasts_linda.py function test_default_linda_norain (line 30) | def test_default_linda_norain(): function test_linda (line 57) | def test_linda( function test_linda_wrong_inputs (line 133) | def test_linda_wrong_inputs(): function test_linda_callback (line 169) | def test_linda_callback(tmp_path): FILE: pysteps/tests/test_nowcasts_sprog.py function test_default_sprog_norain (line 28) | def test_default_sprog_norain(): function test_sprog (line 52) | def test_sprog( FILE: pysteps/tests/test_nowcasts_sseps.py function test_default_sseps_norain (line 26) | def test_default_sseps_norain(): function test_sseps (line 58) | def test_sseps( FILE: pysteps/tests/test_nowcasts_steps.py function test_default_steps_norain (line 33) | def test_default_steps_norain(): function test_steps_skill (line 61) | def test_steps_skill( function test_steps_callback (line 119) | def test_steps_callback(tmp_path): FILE: pysteps/tests/test_nowcasts_utils.py function test_nowcast_main_loop (line 25) | def test_nowcast_main_loop( FILE: pysteps/tests/test_paramsrc.py function test_read_paramsrc (line 37) | def test_read_paramsrc(): FILE: pysteps/tests/test_plt_animate.py function test_animate (line 41) | def test_animate(anim_args, anim_kwargs): function test_animate_valueerrors (line 54) | def test_animate_valueerrors(anim_args, anim_kwargs): function test_animate_typeerrors (line 70) | def test_animate_typeerrors(anim_args, anim_kwargs): function test_animate_save (line 75) | def test_animate_save(tmp_path): FILE: pysteps/tests/test_plt_cartopy.py function test_visualization_plot_precip_field (line 27) | def test_visualization_plot_precip_field(source, map_kwargs, pass_geodata): FILE: pysteps/tests/test_plt_motionfields.py function test_visualization_motionfields_quiver (line 30) | def test_visualization_motionfields_quiver( function test_visualization_motionfields_streamplot (line 75) | def test_visualization_motionfields_streamplot( FILE: pysteps/tests/test_plt_precipfields.py function test_visualization_plot_precip_field (line 40) | def test_visualization_plot_precip_field( FILE: pysteps/tests/test_plugins_support.py function _check_installed_importer_plugin (line 23) | def _check_installed_importer_plugin(import_func_name): function _check_installed_diagnostic_plugin (line 35) | def _check_installed_diagnostic_plugin(diagnostic_func_name): function _create_and_install_plugin (line 45) | def _create_and_install_plugin(project_name, plugin_type): function _uninstall_plugin (line 80) | def _uninstall_plugin(project_name): function test_importers_plugins (line 87) | def test_importers_plugins(): function test_diagnostic_plugins (line 92) | def test_diagnostic_plugins(): FILE: pysteps/tests/test_postprocessing_ensemblestats.py function test_ensemblestats_mean (line 34) | def test_ensemblestats_mean(X, ignore_nan, X_thr, expected): function test_exceptions_mean (line 45) | def test_exceptions_mean(X): function test_ensemblestats_excprob (line 62) | def test_ensemblestats_excprob(X, X_thr, ignore_nan, expected): function test_exceptions_excprob (line 72) | def test_exceptions_excprob(X): function test_ensemblestats_banddepth (line 89) | def test_ensemblestats_banddepth(X, thr, norm, expected): FILE: pysteps/tests/test_postprocessing_probmatching.py class TestResampleDistributions (line 10) | class TestResampleDistributions: method setup (line 13) | def setup(self): method test_valid_inputs (line 17) | def test_valid_inputs(self): method test_probability_zero (line 28) | def test_probability_zero(self): method test_probability_one (line 37) | def test_probability_one(self): method test_nan_in_arr1_prob_1 (line 46) | def test_nan_in_arr1_prob_1(self): method test_nan_in_arr1_prob_0 (line 56) | def test_nan_in_arr1_prob_0(self): method test_nan_in_arr2_prob_1 (line 66) | def test_nan_in_arr2_prob_1(self): method test_nan_in_arr2_prob_0 (line 76) | def test_nan_in_arr2_prob_0(self): method test_nan_in_both_prob_1 (line 86) | def test_nan_in_both_prob_1(self): method test_nan_in_both_prob_0 (line 96) | def test_nan_in_both_prob_0(self): class TestNonparamMatchEmpiricalCDF (line 107) | class TestNonparamMatchEmpiricalCDF: method setup (line 109) | def setup(self): method test_ignore_indices_with_nans_both (line 113) | def test_ignore_indices_with_nans_both(self): method test_zeroes_initial (line 122) | def test_zeroes_initial(self): method test_nans_initial (line 129) | def test_nans_initial(self): method test_all_nans_initial (line 140) | def test_all_nans_initial(self): method test_ignore_indices_nans_initial (line 146) | def test_ignore_indices_nans_initial(self): method test_ignore_indices_nans_target (line 159) | def test_ignore_indices_nans_target(self): method test_more_zeroes_in_initial (line 171) | def test_more_zeroes_in_initial(self): method test_more_zeroes_in_initial_unsrt (line 180) | def test_more_zeroes_in_initial_unsrt(self): method test_more_zeroes_in_target (line 189) | def test_more_zeroes_in_target(self): method test_2dim_array (line 198) | def test_2dim_array(self): FILE: pysteps/tests/test_timeseries_autoregression.py function test_estimate_ar_params_ols (line 14) | def test_estimate_ar_params_ols(): function test_estimate_ar_params_yw (line 38) | def test_estimate_ar_params_yw(): function test_estimate_ar_params_yw_localized (line 49) | def test_estimate_ar_params_yw_localized(): function test_estimate_ar_params_ols_localized (line 62) | def test_estimate_ar_params_ols_localized(): function test_estimate_var_params_ols (line 86) | def test_estimate_var_params_ols(): function test_estimate_var_params_ols_localized (line 113) | def test_estimate_var_params_ols_localized(): function test_estimate_var_params_yw (line 140) | def test_estimate_var_params_yw(): function test_estimate_var_params_yw_localized (line 151) | def test_estimate_var_params_yw_localized(): function test_iterate_ar (line 165) | def test_iterate_ar(): function test_iterate_ar_localized (line 173) | def test_iterate_ar_localized(): function test_iterate_var (line 182) | def test_iterate_var(): function test_iterate_var_localized (line 191) | def test_iterate_var_localized(): function _create_data_multivariate (line 200) | def _create_data_multivariate(): function _create_data_univariate (line 224) | def _create_data_univariate(): FILE: pysteps/tests/test_tracking_tdating.py function test_tracking_tdating_dating_multistep (line 27) | def test_tracking_tdating_dating_multistep(source, len_timesteps, output... function test_tracking_tdating_dating (line 74) | def test_tracking_tdating_dating(source, dry_input, output_splits_merges): FILE: pysteps/tests/test_utils_arrays.py function test_compute_centred_coord_array (line 19) | def test_compute_centred_coord_array(M, N, expected): FILE: pysteps/tests/test_utils_cleansing.py function test_decluster_empty (line 9) | def test_decluster_empty(): function test_decluster_single (line 23) | def test_decluster_single(): function test_decluster (line 42) | def test_decluster(): function test_decluster_value_error_is_raise_when_input_has_nan (line 65) | def test_decluster_value_error_is_raise_when_input_has_nan(): function test_detect_outlier_constant (line 74) | def test_detect_outlier_constant(): function test_detect_outlier_univariate_global (line 97) | def test_detect_outlier_univariate_global(): function test_detect_outlier_multivariate_global (line 117) | def test_detect_outlier_multivariate_global(): function test_detect_outlier_univariate_local (line 140) | def test_detect_outlier_univariate_local(): function test_detect_outlier_multivariate_local (line 162) | def test_detect_outlier_multivariate_local(): function test_detect_outlier_wrong_input_dims_raise_error (line 188) | def test_detect_outlier_wrong_input_dims_raise_error(): FILE: pysteps/tests/test_utils_conversion.py function test_to_rainrate (line 114) | def test_to_rainrate(R, metadata, expected): function test_to_raindepth (line 224) | def test_to_raindepth(R, metadata, expected): function test_to_reflectivity (line 334) | def test_to_reflectivity(R, metadata, expected): FILE: pysteps/tests/test_utils_dimension.py function test_aggregate_fields (line 63) | def test_aggregate_fields(data, window_size, axis, method, expected): function test_aggregate_fields_errors (line 90) | def test_aggregate_fields_errors(): function test_aggregate_fields_time (line 131) | def test_aggregate_fields_time(R, metadata, time_window_min, ignore_nan,... function test_aggregate_fields_space (line 166) | def test_aggregate_fields_space(R, metadata, space_window, ignore_nan, e... function test_clip_domain (line 227) | def test_clip_domain(R, metadata, extent, expected): function test_square_domain (line 289) | def test_square_domain(R, metadata, method, inverse, expected): FILE: pysteps/tests/test_utils_interpolate.py function test_interp_univariate (line 14) | def test_interp_univariate(interp_method): function test_interp_multivariate (line 29) | def test_interp_multivariate(interp_method): function test_wrong_inputs (line 45) | def test_wrong_inputs(interp_method): function test_one_sample_input (line 82) | def test_one_sample_input(interp_method): function test_uniform_input (line 97) | def test_uniform_input(interp_method): function test_idwinterp2d_k1 (line 115) | def test_idwinterp2d_k1(): function test_idwinterp2d_kNone (line 130) | def test_idwinterp2d_kNone(): FILE: pysteps/tests/test_utils_pca.py function test_pca (line 18) | def test_pca(len_y, n_components): FILE: pysteps/tests/test_utils_reprojection.py function test_utils_reproject_grids (line 76) | def test_utils_reproject_grids( FILE: pysteps/tests/test_utils_spectral.py function test_rapsd (line 14) | def test_rapsd(field): FILE: pysteps/tests/test_utils_transformation.py function test_boxcox_transform (line 77) | def test_boxcox_transform(R, metadata, Lambda, threshold, zerovalue, inv... function test_dB_transform (line 123) | def test_dB_transform(R, metadata, threshold, zerovalue, inverse, expect... function test_NQ_transform (line 149) | def test_NQ_transform(R, metadata, inverse, expected): function test_sqrt_transform (line 186) | def test_sqrt_transform(R, metadata, inverse, expected): FILE: pysteps/tests/test_verification_detcatscores.py function test_det_cat_fct (line 59) | def test_det_cat_fct(pred, obs, thr, scores, expected): FILE: pysteps/tests/test_verification_detcontscores.py function test_det_cont_fct (line 146) | def test_det_cont_fct(pred, obs, scores, axis, conditioning, expected): FILE: pysteps/tests/test_verification_probscores.py function test_CRPS (line 18) | def test_CRPS(X_f, X_o, expected): function test_reldiag_sum (line 28) | def test_reldiag_sum(X_f, X_o, X_min, n_bins, min_count, expected): function test_ROC_curve_area (line 43) | def test_ROC_curve_area(X_f, X_o, X_min, n_prob_thrs, compute_area, expe... FILE: pysteps/tests/test_verification_salscores.py class TestSAL (line 17) | class TestSAL: method test_sal_zeros (line 21) | def test_sal_zeros(self, converter, thr_factor): method test_sal_same_image (line 36) | def test_sal_same_image(self, converter, thr_factor): method test_sal_translation (line 47) | def test_sal_translation(self, converter, thr_factor): FILE: pysteps/tests/test_verification_spatialscores.py function test_intensity_scale (line 17) | def test_intensity_scale(X_f, X_o, name, thrs, scales, wavelet, expected): function test_intensity_scale_methods (line 36) | def test_intensity_scale_methods(R1, R2, name, thrs, scales, wavelet): FILE: pysteps/timeseries/autoregression.py function adjust_lag2_corrcoef1 (line 31) | def adjust_lag2_corrcoef1(gamma_1, gamma_2): function adjust_lag2_corrcoef2 (line 55) | def adjust_lag2_corrcoef2(gamma_1, gamma_2): function ar_acf (line 81) | def ar_acf(gamma, n=None): function estimate_ar_params_ols (line 123) | def estimate_ar_params_ols( function estimate_ar_params_ols_localized (line 235) | def estimate_ar_params_ols_localized( function estimate_ar_params_yw (line 402) | def estimate_ar_params_yw(gamma, d=0, check_stationarity=True): function estimate_ar_params_yw_localized (line 478) | def estimate_ar_params_yw_localized(gamma, d=0): function estimate_var_params_ols (line 556) | def estimate_var_params_ols( function estimate_var_params_ols_localized (line 674) | def estimate_var_params_ols_localized( function estimate_var_params_yw (line 852) | def estimate_var_params_yw(gamma, d=0, check_stationarity=True): function estimate_var_params_yw_localized (line 937) | def estimate_var_params_yw_localized(gamma, d=0): function iterate_ar_model (line 1018) | def iterate_ar_model(x, phi, eps=None): function iterate_var_model (line 1074) | def iterate_var_model(x, phi, eps=None): function test_ar_stationarity (line 1136) | def test_ar_stationarity(phi): function test_var_stationarity (line 1162) | def test_var_stationarity(phi): function _compute_differenced_model_params (line 1197) | def _compute_differenced_model_params(phi, p, q, d): FILE: pysteps/timeseries/correlation.py function temporal_autocorrelation (line 21) | def temporal_autocorrelation( function temporal_autocorrelation_multivariate (line 133) | def temporal_autocorrelation_multivariate( function _moving_window_corrcoef (line 222) | def _moving_window_corrcoef(x, y, window_radius, window="gaussian", mask... FILE: pysteps/tracking/interface.py function get_method (line 23) | def get_method(name): FILE: pysteps/tracking/lucaskanade.py function track_features (line 35) | def track_features( FILE: pysteps/tracking/tdating.py function dating (line 52) | def dating( function tracking (line 271) | def tracking( function advect (line 346) | def advect(cells_id, labels, V1, output_splits_merges=False): function match (line 400) | def match(cells_ad, labels, match_frac=0.4, split_frac=0.1, output_split... function couple_track (line 448) | def couple_track(cell_list, max_ID, mintrack): FILE: pysteps/utils/arrays.py function compute_centred_coord_array (line 16) | def compute_centred_coord_array(M, N): FILE: pysteps/utils/check_norain.py function check_norain (line 6) | def check_norain(precip_arr, precip_thr=None, norain_thr=0.0, win_fun=No... FILE: pysteps/utils/cleansing.py function decluster (line 21) | def decluster(coord, input_array, scale, min_samples=1, verbose=False): function detect_outliers (line 124) | def detect_outliers(input_array, thr, coord=None, k=None, verbose=False): FILE: pysteps/utils/conversion.py function to_rainrate (line 25) | def to_rainrate(R, metadata, zr_a=None, zr_b=None): function to_raindepth (line 116) | def to_raindepth(R, metadata, zr_a=None, zr_b=None): function to_reflectivity (line 207) | def to_reflectivity(R, metadata, zr_a=None, zr_b=None): FILE: pysteps/utils/dimension.py function aggregate_fields_time (line 25) | def aggregate_fields_time(R, metadata, time_window_min, ignore_nan=False): function aggregate_fields_space (line 120) | def aggregate_fields_space(R, metadata, space_window, ignore_nan=False): function aggregate_fields (line 219) | def aggregate_fields(data, window_size, axis=0, method="mean", trim=False): function clip_domain (line 342) | def clip_domain(R, metadata, extent=None): function square_domain (line 454) | def square_domain(R, metadata, method="pad", inverse=False): FILE: pysteps/utils/fft.py function get_numpy (line 20) | def get_numpy(shape, fftn_shape=None, **kwargs): function get_scipy (line 39) | def get_scipy(shape, fftn_shape=None, **kwargs): function get_pyfftw (line 61) | def get_pyfftw(shape, fftn_shape=None, n_threads=1, **kwargs): FILE: pysteps/utils/images.py function morph_opening (line 27) | def morph_opening(input_image, thr, n): FILE: pysteps/utils/interface.py function get_method (line 28) | def get_method(name, **kwargs): function _get_fft_method (line 254) | def _get_fft_method(name, **kwargs): FILE: pysteps/utils/interpolate.py function idwinterp2d (line 27) | def idwinterp2d( function rbfinterp2d (line 118) | def rbfinterp2d(xy_coord, values, xgrid, ygrid, **kwargs): function _cKDTree_cached (line 174) | def _cKDTree_cached(*args, **kwargs): function _Rbf_cached (line 180) | def _Rbf_cached(*args, **kwargs): FILE: pysteps/utils/pca.py function pca_transform (line 25) | def pca_transform( function pca_backtransform (line 136) | def pca_backtransform(forecast_ens_pc: np.ndarray, pca_params: dict): FILE: pysteps/utils/reprojection.py function reproject_grids (line 36) | def reproject_grids(src_array, dst_array, metadata_src, metadata_dst): function unstructured2regular (line 132) | def unstructured2regular(src_array, metadata_src, metadata_dst): FILE: pysteps/utils/spectral.py function corrcoef (line 22) | def corrcoef(X, Y, shape, use_full_fft=False): function mean (line 79) | def mean(X, shape): function rapsd (line 100) | def rapsd( function remove_rain_norain_discontinuity (line 183) | def remove_rain_norain_discontinuity(R): function std (line 208) | def std(X, shape, use_full_fft=False): FILE: pysteps/utils/tapering.py function compute_mask_window_function (line 19) | def compute_mask_window_function(mask, func, **kwargs): function compute_window_function (line 52) | def compute_window_function(m, n, func, **kwargs): function _compute_mask_distances (line 97) | def _compute_mask_distances(mask): function _hann (line 109) | def _hann(R): function _tukey (line 119) | def _tukey(R, alpha): function _tukey_masked (line 134) | def _tukey_masked(R, r_max, mask): FILE: pysteps/utils/transformation.py function boxcox_transform (line 27) | def boxcox_transform( function dB_transform (line 150) | def dB_transform(R, metadata=None, threshold=None, zerovalue=None, inver... function NQ_transform (line 237) | def NQ_transform(R, metadata=None, inverse=False, **kwargs): function sqrt_transform (line 329) | def sqrt_transform(R, metadata=None, inverse=False, **kwargs): FILE: pysteps/verification/detcatscores.py function det_cat_fct (line 23) | def det_cat_fct(pred, obs, thr, scores="", axis=None): function det_cat_fct_init (line 100) | def det_cat_fct_init(thr, axis=None): function det_cat_fct_accum (line 145) | def det_cat_fct_accum(contab, pred, obs): function det_cat_fct_merge (line 219) | def det_cat_fct_merge(contab_1, contab_2): function det_cat_fct_compute (line 266) | def det_cat_fct_compute(contab, scores=""): FILE: pysteps/verification/detcontscores.py function det_cont_fct (line 23) | def det_cont_fct(pred, obs, scores="", axis=None, conditioning=None, thr... function det_cont_fct_init (line 208) | def det_cont_fct_init(axis=None, conditioning=None, thr=0.0): function det_cont_fct_accum (line 265) | def det_cont_fct_accum(err, pred, obs): function det_cont_fct_merge (line 393) | def det_cont_fct_merge(err_1, err_2): function det_cont_fct_compute (line 477) | def det_cont_fct_compute(err, scores=""): function _parallel_mean (line 601) | def _parallel_mean(avg_a, count_a, avg_b, count_b): function _parallel_var (line 609) | def _parallel_var(avg_a, count_a, var_a, avg_b, count_b, var_b): function _parallel_cov (line 626) | def _parallel_cov(cov_a, avg_xa, avg_ya, count_a, cov_b, avg_xb, avg_yb,... function _uniquelist (line 645) | def _uniquelist(mylist): function _scatter (line 650) | def _scatter(pred, obs, axis=None): function _spearmanr (line 703) | def _spearmanr(pred, obs, axis=None): FILE: pysteps/verification/ensscores.py function ensemble_skill (line 23) | def ensemble_skill(X_f, X_o, metric, **kwargs): function ensemble_spread (line 75) | def ensemble_spread(X_f, metric, **kwargs): function rankhist (line 127) | def rankhist(X_f, X_o, X_min=None, normalize=True): function rankhist_init (line 157) | def rankhist_init(num_ens_members, X_min=None): function rankhist_accum (line 186) | def rankhist_accum(rankhist, X_f, X_o): function rankhist_compute (line 253) | def rankhist_compute(rankhist, normalize=True): FILE: pysteps/verification/interface.py function get_method (line 15) | def get_method(name, type="deterministic"): FILE: pysteps/verification/lifetime.py function lifetime (line 24) | def lifetime(X_s, X_t, rule="1/e"): function lifetime_init (line 63) | def lifetime_init(rule="1/e"): function lifetime_accum (line 98) | def lifetime_accum(lifetime, X_s, X_t): function lifetime_compute (line 143) | def lifetime_compute(lifetime): FILE: pysteps/verification/plots.py function plot_intensityscale (line 24) | def plot_intensityscale(intscale, fig=None, vminmax=None, kmperpixel=Non... function plot_rankhist (line 88) | def plot_rankhist(rankhist, ax=None): function plot_reldiag (line 119) | def plot_reldiag(reldiag, ax=None): function plot_ROC (line 179) | def plot_ROC(ROC, ax=None, opt_prob_thr=False): FILE: pysteps/verification/probscores.py function CRPS (line 28) | def CRPS(X_f, X_o): function CRPS_init (line 58) | def CRPS_init(): function CRPS_accum (line 70) | def CRPS_accum(CRPS, X_f, X_o): function CRPS_compute (line 134) | def CRPS_compute(CRPS): function reldiag (line 151) | def reldiag(P_f, X_o, X_min, n_bins=10, min_count=10): function reldiag_init (line 184) | def reldiag_init(X_min, n_bins=10, min_count=10): function reldiag_accum (line 221) | def reldiag_accum(reldiag, P_f, X_o): function reldiag_compute (line 267) | def reldiag_compute(reldiag): function ROC_curve (line 288) | def ROC_curve(P_f, X_o, X_min, n_prob_thrs=10, compute_area=False): function ROC_curve_init (line 323) | def ROC_curve_init(X_min, n_prob_thrs=10): function ROC_curve_accum (line 352) | def ROC_curve_accum(ROC, P_f, X_o): function ROC_curve_compute (line 382) | def ROC_curve_compute(ROC, compute_area=False): FILE: pysteps/verification/salscores.py function sal (line 51) | def sal( function sal_structure (line 115) | def sal_structure( function sal_amplitude (line 166) | def sal_amplitude(prediction, observation): function sal_location (line 198) | def sal_location( function _sal_l1_param (line 245) | def _sal_l1_param(prediction, observation): function _sal_l2_param (line 274) | def _sal_l2_param(prediction, observation, thr_factor, thr_quantile, tst... function _sal_detect_objects (line 311) | def _sal_detect_objects(precip, thr_factor, thr_quantile, tstorm_kwargs): function _sal_scaled_volume (line 370) | def _sal_scaled_volume(precip_objects): function _sal_weighted_distance (line 416) | def _sal_weighted_distance(precip, thr_factor, thr_quantile, tstorm_kwar... FILE: pysteps/verification/spatialscores.py function intensity_scale (line 43) | def intensity_scale(X_f, X_o, name, thrs, scales=None, wavelet="Haar"): function intensity_scale_init (line 97) | def intensity_scale_init(name, thrs, scales=None, wavelet="Haar"): function intensity_scale_accum (line 182) | def intensity_scale_accum(intscale, X_f, X_o): function intensity_scale_merge (line 213) | def intensity_scale_merge(intscale_1, intscale_2): function intensity_scale_compute (line 261) | def intensity_scale_compute(intscale): function binary_mse (line 298) | def binary_mse(X_f, X_o, thr, wavelet="haar", return_scales=True): function binary_mse_init (line 339) | def binary_mse_init(thr, wavelet="haar"): function binary_mse_accum (line 363) | def binary_mse_accum(bmse, X_f, X_o): function binary_mse_merge (line 421) | def binary_mse_merge(bmse_1, bmse_2): function binary_mse_compute (line 475) | def binary_mse_compute(bmse, return_scales=True): function fss (line 516) | def fss(X_f, X_o, thr, scale): function fss_init (line 549) | def fss_init(thr, scale): function fss_accum (line 572) | def fss_accum(fss, X_f, X_o): function fss_merge (line 613) | def fss_merge(fss_1, fss_2): function fss_compute (line 657) | def fss_compute(fss): function _wavelet_decomp (line 680) | def _wavelet_decomp(X, w): FILE: pysteps/visualization/animations.py function animate (line 24) | def animate( FILE: pysteps/visualization/basemaps.py function plot_geography (line 53) | def plot_geography( function plot_map_cartopy (line 144) | def plot_map_cartopy( FILE: pysteps/visualization/motionfields.py function motion_plot (line 27) | def motion_plot( function quiver (line 145) | def quiver( function streamplot (line 193) | def streamplot( FILE: pysteps/visualization/precipfields.py function plot_precip_field (line 33) | def plot_precip_field( function _plot_field (line 216) | def _plot_field(precip, ax, extent, cmap, norm, origin=None, x_grid=None... function get_colormap (line 242) | def get_colormap(ptype, units="mm/h", colorscale="pysteps"): function _get_colorlist (line 306) | def _get_colorlist(units="mm/h", colorscale="pysteps"): function _dynamic_formatting_floats (line 491) | def _dynamic_formatting_floats(float_array, colorscale="pysteps"): function _validate_colormap_config (line 521) | def _validate_colormap_config(colormap_config, ptype): FILE: pysteps/visualization/spectral.py function plot_spectrum1d (line 18) | def plot_spectrum1d( FILE: pysteps/visualization/thunderstorms.py function plot_track (line 27) | def plot_track(track_list, geodata=None, ref_shape=None): function plot_cart_contour (line 62) | def plot_cart_contour(contours, geodata=None, ref_shape=None): function _pix2coord_factory (line 99) | def _pix2coord_factory(geodata, ref_shape): FILE: pysteps/visualization/utils.py function parse_proj4_string (line 79) | def parse_proj4_string(proj4str): function proj4_to_cartopy (line 109) | def proj4_to_cartopy(proj4str): function reproject_geodata (line 188) | def reproject_geodata(geodata, t_proj4str, return_grid=None): function get_geogrid (line 282) | def get_geogrid(nlat, nlon, geodata=None): function get_basemap_axis (line 376) | def get_basemap_axis(extent, geodata=None, ax=None, map_kwargs=None):