weatheR
weatheR copied to clipboard
getStationByID error
Hi, i need data from a specific station, so i tried to use getStationByID funciont. The station is GROTTAGLIE and in my station.list df its USAF id is 163240:
USAF WBAN NAME CTRY STATE ICAO LAT LON ELEV BEGIN END 163240 99999 GROTTAGLIE IT LIBG 40.518 17.403 65.5 19430927 20170710
if i launch the funcion
> grottaglie<- getStationByID(stationID = '163240',station.list = station.list, begin = 2013, 2016)
i get
Error in names(combined.list)[i] <- keys[i] : 'names' attribute [1] must be the same length as the vector [0]
I will try to take a look at it tonight.