API Overview
This page groups the exported ClimateTools API by workflow. Use it as a map between the narrative guides and the concrete public functions.
Aggregation and Resampling
daily_fct: generic daily reduction over the time dimensiondaymean,daysum: daily mean and daily sumyearly_resample,monthly_resample: generic grouped time reductionsannualmax,annualmin,annualmean,annualsum: annual summariesclimato_tp,subsample,yearly_clim,ERA5Land_dailysum: helper functions for specific aggregation workflows
Bias Correction
qqmap: day-of-year quantile mappingqqmap_bulk: bulk quantile mappingbiascorrect_extremes: extreme-tail-aware bias correctionTVCModel,fit_tvc,apply_tvc,tvc: time variability correction API
See Bias Correction and Building Climate Scenarios.
Regridding and Spatial Alignment
Regridder: reusable regridding objectregrid: apply a saved or precomputed regridderregrid_cube: one-shot regridding wrappersave_regridder,load_regridder: persistence helpersregrid_curvilinear_to_regular,regrid_rotated_curvilinear_to_regular: explicit curvilinear and rotated-grid interfaces
See Interpolation and Regridding.
Spatial Subsetting
spatialsubset: polygon-based crop and mask
See Data and Subsetting.
Indices
The full grouped catalog is described on Indices and Aggregations.
- Legacy annual indices:
prcp1,frostdays,summerdays,icingdays,tropicalnights,customthresover,customthresunder - Xclim-style summaries:
tg_max,tg_mean,tg_min,tx_max,tx_min,tn_max,tn_min,daily_temperature_range,daily_temperature_range_variability,extreme_temperature_range,max_1day_precipitation_amount,max_n_day_precipitation_amount,daily_pr_intensity - Threshold and spell indices:
frost_days,tg_days_above,tg_days_below,tn_days_above,tn_days_below,tx_days_above,tx_days_below,hot_days,warm_day_frequency,warm_night_frequency,ice_days,dry_days,wetdays,wetdays_prop,growing_degree_days,heating_degree_days,cooling_degree_days,maximum_consecutive_dry_days,maximum_consecutive_wet_days,maximum_consecutive_frost_days,maximum_consecutive_frost_free_days,maximum_consecutive_tx_days,cold_spell_days,cold_spell_frequency,cold_spell_max_length,cold_spell_total_length,hot_spell_frequency,hot_spell_max_length,hot_spell_total_length,heat_wave_index,tx_tn_days_above,heat_wave_frequency,heat_wave_max_length,heat_wave_total_length,high_precip_low_temp - Percentile-based indices:
tg90p,tg10p,tn90p,tn10p,tx90p,tx10p,cold_spell_duration_index,warm_spell_duration_index
Thermodynamic Helpers
vaporpressureapprox_surfacepressurewbgtdiurnaltemperaturemeantemperature
These are often used after bias correction or in post-processing chains.
Ensembles and Statistics
ensemble_stats,ensemble_fct: ensemble summary helpersquantiles: grouped quantile summaries over a selected dimensiongevfit_cube,gpfit_cube,returnlevel_cube: reusable extreme-value fitting and return-level reuse over a reduced cube dimension;gevfit_cubeis for block-maximum inputs, whilegpfit_cubeis for threshold exceedancesrlevels_cube: legacy one-step return-level estimation on raw cubes
Plotting
geomap: single-panel geographic plotting for regular and rotated-grid datageomapfacet: faceted geographic plotting over time or ensemble-like dimensionstimeseriesplot: line, multi-member, ribbon, andensemble_stats-aware time-series plotsstatsplot: histogram, boxplot, scatter, and grouped ensemble-distribution plots
Time-Series and Regime Diagnostics
autocorrelationhurstMSModel
Time Helpers and Utility Transforms
timeresolutiondaymean_factorpr_timefactordates_builder_yearmonthdates_builder_yearmonth_hardcodedates_builder_yearmonthdaydates_builder_yearmonthday_hardcodem2mmdiffcumsum
Suggested Reading Order
If you arrived here before reading the guides, start with: