Download rasters from the MAP geoserver to a specifed location. If file already exists it will read it instead.
download_rst(dataset_id, extent, year, file_name, file_path)
SpatRaster
ID for dataset on MAP geoserver
desired raster extent
desired year to download
file name (excluding extension) to save raster to
path to save raster to