If you need to query several municipalities, indicators and zonal
statistics, we recommend to download and locally query the parquet files
using the arrow
package.
BR-DWGD (13.65 GB)
- Evapotranspiration:
- Precipitation:
- Relative Humidity:
- Solar radiation:
- Maximum temperature:
- Minimum temperature:
- Wind speed:
TerraClimate (1.02 GB)
- Actual Evapotranspiration:
- Climate Water Deficit:
- Potential evapotranspiration:
- Precipitation:
- Runoff:
- Soil Moisture:
- Downward surface shortwave radiation:
- Snow water equivalent:
- Max Temperature:
- Min Temperature:
- Vapor pressure:
- Wind speed:
- Vapor Pressure Deficit:
- PDSI:
Query example
After downloading the parquets files, you can query them using the
arrow
package.
library(tidyverse)
library(arrow)
brdwgd <- open_dataset(sources = "/parquet/files/address/")
brdwgd %>%
filter(code_muni %in% c(3105608, 3304557, 3136702)) %>%
filter(name == "Tmax_mean") %>%
filter(date >= as.Date("2008-01-01") & date <= as.Date("2008-12-31")) %>%
select(code_muni, date, value) %>%
collect()