weatheR icon indicating copy to clipboard operation
weatheR copied to clipboard

getStationByID error

Open ghost opened this issue 8 years ago • 1 comments

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]

ghost avatar Jul 13 '17 10:07 ghost

I will try to take a look at it tonight.

mpiccirilli avatar Jul 13 '17 18:07 mpiccirilli