| GetERA5MonthlyHeatIndexData | R Documentation |
This function downloads ERA5 heat stress indices and aggregates them to the specified month.
GetERA5MonthlyHeatIndexData(
request_id,
year,
month,
json_file = NULL,
north = NULL,
south = NULL,
east = NULL,
west = NULL,
solar_load = FALSE,
resolution = 0.25,
use_cache = TRUE,
verbose = FALSE
)
get_era5_monthly_heat_index_data(
request_id,
year,
month,
json_file = NULL,
north = NULL,
south = NULL,
east = NULL,
west = NULL,
solar_load = FALSE,
resolution = 0.25,
use_cache = TRUE,
verbose = FALSE
)
GetERA5MonthlyHeatData(
request_id,
year,
month,
json_file = NULL,
north = NULL,
south = NULL,
east = NULL,
west = NULL,
solar_load = FALSE,
resolution = 0.25,
use_cache = TRUE,
verbose = FALSE
)
get_era5_monthly_heat_data(
request_id,
year,
month,
json_file = NULL,
north = NULL,
south = NULL,
east = NULL,
west = NULL,
solar_load = FALSE,
resolution = 0.25,
use_cache = TRUE,
verbose = FALSE
)
request_id |
Unique identifier for the data request |
year |
Year (for example, 2023) |
month |
Month (1-12) |
json_file |
Path to the GeoJSON file that defines the region |
north, south, east, west |
Bounding box coordinates (alternative to json_file) |
solar_load |
If TRUE, include solar radiation (default: FALSE) |
resolution |
Spatial resolution in degrees (default: 0.25) |
use_cache |
If TRUE, the function uses cached data (default: TRUE) |
verbose |
If TRUE, the function prints progress messages (default: FALSE) |
A data.frame with one row per grid point for the requested month: year, month, latitude, longitude, monthly means of the daily heat stress variables, and the categorical columns wbgt_risk, heat_index_risk and utci_stress.
region <- system.file("extdata", "region.geojson", package = "varunayan")
heat_may <- GetERA5MonthlyHeatIndexData(
request_id = "india_may2023",
year = 2023,
month = 5,
json_file = region
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.