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
1
vote
1 answer

Function in R to pull weather data based on Lat/Lon - RNOAA package

I am building a list with types of weather observations in R based on Latitude and Longitude that is similar to the weather station. ## List of airports you want to include in your weather extract airport_list <- c("KABE" , "KBWI", "KRAL") ##…
1
vote
0 answers

Better optimization for RNOAA GSOM for loop

This is a related question to this: Better way to optimize my code for getting NOAA climate data But because of the different data set as well as a completely different 'for' loop format I think it's best to start a new question. Essentially I am…
Leo Ohyama
  • 887
  • 1
  • 9
  • 26
1
vote
1 answer

Better way to optimize my code for getting NOAA climate data

So I've been working on grabbing climate data (specifically temperature, precip) from NOAA's network of GHCN weather stations. I've managed to get a list of the stations pertinent to my area (~200) and have built a loop to essentially get a certain…
Leo Ohyama
  • 887
  • 1
  • 9
  • 26
1
vote
1 answer

Nestled Loop not Working to gather data from NOAA

I'm using the R package rnoaa(along with it required other packages) to gather historical weather data. I wrote this nestled loop to gather all the data sets but I keep getting errors when I run it. It seems to run for a second fine The…
farmerm3
  • 341
  • 1
  • 4
  • 13
1
vote
1 answer

R rnoaa annual results - No data found

I am currently trying to configure the rnoaa library to connect city, state data with a weather station, and therefore output ANNUAL weather data, namely temperature. I have included a hardcoded input for reference, but I intend on feeding in…
rws
  • 31
  • 6
1
vote
0 answers

How do I load my api key into rnoaa using R?

I am new to r and trying to load my api token to get access to the rnoaa package. I have the API token I just don't know how to access it. Can anyone explain how to load my API key into rnoaa using R? Thanks!
kellis13
  • 13
  • 1
  • 4
0
votes
0 answers

'rnoaa' not pulling monitors for weather stations found

I have been using the 'rnoaa' package to pull weather data from weather monitors within 30 km of my defined longitude and latitude using the following code which works for the majority of my locations. station_data <-…
ASHooper93
  • 27
  • 3
0
votes
0 answers

rnoaa is giving bad gateway error not sure why given API is up

Does anyone know why rnoaa is giving me a bad gateway error? I get this error: Error: Bad Gateway (HTTP 502). I believe the API is up from this link:…
steppermotor
  • 701
  • 6
  • 22
0
votes
0 answers

How to fix the object for Bioclim predict function on raster datasets

I am using the dismo predict function to predict the niche available to marine vertebrates in 2050. I have got a current and future oceanic pH dataset, my future dataset won't work within the predict function. I downloaded the data from noaa…
Em27
  • 1
  • 1
0
votes
1 answer

web scraping for sunrise and sunset data using National oceanic and atmospheric administration

I want to scrape data from NOAA (https://gml.noaa.gov/grad/solcalc/). The data I want to get is sunrise and sunset timings for various counties of the US in the last 3 years. I have the coordinates of those counties. Now the problem which I am…
0
votes
0 answers

how to download precipitation data for latitude-longitude coordinates from NOAA in R

I'm trying to download precipitation data for a list of latitude-longitude coordinates in R. I've came across this question which gets me most of the way there, but over half of the weather stations don't have precipitation data. I've pasted code…
steve
  • 1
  • 1
0
votes
0 answers

Error in if (req_dur > maxdur) { : missing value where TRUE/FALSE needed

I am trying to call water level data from NOAA using the rnoaa library. Water level data is restricted to 31 days and I need data across multiple months. I found the following 'while' loop when looking for similar questions: Looking for a solution…
Max
  • 23
  • 3
0
votes
1 answer

How to download precipitation data using rnoaa

I am new to the 'rnoaa' R package. I am wondering how do I find stationsid names to identify stations. I am interested in downloading hourly or daily precipitation data from 2011 to 2020 from the Prince William Sound Alaska area. I looked here:…
Salvador
  • 1,229
  • 1
  • 11
  • 19
0
votes
2 answers

Downloading NOAA data

I'm trying to download NOAA data using the rnoaa package and I'm running into a bit of trouble. I took a vector from a dataframe and it looks like this: df <- dataframe$ghcnd Grabbing necessary column This gives me an output like: [1]…
0
votes
1 answer

Altering output from rnoaa package?

and thank you for the help. Currently the rnoaa package in Program R gives you an output as a list. You can access the data in this list easily; however, I would like to alter the way the data is coming out. It currently is not in the format that is…
Colby
  • 27
  • 9