-
Notifications
You must be signed in to change notification settings - Fork 1
/
README.Rmd
79 lines (55 loc) · 2.73 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
---
output: github_document
---
pmetar
======
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r echo=FALSE}
knitr::opts_chunk$set(
warning = FALSE,
message = FALSE,
collapse = TRUE,
comment = "#>"
)
```
<!-- badges: start -->
[![CRAN](https://www.r-pkg.org/badges/version/pmetar)](https://cran.r-project.org/package=pmetar)
[![cran checks](https://badges.cranchecks.info/worst/pmetar.svg)](https://cran.r-project.org/web/checks/check_results_pmetar.html)
[![Project Status: Active – The project has reached a stable, usable state and is being actively developed.](https://www.repostatus.org/badges/latest/active.svg)](https://www.repostatus.org/#active)
![monthly](https://cranlogs.r-pkg.org/badges/pmetar)
![total](https://cranlogs.r-pkg.org/badges/grand-total/pmetar)
<!-- badges: end -->
Package allows to download current and historical METAR weather reports and decode basic parameters.
### METAR weather reports source web pages
The main functions scrap data from the below web pages:
1. For current reports, the function *metar_get*:
* Aviation Weather Center https://aviationweather.gov/data/metar/</li><br>
2. For historical reports, the function *metar_get_historical*:
* Iowa Environmental Mesonet web page of Iowa State University
ASOS-AWOS-METAR http://mesonet.agron.iastate.edu/AWOS/</li>
* Weather Information Service http://www.ogimet.com/ developed by Guillermo Ballester Valor
Please take into consideration that the http://www.ogimet.com/ can block too frequent requests for data due to the server overload. <br>
### Locations of METAR stations
Information about the locations of the METAR stations / ariports were taken from two sources:
1. The first choice is the file from https://ourairports.com/data/ created by David Megginson.
2. If information can't be found, the second source is searched, the ADDS Station Table prepared by Greg Thompson NCAR/RAP. The file is available on the web page of Aviation Weather Center https://weather.ral.ucar.edu/surface/stations.txt
from NOAA National Weather Service https://www.weather.gov/
The both above data sources are in the public domain.
#### Package pmetar is for extracting and parsing information, from current or historical METAR reports, only.
#### Don't use it for flight planning or navigation!
### Installation
CRAN version
```{r eval=FALSE}
install.packages("pmetar")
```
Get the development version 0.5.0 from github:
```{r eval=FALSE}
# install.packages("devtools")
devtools::install_github("prcwiek/pmetar")
```
```{r}
library('pmetar')
```
## Contributors
* David Megginson, Author of data set with airports list https://ourairports.com/data/
* Greg Thompson, Author of data set with airports list https://weather.ral.ucar.edu/surface/stations.txt