
IMD data download and processing for custom regions Download and process IMD rainfall data for a bounding box
Source:R/aliases.R, R/imd_core.R
imd_rainfall_bbox.RdDownloads IMD gridded rainfall data and filters it to a specified bounding box.
Usage
IMDRainfallBbox(...)
imd_rainfall_bbox(
request_id,
start_year,
end_year,
north,
south,
east,
west,
resolution = 0.25,
frequency = "daily",
save_raw = FALSE,
output_dir = tempdir(),
use_cache = TRUE
)Arguments
- ...
Arguments passed to the main function (used by aliases).
- request_id
Unique identifier for the request.
- start_year
Start year.
- end_year
End year.
- north
Northern latitude boundary.
- south
Southern latitude boundary.
- east
Eastern longitude boundary.
- west
Western longitude boundary.
- resolution
Spatial resolution: 0.25 or 1.0 degrees (default: 0.25).
- frequency
Temporal frequency: "daily", "monthly", "yearly" (default: "daily").
- save_raw
Whether to save raw downloaded files (default: FALSE).
- output_dir
Directory to save files (default: tempdir()).
- use_cache
Whether to use cached data if available (default: TRUE).