Jump to content
Ornithology Exchange (brought to you by the Ornithological Council)

error in preprocessLight

Recommended Posts

Hi everyone!

I am running the preprocessLight of my geolocators data and I have the following error in some of my devices: 

Error in seq.default(as.numeric(tmin) + dt/2, as.numeric(tmax) - dt/2,  : 
  'from' must be of length 1

My data spans not for more than one year but it includes different years (2019 and 2020). I have tried to subset the .lig original data so that it includes only one year, but it doesn't work!

Any idea? Someone with the same problem?

Thanks !!!


Link to comment
Share on other sites

Hi Melina,

please make sure that there are no NA´s in the date:


If this is >0 than this is the fault and you need to remove these rows.



Link to comment
Share on other sites

  • Create New...