brazilmet
BrazilMet is an R package designed to facilitate the acquisition and processing of meteorological data from INMET stations. It includes functions for downloading, calculating atmospheric parameters, estimating evapotranspiration, and more.
Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
○CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Committers with academic emails
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (14.4%) to scientific vocabulary
Repository
BrazilMet is an R package designed to facilitate the acquisition and processing of meteorological data from INMET stations. It includes functions for downloading, calculating atmospheric parameters, estimating evapotranspiration, and more.
Basic Info
Statistics
- Stars: 21
- Watchers: 1
- Forks: 6
- Open Issues: 0
- Releases: 1
Metadata Files
README.md
BrazilMet

Overview
BrazilMet is an R package designed to facilitate the acquisition and processing of meteorological data from INMET stations. It includes functions for downloading, calculating atmospheric parameters, estimating evapotranspiration, and more. Please, see the package page 🔗 https://filgueirasr.github.io/BrazilMet/
🌍 Features
📥 Downloading Data
- Automatic weather station data from INMET (daily aggregation).
- Automatic weather station data from INMET (hourly intervals).
- Climatological normals from conventional INMET weather stations.
- Download and Extraction of Maximum Reference Evapotranspiration (ETo) Grids for Brazil (Dias, 2018).
🌤️ Atmospheric Parameter Calculations
- Atmospheric pressure calculation based on altitude.
- Psychrometric constant calculation based on atmospheric pressure.
💧 Evapotranspiration Estimation
- Reference evapotranspiration (ETo) via Hargreaves-Samani.
- Reference evapotranspiration (ETo) via Penman-Monteith FAO-56.
- Potential evapotranspiration (ETp) via Thornthwaite.
- Correction for sunlight hours and the number of days in the month for Thornthwaite ETp.
- Design reference evapotranspiration.
☀️ Radiation Parameter Estimation
- Extraterrestrial radiation for daily periods.
- Solar radiation estimation (Angstrom formula & temperature-based methods).
- Clear-sky solar radiation with/without calibrated values.
- Net solar (shortwave) radiation, net longwave radiation, and net radiation.
💨 Air Humidity & Wind Speed Parameters
- Mean saturation vapor pressure.
- Actual vapor pressure derived from dew point or relative humidity.
- Vapor pressure deficit and relative humidity calculations.
- Wind speed at 2 meters above ground level.
📍 Station Selection & Information
- Automatic weather station (AWS) metadata.
- Selection of AWS stations using an
sfobject.
⚡ Installation
You can install the latest version of BrazilMet from GitHub:
```r
Install devtools if not already installed
install.packages("devtools")
Install BrazilMet
devtools::install_github("FilgueirasR/BrazilMet")
```
🚀 Usage Example - ETo estimation
Here’s a quick example of how to download INMET station data and estimate reference evapotranspiration (ETo) using FAO-56 for multiple stations and years:
```r
Load the package
library(BrazilMet)
View available station information
seestationsinfo()
Download daily weather data for two stations
df <- downloadAWSINMETdaily(stations = c("A001", "A042"), startdate = "2023-01-01", end_date = "2024-12-31")
Calculate daily ETo using the FAO-56 method
df$eto <- dailyetoFAO56(lat = df$latitudedegrees, tmin = df$tairminc, tmax = df$tairmaxc, tmean = df$tairmeanc, Rs = df$srmjm2, u2 = df$ws2ms, Patm = df$patmmb, RHmax = df$rhmaxporc, RHmin = df$rhminporc, z = df$altitudem, date = df$date)
```
🤝 Contributing
We welcome contributions from the community! Whether it’s reporting issues, suggesting improvements, or submitting pull requests, your help is greatly appreciated.
How to contribute: Fork the repository
Create a new branch (git checkout -b feature-branch)
Make your changes and commit (git commit -m "Description of changes")
Push to your branch (git push origin feature-branch)
Open a pull request
Let’s make BrazilMet even better together! 🚀
Owner
- Name: Roberto Filgueiras
- Login: FilgueirasR
- Kind: user
- Location: Belo Horizonte, Brazil
- Company: Federal University of Viçosa
- Website: https://www.researchgate.net/profile/Roberto_Filgueiras
- Twitter: filgueirasrob
- Repositories: 4
- Profile: https://github.com/FilgueirasR
Ph.D. in Agricultural Engineering with over 15 years of experience in modeling and remote sensing. Currently a Geospatial Data Scientist at 4intelligence.
GitHub Events
Total
- Create event: 7
- Release event: 1
- Issues event: 3
- Watch event: 13
- Delete event: 4
- Issue comment event: 8
- Push event: 56
- Pull request event: 15
- Fork event: 1
Last Year
- Create event: 7
- Release event: 1
- Issues event: 3
- Watch event: 13
- Delete event: 4
- Issue comment event: 8
- Push event: 56
- Pull request event: 15
- Fork event: 1
Committers
Last synced: over 3 years ago
All Time
- Total Commits: 20
- Total Committers: 1
- Avg Commits per committer: 20.0
- Development Distribution Score (DDS): 0.0
Top Committers
| Name | Commits | |
|---|---|---|
| FilgueirasR | b****s@g****m | 20 |
Issues and Pull Requests
Last synced: 11 months ago
All Time
- Total issues: 5
- Total pull requests: 20
- Average time to close issues: 2 months
- Average time to close pull requests: 35 minutes
- Total issue authors: 4
- Total pull request authors: 2
- Average comments per issue: 3.4
- Average comments per pull request: 0.15
- Merged pull requests: 17
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 2
- Pull requests: 16
- Average time to close issues: about 4 hours
- Average time to close pull requests: 43 minutes
- Issue authors: 1
- Pull request authors: 2
- Average comments per issue: 1.5
- Average comments per pull request: 0.13
- Merged pull requests: 13
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
- ArturLourenco (2)
- ammaciel (1)
- gabrielhintz (1)
- tcalegario (1)
Pull Request Authors
- FilgueirasR (19)
- hydroversebr (2)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 594 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
cran.r-project.org: BrazilMet
Download and Processing of Automatic Weather Stations (AWS) Data of INMET-Brazil
- Documentation: http://cran.r-project.org/web/packages/BrazilMet/BrazilMet.pdf
- License: GPL-3
-
Latest release: 0.4.0
published about 1 year ago
Rankings
Maintainers (1)
Dependencies
- R >= 3.2.0 depends
- dplyr >= 0.3.0.1 imports
- readxl * imports
- stringr * imports
- tidyr * imports
- actions/checkout v2 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite