Package: rnoaa 1.4.0

Daniel Hocking

rnoaa: 'NOAA' Weather Data from R

Client for many 'NOAA' data sources including the 'NCDC' climate 'API' at <https://www.ncdc.noaa.gov/cdo-web/webservices/v2>, with functions for each of the 'API' 'endpoints': data, data categories, data sets, data types, locations, location categories, and stations. In addition, we have an interface for 'NOAA' sea ice data, the 'NOAA' severe weather inventory, 'NOAA' Historical Observing 'Metadata' Repository ('HOMR') data, 'NOAA' storm data via 'IBTrACS', tornado data via the 'NOAA' storm prediction center, and more.

Authors:Scott Chamberlain [aut], Daniel Hocking [aut, cre], Brooke Anderson [ctb], Maëlle Salmon [ctb], Adam Erickson [ctb], Nicholas Potter [ctb], Joseph Stachelek [ctb], Alex Simmons [ctb], Karthik Ram [ctb], Hart Edmund [ctb], rOpenSci [fnd]

rnoaa_1.4.0.tar.gz
rnoaa_1.4.0.zip(r-4.5)rnoaa_1.4.0.zip(r-4.4)rnoaa_1.4.0.zip(r-4.3)
rnoaa_1.4.0.tgz(r-4.5-any)rnoaa_1.4.0.tgz(r-4.4-any)rnoaa_1.4.0.tgz(r-4.3-any)
rnoaa_1.4.0.tar.gz(r-4.5-noble)rnoaa_1.4.0.tar.gz(r-4.4-noble)
rnoaa_1.4.0.tgz(r-4.4-emscripten)rnoaa_1.4.0.tgz(r-4.3-emscripten)
rnoaa.pdf |rnoaa.html
rnoaa/json (API)
NEWS

# Install 'rnoaa' in R:
install.packages('rnoaa', repos = c('https://ropensci.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/ropensci/rnoaa/issues27 issues

Pkgdown site:https://docs.ropensci.org

Datasets:

On CRAN:rnoaa (archived)

Conda:

earthscienceclimateprecipitationtemperaturestormbuoyncdcnoaatornadoesea iceisdnoaa-data

9.39 score 334 stars 4 packages 788 scripts 711 downloads 4 mentions 81 exports 56 dependencies

Last updated 1 months agofrom:b26b4c5382 (on master). Checks:1 OK, 8 NOTE. Indexed: yes.

TargetResultLatest binary
Doc / VignettesOKMar 06 2025
R-4.5-winNOTEMar 06 2025
R-4.5-macNOTEMar 06 2025
R-4.5-linuxNOTEMar 06 2025
R-4.4-winNOTEMar 06 2025
R-4.4-macNOTEMar 06 2025
R-4.4-linuxNOTEMar 06 2025
R-4.3-winNOTEMar 06 2025
R-4.3-macNOTEMar 06 2025

Exports:arc2arc2_cacheautoplot_meteo_coveragebswbsw_cachebuoybuoy_stationsbuoyscoops_searchcpc_cachecpc_prcpersstersst_cachegefsgefs_dimension_valuesgefs_dimensionsgefs_ensemblesgefs_latitudesgefs_longitudesgefs_timesgefs_variablesghcndghcnd_cacheghcnd_countriesghcnd_readghcnd_searchghcnd_splitvarsghcnd_statesghcnd_stationsghcnd_versionhomrhomr_definitionsis.ncdc_datais.ncdc_datacatsis.ncdc_datasetsis.ncdc_datatypesis.ncdc_locsis.ncdc_locs_catsis.ncdc_stationsisdisd_cacheisd_readisd_stationsisd_stations_searchlcdlcd_cachelcd_columnsmeteo_clear_cachemeteo_coveragemeteo_distancemeteo_nearby_stationsmeteo_process_geographic_datameteo_pull_monitorsmeteo_show_cachemeteo_spherical_distancemeteo_tidy_ghcndncdcncdc_combinencdc_datacatsncdc_datasetsncdc_datatypesncdc_locsncdc_locs_catsncdc_plotncdc_stationsncdc_themereadshpfilernoaa_optionsse_datase_filessea_icesea_ice_tabularseaiceeurlsstorm_datastorm_metastormevents_cacheswditheme_icetorn_cachetornadoesvis_miss

Dependencies:clicolorspacecpp11crulcurldata.tabledigestdplyrfansifarvergenericsgeonamesggplot2gluegridExtragtablehoardrhttpcodeisdparserisobandjsonlitelabelinglatticelifecyclelubridatemagrittrMASSMatrixmgcvmimemunsellnlmepillarpkgconfigpurrrR6rappdirsRColorBrewerRcpprjsonrlangscalesstringistringrtibbletidyrtidyselecttimechangetriebeardurltoolsutf8vctrsviridisLitewithrXMLxml2

Citation

To cite package ‘rnoaa’ in publications use:

Chamberlain S, Hocking D (2025). rnoaa: 'NOAA' Weather Data from R. R package version 1.4.0, , https://github.com/ropensci/rnoaa.

Corresponding BibTeX entry:

  @Manual{,
    title = {rnoaa: 'NOAA' Weather Data from R},
    author = {Scott Chamberlain and Daniel Hocking},
    year = {2025},
    note = {R package version 1.4.0, },
    url = {https://github.com/ropensci/rnoaa},
  }

Readme and manuals

rnoaa

rnoaa is an R interface to many NOAA data sources. We don't cover all of them, but we include many commonly used sources, and add we are always adding new sources. We focus on easy to use interfaces for getting NOAA data, and giving back data in easy to use formats downstream. We currently don't do much in the way of plots or analysis. To get started see: https://docs.ropensci.org/rnoaa/articles/rnoaa.html

NOTICE: PACKAGE TO BE ARCHIVED

NOAA has changed not only the base URL of the API but reorganized the structure and endpoints of the data and API. The current rnoaa package is still functional with the NOAA API v2 but the data available in the API end at approximately 2022-09-15. A new NOAA weather package is planned to replace rnoaa functionality where possible. At that point the rnoaa package will be archived.

Data sources in rnoaa

Help/Getting Started

Documentation is at https://docs.ropensci.org/rnoaa/, and there are many vignettes in the package itself, available in your R session, or on CRAN (https://cran.r-project.org/package=rnoaa). The tutorials:

  • Getting started - start here
  • NOAA Buoy vignette
  • NOAA National Climatic Data Center (NCDC) vignette (examples)
  • NOAA NCDC attributes vignette
  • NOAA NCDC workflow vignette
  • Sea ice vignette
  • Severe Weather Data Inventory (SWDI) vignette
  • Historical Observing Metadata Repository (HOMR) vignette

netcdf data

Some functions use netcdf files, including:

  • ersst
  • buoy
  • bsw
  • argo

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 any of the functions listed above. You'll get an informative error telling you to install ncdf4 if you don't have it and you try to use the those functions. Installation of ncdf4 should be straightforward on any system. See https://cran.r-project.org/package=ncdf4

NOAA NCDC Datasets

There are many NOAA NCDC datasets. All data sources work, except NEXRAD2 and NEXRAD3, for an unknown reason. This relates to ncdc_*() functions only.

Dataset Description Start Date End Date Data Coverage
GHCND Daily Summaries 1763-01-01 2023-04-20 1.00
GSOM Global Summary of the Month 1763-01-01 2023-03-01 1.00
GSOY Global Summary of the Year 1763-01-01 2023-01-01 1.00
NEXRAD2 Weather Radar (Level II) 1991-06-05 2023-04-19 0.95
NEXRAD3 Weather Radar (Level III) 1994-05-20 2023-04-18 0.95
NORMAL_ANN Normals Annual/Seasonal 2010-01-01 2010-01-01 1.00
NORMAL_DLY Normals Daily 2010-01-01 2010-12-31 1.00
NORMAL_HLY Normals Hourly 2010-01-01 2010-12-31 1.00
NORMAL_MLY Normals Monthly 2010-01-01 2010-12-01 1.00
PRECIP_15 Precipitation 15 Minute 1970-05-12 2014-01-01 0.25
PRECIP_HLY Precipitation Hourly 1900-01-01 2014-01-01 1.00
#> table updated on 2023-04-22

NOAA NCDC Attributes

Each NOAA dataset has a different set of attributes that you can potentially get back in your search. See https://www.ncei.noaa.gov/access for detailed info on each dataset. We provide some information on the attributes in this package; see the vignette for attributes (https://docs.ropensci.org/rnoaa/articles/ncdc_attributes.html) to find out more

Contributors

Meta

Help Manual

Help pageTopics
rnoaarnoaa-package rnoaa
Arc2 - Africa Rainfall Climatology version 2arc2
autoplot method for meteo_coverage objectsautoplot_meteo_coverage
Blended sea winds (BSW)bsw
Get NOAA buoy data from the National Buoy Data Centerbuoy buoys buoy_stations
Get NOAA co-ops datacoops coops_search
Precipitation data from NOAA Climate Prediction Center (CPC)cpc_prcp
NOAA Extended Reconstructed Sea Surface Temperature (ERSST) dataersst
FIPS codes for US states.fipscodes
Get all GHCND data from a single weather siteghcnd ghcnd_read
Get a cleaned version of GHCND data from a single weather siteghcnd_search
Split variables in data returned from 'ghcnd'ghcnd_splitvars
Get meta-data on the GHCND daily dataghcnd_countries ghcnd_states ghcnd_version
Get information on the GHCND weather stationsghcnd_stations
Historical Observing Metadata Repository (HOMR) station metadatahomr
Historical Observing Metadata Repository (HOMR) station metadata - definitionshomr_definitions
Get and parse NOAA ISD/ISH dataisd
Read NOAA ISD/ISH local fileisd_read
Get NOAA ISD/ISH station data from NOAA FTP server.isd_stations
Search for NOAA ISD/ISH station data from NOAA FTP server.isd_stations_search
Local Climatological Data from NOAAlcd
Clear _meteo_ cached filesmeteo_clear_cache
Determine the "coverage" for a station data framemeteo_coverage
Find all monitors within a radius of a locationmeteo_distance
Find weather monitors near locationsmeteo_nearby_stations
Calculate the distances between a location and all available stationsmeteo_process_geographic_data
Pull GHCND weather data for multiple weather monitorsmeteo_pull_monitors
Show the _meteo_ cache directorymeteo_show_cache
Calculate the distance between two locationsmeteo_spherical_distance
Create a tidy GHCND dataset from a single monitormeteo_tidy_ghcnd
Restructure element of ghcnd_search listmeteo_tidy_ghcnd_element
Search for and get NOAA NCDC datancdc
Coerce multiple outputs to a single data.frame object.ncdc_combine
Get possible data categories for a particular datasetid, locationid, stationid, etc.ncdc_datacats
Search NOAA datasetsncdc_datasets
Get possible data types for a particular datasetncdc_datatypes
Get metadata about NOAA NCDC locations.ncdc_locs
Get metadata about NOAA location categories.ncdc_locs_cats
Plot NOAA climate data.ncdc_plot
Get metadata about NOAA NCDC stations.ncdc_stations
rnoaa cachingarc2_cache bsw_cache cpc_cache ersst_cache ghcnd_cache isd_cache lcd_cache rnoaa_caching stormevents_cache torn_cache
rnoaa optionsrnoaa_options
Defunct functions in rnoaarnoaa-defunct
Get sea ice data.sea_ice
Sea ice tabular datasea_ice_tabular
NOAA Storm Events datase_data se_files storm_events
Get NOAA data for the Severe Weather Data Inventory (SWDI)swdi
Get NOAA tornado data.tornadoes
Visualize missingness in a dataframevis_miss