Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Retain input lat and lon when using meteo_nearby_stations? #399

Open
pdeshlab opened this issue Aug 12, 2021 · 2 comments
Open

Retain input lat and lon when using meteo_nearby_stations? #399

pdeshlab opened this issue Aug 12, 2021 · 2 comments
Assignees

Comments

@pdeshlab
Copy link

Hi! I'm using the rnoaa package to pull data from weather stations and then match that data to survey respondents. These respondents have geodata attached to them, so it would be great if I could match the output of meteo_nearby_stations to link which stations are closest to which respondents based on their geodata. Right now, meteo_nearby_stations outputs the lat and lon coordinates of pulled weather stations, but not the original coordinates used to search for those stations.

Is there a function in the package that does this that I'm missing? If not, is there any community interest (besides myself) in this capability being added or ways I can match pulled data (either a list of stations or the relevant temp data for those stations) to input datframes (the lat lon coordinates used to query stations!).

Session Info
 Session info -----------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 4.1.0 (2021-05-18)
 os       Windows 10 x64              
 system   x86_64, mingw32             
 ui       RStudio                     
 language (EN)                        
 collate  English_United States.1252  
 ctype    English_United States.1252  
 tz       America/New_York            
 date     2021-08-11                            
@sckott
Copy link
Contributor

sckott commented Aug 12, 2021

Thanks for your question @pdeshlab

There is a new rnoaa maintainer -> @djhocking Any thoughts Daniel?

@djhocking
Copy link
Collaborator

It seems like something that would be valuable to have. I don't have an immediate solution but also don't think it should be too hard to implement. Let me dig in this weekend or early next week and let you know. Also, happy to have a pull request if @pdeshlab finds a solution in the meantime.

@djhocking djhocking self-assigned this Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants