
Using {worldmet} to Locate, Import & Visualise Meteorological Data
Source:vignettes/articles/worldmet.Rmd
worldmet.RmdImporting Hourly Meteorological Data
Show all sites
The function to use to find which sites are available is
import_ghcn_stations().
import_ghcn_stations()
#> # A tibble: 34,181 × 11
#> id name country state network lat lng elevation gsn_flag hcn_crn_flag
#> <chr> <chr> <chr> <chr> <chr> <dbl> <dbl> <dbl> <chr> <chr>
#> 1 AAI0… REIN… AA NA I 12.5 -70.0 18.3 NA NA
#> 2 ACL0… BARB… AC TX L 17.6 -61.8 5 NA NA
#> 3 ACM0… COOL… AC NA M 17.1 -61.8 10 NA NA
#> 4 ACU5… SOMB… AC NA U 18.6 -63.5 10 NA NA
#> 5 ACU5… SOMB… AC NA U 18.6 -63.5 12 NA NA
#> 6 ACU5… SOMB… AC NA U 18.6 -63.5 14 NA NA
#> 7 ACU5… SOMB… AC NA U 18.6 -63.5 16 NA NA
#> 8 ACU5… SOMB… AC NA U 18.6 -63.5 9 NA NA
#> 9 ACW0… ST J… AC NA W 17.1 -61.8 19.2 NA NA
#> 10 AEI0… ABU … AE NA I 24.4 54.7 26.8 NA NA
#> # ℹ 34,171 more rows
#> # ℹ 1 more variable: wmo_id <chr>A better way to explore available stations is by using
return = "map", which shows each station on an interactive
map. Click to expand the markers until you find the site of interest
(shown by a blue marker), which can then be clicked for further
information. The most important information revealed in the marker is
the station ID, which is used to access the data.
import_ghcn_stations(return = "map")