
Download and process IMD rainfall data for a GeoJSON region
Source:R/aliases.R, R/imd_core.R
imd_rainfall_geojson.RdDownload and process IMD rainfall data for a GeoJSON region
Usage
IMDRainfallGeojson(...)
imd_rainfall_geojson(
request_id,
start_year,
end_year,
geojson_file,
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 (1901-2024).
- end_year
End year (1901-2024).
- geojson_file
Path to GeoJSON file.
- resolution
Spatial resolution: 0.25 or 1.0 degrees (default: 0.25).
- frequency
Temporal frequency (default: "daily").
- save_raw
Whether to save raw files (default: FALSE).
- output_dir
Directory to save files (default: tempdir()).
- use_cache
Whether to use cached data if available (default: TRUE).