Distance Between Brazilian Municipal Centroids and INMET Rainfall Stations
Source:R/mun_stations_distance.R
mun_stations_distance.RdA dataset containing the distances between the centroids of Brazilian municipalities and rainfall stations operated by the Brazilian National Institute of Meteorology (INMET). Distances were computed using the Haversine formula.
Format
A data frame with 501,390 rows and 5 variables:
- code_muni
Seven-digit IBGE municipality code.
- codigo_wmo
WMO identifier of the INMET rainfall station.
- distance
Distance between the municipality centroid and the station, in kilometers.
- i
Rank of the station by distance, where 1 indicates the nearest station.
- ano
Reference year (2008, 2010, ..., 2024).
Source
Distances computed from municipality centroids and INMET rainfall station coordinates using the Haversine formula.
Details
The dataset covers the period from 2008 to 2024. Because the INMET station network changes over time, distances were calculated for snapshots taken every two years (2008, 2010, 2012, 2014, 2016, 2018, 2020, 2022, 2024).
For each year, each municipality is matched to its 10 nearest INMET stations within the same Brazilian macro-region, ordered by increasing distance. The variable `i` is the rank of the station by proximity to the municipality centroid.