Questions tagged [rnoaa]

An R package to download several datasets from NOAA.

R interface to many NOAA data API. For more information look for https://github.com/ropensci/rnoaa

46 questions
0
votes
1 answer

The use of `save()` and `resave()` - using R version 4.0

So as a disclaimer, I have read multiple threads and tried the different things suggested none of which is working. This is the code I am using, then I will explain what is happening and what I hope to have…
Metgeneer
  • 19
  • 2
0
votes
2 answers

Getting weather data from R - Rnoaa

I am trying to get some weather data from rnoaa in R. as rnoaa only supports one year of extraction, I tried to put a loop together to get several years. Is it better to use a map function? It returns a blank list.. library(rnoaa) options(noaakey=…
Stat.Enthus
  • 335
  • 1
  • 12
0
votes
1 answer

How do I retain a site id

I have a data frame with columns id, latitude, longitude. I need to find near by meteorological stations and download data using RNOAA. The first step is to get station names with meteo_nearby_stations then download data with…
DAY
  • 91
  • 6
0
votes
1 answer

rnoaa station data pull times out

I'm trying to pull NOAA data using R. I've done this pull before but all of a sudden it's not working. I have rnoaa loaded (package/library) and I have an authorization key from the NOAA. I try to run this command: station_data <-…
Litmon
  • 247
  • 3
  • 18
0
votes
1 answer

Pull data using R from a specific weather station

I've looked through many pages of how to do this and they essentially all have the same R code suggestions, which I've followed. Here's the R code I'm using for the specific weather station I'm looking…
Litmon
  • 247
  • 3
  • 18
0
votes
1 answer

rnoaa air pressure looping

The rnoaa package only allows you to gather 30 days worth of air pressure information at a time https://cran.r-project.org/web/packages/rnoaa/rnoaa.pdf. I'm looking to create a function/ for loop to pull data from the package a month at a time. It's…
Mel_M
  • 3
  • 2
0
votes
0 answers

"Getting hourly data for NYC in R using rnoaa/countyweather packages"

I am trying to get hourly weather data for New York City from NOAA by using rnoaa and countyweather packages. I'm trying to do some version of the Kaggle Capital Bikeshare Demand Prediction problem and I need HOURLY precipitation, windspeed and…
0
votes
2 answers

How to query NOAA for historical daily temperature averages using rnoaa?

I'm trying to find the historical average temperature between a range of dates using NOAA data and comparing to the long term average temperatures. I'm using the rnoaa package and have hit a bit of a snag. For long term averages, I have been…
Sooji
  • 169
  • 3
  • 18
0
votes
1 answer

RNOAA R package data access

I've been trying to use the r package rnoaa to download climate data from weather stations closest to my sites of study (essentially almost every state or national park in the state of Florida) over the course of two decades. I have not found any…
Leo Ohyama
  • 887
  • 1
  • 9
  • 26
0
votes
1 answer

converting nested tbl_df into tibble or data frame

I'm running a function in the 'rnoaa' package that finds the 5 nearest weather stations to a data frame that contains nest box locations. This produces a nested tbl_df, a tibble for each nest box ID. I'd like to convert the tbl_df into a tibble or…
Jason
  • 892
  • 1
  • 8
  • 19
0
votes
3 answers

Multi step loop to acquire weather data over years and stations

I have a process to create a df for a single weather station over a singular month period. However, I have about 25 stations that I would like to aquire precipitation data for over a 5 year period. I have the station ids in a df, that looks like the…
Howard Smith
  • 308
  • 2
  • 15
0
votes
1 answer

How to convert this rnoaa output to a data frame R

I'm using the rnoaa package for the first time. The data output is in a format I have not used before. How can I convert this to a nice dataframe that is ready to manipulate? below is the code and output library("rnoaa") ncdc(datasetid='GHCND',…
Howard Smith
  • 308
  • 2
  • 15
0
votes
0 answers

arguments of a function or package filled sequentially from a data frame or list

I am using the new R package RNOAA to access climate data from NOAA and currently am doing it one time period at a time. Like this. PRCP_2002a<- ncdc(datasetid='GHCND', datatypeid ='PRCP', startdate = '2001-08-13', enddate = '2002-02-13',…
0
votes
0 answers

lapply for column means of a list of data.frames and append each result to a new data frame

I am a new user to R and am trying to use the RNOAA package to get some average weather data for discrete periods of time. I can get the data from the ncdc code in the RNOAA package and turn this into a data frame but I am having difficulty getting…
0
votes
1 answer

NOAA Daily Weather Extraction

I am really new to R and I am trying to use rnoaa to extract information. I have a set of two dates: September 3rd-30th 2013 December 3rd-31st 2013 and I need to extract daily weather values for Ann Arbor MI, New Haven CT and Los Angeles, CA. I…
kellis13
  • 13
  • 1
  • 4