Skip to contents

All functions

AGERA5_VARS
AgERA5 Climate Variable Metadata
FAO_CROP_DEFAULTS
FAO Crop Default Parameters
L3_REGIONS
WaPOR Level 3 Region Metadata
WAPOR3_VARS
WaPOR v3 Variable Metadata
.check_raster_overlap()
Check Raster Spatial Overlap
linear_trend()
Calculate per-pixel temporal linear trend
run_wapor()
Run the Rwapor Shiny Dashboard
wapor_add_favorite()
Add a Path to Favorites
wapor_adjust_crop_params_agera5()
Adjust Crop Parameters Table using AgERA5 Climate Data
wapor_adjust_kc_climate()
Climate-Based Crop Coefficient (Kc) Adjustments
wapor_agent_skills()
Load the Rwapor Agent Skills Reference
wapor_aggregate_kc()
Aggregate Daily Kc to Dekadal Mean Kc
wapor_aggregate_precip()
Aggregate Precipitation to Monthly Totals
wapor_apply_climate_norm()
Apply a climate normalisation factor
wapor_apply_seasonal_mask_recalc()
Apply Seasonal Adaptive Mask and Recalculate Stats
wapor_audit_etlook_mass_balance()
Audit ETLook Mass Balance Conservation
wapor_available_variables()
List available WaPOR and AgERA5 variables
wapor_build_crop_assignments()
Build Crop Assignment Table
wapor_build_kc()
Build Daily Kc Curve
wapor_build_kc_by_class()
Build Kc Curves by Crop Class
wapor_build_season_weights()
Build Dekadal Season Weights and Days
wapor_calc_adequacy_etc()
Compute ETc-Based Adequacy
wapor_calc_adequacy_p95()
Compute P95-Based Adequacy
wapor_calc_anomaly_baseline()
Calculate Anomaly Relative to a Baseline Climatology
wapor_calc_beneficial_fraction()
Compute Beneficial Fraction
wapor_calc_blue_water()
Compute Blue Water Consumption
wapor_calc_bwp()
Compute Biomass Water Productivity
wapor_calc_climate_norm()
Climate normalisation factor f_norm = mean(RET) / RET
wapor_calc_cv()
Spatial coefficient of variation
wapor_calc_cwp()
Compute Crop Water Productivity
wapor_calc_equity()
Equity of ET between units
wapor_calc_et_rain()
ET from rainfall
wapor_calc_green_water()
Compute Green Water Consumption
wapor_calc_monthly_weighted_rasters()
Compute Monthly Weighted Raster Series
wapor_calc_monthly_weighted_std_rasters()
Compute Monthly Weighted Standard Deviation Raster Series
wapor_calc_nbwp()
Compute Net Biomass Water Productivity (NBWP)
wapor_calc_nir()
Net irrigation requirement
wapor_calc_p95_aeti()
Compute P95 of AETI Within Crop Class
wapor_calc_peff()
USDA-SCS effective precipitation from monthly rasters
wapor_calc_productivity_gap()
Productivity target and gap
wapor_calc_rainfall_surplus()
Rainfall surplus
wapor_calc_reliability()
Temporal reliability of relative ET
wapor_calc_rwd()
Relative water deficit
wapor_calc_seasonal_aeti()
Compute Seasonal AETI with Season Mask
wapor_calc_seasonal_etc()
Compute Seasonal ETc Incrementally
wapor_calc_seasonal_ret()
Compute Seasonal RET with Season Mask
wapor_calc_seasonal_std()
Compute Seasonal Standard Deviation (Variability)
wapor_calc_spatial_hotspots()
Classify Spatial Hotspots from Z-Score Anomaly
wapor_calc_theil()
Spatial Theil T inequality index
wapor_calc_uniformity()
Irrigation uniformity within units
wapor_calc_yield_npp()
Calculate Crop Yield from NPP
wapor_calc_zscore()
Calculate Temporal Z-Score Anomaly Stack
wapor_check_local()
Check for Local Raster Files
wapor_class_defaults()
Classification schemes and defaults
wapor_class_info()
Retrieve classification metadata
wapor_classify()
Classify numeric values or a raster using fixed or quantile thresholds
wapor_classify_adequacy()
Classify irrigation adequacy (AETI / ETc)
wapor_classify_spots()
Bright and dark productivity spots
wapor_clear_url_cache()
Clear WaPOR Disk URL Cache
wapor_combine_crop_params()
Combine Multiple Crop Parameter Definitions
wapor_compare_geom()
Exported Geometry Comparison
wapor_configure_gdal()
Configure GDAL for Efficient HTTP Streaming
wapor_continuous_julian()
Convert a Date to Continuous Julian Index
wapor_convert_npp_tbp()
Convert NPP to Total Biomass Production (TBP)
wapor_convert_raster()
Convert Raster Values Between Temporal Units
wapor_convert_temperature()
Convert Temperature Raster from Kelvin to Celsius
wapor_convert_units()
Convert DataFrame Values Between Temporal Units
wapor_create_crop_params()
Create Custom Crop Parameters for Analysis
wapor_crop_defaults()
Get Crop Default Parameters
wapor_crop_to_region()
Crop (and Optionally Mask) a Raster to a Parsed Region
wapor_custom_crop()
Customize Crop Parameters from FAO Defaults
wapor_date_info()
Extract Date Information from URL
wapor_diagnose_agent_setup()
Diagnose Agent and System Setup
wapor_download()
Download WaPOR Rasters Once for Local or Offline Analysis
wapor_enhanced_zonal_stats()
Calculate Enhanced Zonal Statistics
wapor_export_analysis_outputs()
Export Analysis Outputs to Structured Folders
wapor_extract_agera5_climate()
Extract Daily Climate Time Series from AgERA5 via Rwapor
wapor_extract_crop_classes()
Extract Unique Crop Classes from Crop Mask
wapor_fetch_l3_regions()
Fetch WaPOR Level 3 Regions
wapor_fetch_metadata()
Fetch WaPOR Metadata from JSON Cache Files
wapor_fix_proj()
Fix PROJ_LIB Environment Variable
wapor_gdal_settings()
Show Current GDAL Environment Settings
wapor_generate_seasonal_raster()
Generate seasonal aggregate raster from DuckDB dekadal blobs
wapor_generate_urls()
Generate URLs for WaPOR/AgERA5 Resources
wapor_get_favorites()
Load Favorites from Local Storage
wapor_get_indicator_step()
Get an Indicator Step Function
wapor_group_by_res()
Group a vector of variable codes by shared native grid
wapor_guess_region()
Guess L3 Region from Spatial Intersection
wapor_harmonize_mask()
Bring a Classified Map onto a Template Grid as a Mask and a Fraction
wapor_harmonize_raster()
Harmonize a Raster to a Template Grid
wapor_init_monitoring_db()
Initialize a DuckDB database for farm monitoring
wapor_is_favorite()
Check if a Path is Favorited
wapor_is_seasonally_summable()
Check Whether a Variable Can Be Seasonally Summed
wapor_l3_extent()
Get L3 Raster Extent (Persistently Cached)
wapor_list_crops()
List Available Crop Profiles
wapor_list_indicator_steps()
List Registered Indicator Steps
wapor_load_crop_mask()
Load a Crop Mask Raster
wapor_load_season_raster()
Load a Season Raster (Start or End)
wapor_map()
Download and Save a Raster Map
wapor_ordered_indicator_steps()
Order indicator steps by declared dependencies
wapor_parse_region()
Parse Region Argument
wapor_pixel_area_ha()
Per-pixel area in hectares
wapor_plan_processing()
Plan How a Raster Job Should Be Processed
wapor_plot_anomaly()
Plot a z-score anomaly raster
wapor_plot_comparison()
Comparison Plot for Multiple Spatial Rasters or Matrices
wapor_plot_kc_curve()
Plot a crop coefficient curve
wapor_plot_map()
Plot a raster indicator
wapor_plot_polygon_grid()
Plot a raster as a grid of small maps, one per polygon unit
wapor_plot_polygon_seasons()
Plot selected polygon units over several raster layers
wapor_plot_timeseries()
Plot a grouped time series
wapor_plot_unit_series()
Plot one time series per unit with a dashed reference line
wapor_preflight_check()
Pre-Flight Analysis Validation
wapor_rasterize_mask()
Rasterize Polygons to a Mask on a Template Grid
wapor_register_indicator_step()
Register an Indicator Step
wapor_relative_et_stack()
Build a stack of monthly relative ET (AETI / ETc)
wapor_remote_capabilities()
Report GDAL capabilities required for remote WaPOR rasters
wapor_remove_favorite()
Remove a Path from Favorites
wapor_run_indicator_steps()
Run registered indicator steps against a shared context
wapor_run_monitoring()
Run the monitoring update loop for a set of farms
wapor_run_seasonal_analysis()
Run Seasonal Analysis Engine
wapor_run_seasonal_analysis_tiled()
Run Windowed / Tiled Seasonal Analysis Engine
wapor_safe_project()
Safe Terra Projection Wrapper
wapor_scan_local()
Scan Local Folder for Available Variables
wapor_seasonal_summary_options()
Get Available Seasonal Summary Options
wapor_suggest_tile_size()
Suggest a safe tile size for the tiled seasonal analysis engine
wapor_ts()
Extract Time Series with Zonal Statistics
wapor_unstack_map()
Split a multi-band wapor_map() stack into one file per date
wapor_validate_analysis_config()
Validate Analysis Configuration
wapor_validate_compatibility()
Validate metadata compatibility for a multi-input calculation
wapor_validate_crop_params()
Validate Crop Parameters
wapor_variable_metadata()
Get Variable Metadata
wapor_vector_to_season_rasters()
Generate Seasonal Timing Rasters from Vector and CSV
wapor_write_cog()
Write a Cloud-Optimized GeoTIFF
wapor_write_l3_mosaic()
Write an L3 mosaic and coverage manifest
wapor_zonal_stats()
Zonal Statistics for Any Polygons on Any WaPOR Raster
wapor_zonal_wide()
One Row per Zone and Variable from a Long Zonal Table
write_raster_cog()
Write a Cloud-Optimized GeoTIFF