download_chirps_prelim_aux | R Documentation |
This data becomes available earlier, but it has to be downloaded from UCSB. The function checks whether the non-preliminary version exists and only downloads otherwise. Annoyingly, the grid of UCBS and IRIDL are shifted against each other. Therefore this function also interpolates the UCSB data to the IRIDL grid, which makes it a bit slower. In particular, everything will crash if you have never downloaded a non-preliminary file and try to download a preliminary one.
download_chirps_prelim_aux(
years,
months,
extent,
timeout_limit = 300,
nonprelim_dir = file.path(chirps_dir(), "monthly"),
save_dir = file.path(nonprelim_dir, "prelim")
)
years |
years for which you want to download |
months |
months for which you want to download |
extent |
Spatial window for downloading |
timeout_limit |
How many seconds before download is aborted. |
nonprelim_dir |
Directory where the non-preliminary CHIRPS data is stored. |
save_dir |
Directory where the function stores the preliminary data. |
nothing
if(interactive()){
download_chirps_prelim_aux(years = 2023, months = 10)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.