Jump to content
Ornithology Exchange

timlay

Society Members
  • Content Count

    4
  • Joined

  • Last visited

Community Reputation

0

Profile Information

  • Country
    Canada
  1. timlay

    FlightR calibration error

    Can you let me know how you solved this error? I'm getting the same thing while trying to calibrate my data: Calibration.periods calibration.stop=as.POSIXct("2014-07-11"), lon=-64.3431, lat=45.8980) #works fine calibration.parameters model.ageing=F, log.light.borders=log(c(2, 63)), log.irrad.borders=c(-1000, 1000)) #receive error: Error in Twilight.time.mat.Calib.dawn[-25, ] : incorrect number of dimensions My data is as follows (I used GeoLight2TAGS to get after defining sunrise/sunsets): head(TAGSbank066) datetime light twilight interp excluded 1 2013-07-05T12:37:59.000Z 64 0 FALSE FALSE 2 2013-07-05T12:39:59.000Z 64 0 FALSE FALSE 3 2013-07-05T12:41:59.000Z 3 0 FALSE FALSE 4 2013-07-05T12:43:59.000Z 3 0 FALSE FALSE 5 2013-07-05T12:45:59.000Z 5 0 FALSE FALSE 6 2013-07-05T12:47:59.000Z 7 0 FALSE FALSE
  2. Thanks Eldar. I just sent you an email. T
  3. I've used twilightCalc in GeoLight to identify sunrise and sunsets, but now I can't seem to get the data into a format for FlightR. I've tried the following (with and without all the arguments): TAGSbank066 But I consistently get the following error: Error in GeoLight2TAGS(raw = bank0662, gl_twl = bank066.twl, threshold = th, : unused arguments (raw = bank0662, gl_twl = bank066.twl, threshold = th, filename = NULL) Can someone help me figure this error our of show me what has worked for them? I'm using R version 3.4.2 on Mac OS Sierra 10.12.6 Here's what my data looks like: > head(bank0662) Date Light 1 2013-07-05 12:37:59 64 2 2013-07-05 12:39:59 64 3 2013-07-05 12:41:59 3 4 2013-07-05 12:43:59 3 5 2013-07-05 12:45:59 5 6 2013-07-05 12:47:59 7 > head(bank066.twl) tFirst tSecond type 1 2013-07-09 22:08:07 2013-07-10 12:23:48 1 2 2013-07-10 12:23:48 2013-07-10 20:07:43 2 3 2013-07-10 20:07:43 2013-07-11 11:56:57 1 4 2013-07-11 11:56:57 2013-07-11 20:30:23 2 5 2013-07-11 20:30:23 2013-07-12 11:55:06 1 6 2013-07-12 11:55:06 2013-07-12 20:10:34 2 > th [1] 1.504077
×