Jump to content


Photo

GeoLight2TAGS unused arguments error

FLightR geolocator

  • Please log in to reply
2 replies to this topic

#1 tara.imlay@gmail.com

tara.imlay@gmail.com
  • Society Members
  • 2 posts
  • Canada

Posted 07 November 2017 - 09:10 AM

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<-GeoLight2TAGS(raw=bank0662, gl_twl=bank066.twl, threshold=th, filename=NULL)

 

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

 



#2 Eldar

Eldar
  • General Members
  • 47 posts
  • Netherlands,
  • Netherlands

Posted 16 November 2017 - 04:50 AM

  Hi Tara,

 Looks strange, could you, please, save the workspace and email it to me?

save.image('image.RData')

  Eldar

PS - I would recommend TwGeos but not GeoLight for initial data annotation - saves a lot of time!



#3 tara.imlay@gmail.com

tara.imlay@gmail.com
  • Society Members
  • 2 posts
  • Canada

Posted 20 November 2017 - 08:59 AM

Thanks Eldar.  I just sent you an email.

T







Also tagged with one or more of these keywords: FLightR, geolocator

0 user(s) are reading this topic

0 members(s), 0 guests(s) and 0 anonymous member(s)