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
Station ids given to the lcd() function are those ids for the files we access from NOAA, see e.g., files for year 2020 https://www.ncei.noaa.gov/data/local-climatological-data/access/2020/ - Each station id is a combination of the USAF (Air Force station ID) code followed by the WBAN (Weather-Bureau-Army-Navy number) code. ncdc_stations() only returns the wban part of the code.
how do we make it possible to search for and get entire station codes that lcd() requires?
The text was updated successfully, but these errors were encountered:
I've been looking at this issue because I'd like to use this package to download all US LCD data on a schedule. The LCD documentation indicates that its data is pulled from the Integrated Surface Database (ISD). I looked at the historical ISD data set (ftp://ftp.ncdc.noaa.gov/pub/data/noaa/isd-history.csv), and it contains almost all of the stations in the LCD that aren't missing location data (and includes both the USAF and WBAN ids). Only two stations with complete information in the LCD didn't appear in the ISD data set (one in Massachusetts, one in Florida).
However, as of today, there are 5800 station in the ISD data that don't appear in the LCD data. I haven't been able to find a good way of figuring out which stations listed in ISD won't appear in LCD, so I'm not sure if this data set is what we want for listing all available LCD stations (though maybe it's still helpful for adding the USAF id into ncdc_stations's output).
I think we may have to build an inventory by actually reading through all available LCD files. That would take some time to run, but the data set could be built when the package is updated and included as an internal data set rather than being pulled from NOAA by the user.
Station ids given to the
lcd()
function are those ids for the files we access from NOAA, see e.g., files for year 2020 https://www.ncei.noaa.gov/data/local-climatological-data/access/2020/ - Each station id is a combination of the USAF (Air Force station ID) code followed by the WBAN (Weather-Bureau-Army-Navy number) code.ncdc_stations()
only returns the wban part of the code.how do we make it possible to search for and get entire station codes that
lcd()
requires?The text was updated successfully, but these errors were encountered: