Skip to contents

Internal worker shared by get_clim_monthly() (per-study-area cache) and the global per-cell cache in prep_monthly_weather_biosim(). Returns ONLY climate columns keyed by CellID (no EcoID/BatchID): ecoregion membership is study-area-specific and is applied later, at assemble time.

Usage

.fetch_clim_monthly_batch(locations, year, rcp, clim_model)

Arguments

locations

data.frame with ID, Latitude, Longitude, Elevation (one row per cell).

year

integer year to fetch.

rcp, clim_model

BioSIM scenario.

Value

data.frame: CellID, YEAR, MONTH, the BioSIM monthly climate columns, WndS, WndD.