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
thanks for the issue. I can replicate the problem. it's due most likely to a cached file on disk matching the query, but that is empty or malformed. looking into it
use a new utiliity fxn for safe reading of csv files with more informative error message
export lcd_cache and make manual file for it so that users can manage the lcd cache
change internal fxn read_csv to storms_read_csv as it was only used for storms
add utilities tests file, add test for lcd() for bad files
@juliannemeehan please restart R, reinstall like remotes::install_github("ropensci/rnoaa"), then see the new ?lcd_cache, you can manage your lcd cached files with that object.
lcd_cache$delete_all() # or lcd_cache$delete() to delete specific files
lcd(72517014737, 2020)
I am trying to download 2020 data using the lcd function:
I get the error message:
Error in read.table(file = file, header = header, sep = sep, quote = quote, : no lines available in input
I have check the file index:
https://www.ncei.noaa.gov/data/local-climatological-data/access/2020/
and there is data for 2020 for this station.
Session Info
The text was updated successfully, but these errors were encountered: