Learn R Programming

rnoaa (version 0.6.0)

rnoaa-package: rnoaa

Description

rnoaa is an R interface to NOAA climate data.

Arguments

Data Sources

Many functions in this package interact with the National Climatic Data Center application programming interface (API) at http://www.ncdc.noaa.gov/cdo-web/webservices/v2, all of which functions start with ncdc_. An access token, or API key, is required to use all the ncdc_ functions. The key is required by NOAA, not us. Go to the link given above to get an API key. More NOAA data sources are being added through time. Data sources and their function prefixes are:
  • buoy_* - NOAA Buoy data from the National Buoy Data Center
  • gefs_* - GEFS forecast ensemble data
  • ghcnd_* - GHCND daily data from NOAA
  • isd_* - ISD/ISH data from NOAA
  • homr_* - Historical Observing Metadata Repository (HOMR) vignette
  • ncdc_* - NOAA National Climatic Data Center (NCDC) vignette (examples)
  • seaice - Sea ice vignette
  • storm_ - Storms (IBTrACS) vignette
  • swdi - Severe Weather Data Inventory (SWDI) vignette
  • tornadoes - From the NOAA Storm Prediction Center
  • argo_* - Argo buoys
  • coops_search - NOAA CO-OPS - tides and currents data

A note about NCDF data

Functions to work with buoy data use netcdf files. You'll need the ncdf4 package for those functions, and those only. ncdf4 is in Suggests in this package, meaning you only need ncdf4 if you are using the buoy functions. You'll get an informative error telling you to install ncdf4 if you don't have it and you try to use the buoy functions.

The <code>meteo</code> family of functions

The meteo family of functions are prefixed with meteo_ and provide a set of helper functions to:
  • Identify candidate stations from a latitude/longitude pair
  • Retrieve complete data for one or more stations (meteo_coverage())