
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: 38,870 × 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 ACL0… BARB… AC TX L 17.6 -61.8 5 NA NA
#> 2 ACM0… COOL… AC NA M 17.1 -61.8 10 NA NA
#> 3 ACU5… SOMB… AC NA U 18.6 -63.5 10 NA NA
#> 4 ACW0… ST J… AC NA W 17.1 -61.8 19.2 NA NA
#> 5 AEI0… ABU … AE NA I 24.4 54.7 26.8 NA NA
#> 6 AEI0… BUHA… AE NA I 23.6 53.4 94 NA NA
#> 7 AEI0… BATE… AE NA I 24.4 54.5 4.9 NA NA
#> 8 AEI0… AL H… AE NA I 24.1 52.5 15.2 NA NA
#> 9 AEI0… JEBE… AE NA I 24.2 52.6 13.1 NA NA
#> 10 AEI0… AL A… AE NA I 24.3 55.6 265. NA NA
#> # ℹ 38,860 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")
#> Warning in sf::st_is_longlat(x): bounding box has potentially an invalid value
#> range for longlat data