You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thank for this useful package, trying to replicate your example station from UK on my country but get error and wonder why?:
nearest_stations_ogimet(country = "Senegal",
date = Sys.Date(),
add_map = TRUE,
point = c(-16, 15),
no_of_stations = 100
)
Error in plot.window(...) : need finite 'xlim' values
Another question, is it possible to add another country like Gambia which is within Senegal?
The text was updated successfully, but these errors were encountered:
Thanks for the feedback! The error is caused by too many stations chosen. Please change the argument add_map = FALSE to see how many stations are available. I will add this improvement in the next package release.
This code below show work if you decrease number of stations to e.g. 10:
nearest_stations_ogimet(country = "Senegal", date = Sys.Date(), add_map = T, point = c(-16, 15), no_of_stations = 10)
If you want to retrieve data for Gambia you can use one of those stations:
nearest_stations_ogimet(country = "Gamb", date = Sys.Date(), add_map = F, point = c(-16, 15), no_of_stations = 4 )
Thank for this useful package, trying to replicate your example station from UK on my country but get error and wonder why?:
nearest_stations_ogimet(country = "Senegal",
Error in plot.window(...) : need finite 'xlim' values
Another question, is it possible to add another country like Gambia which is within Senegal?
The text was updated successfully, but these errors were encountered: