Jump to content
Ornithology Exchange
  • 0
timlay

GeoLight2TAGS unused arguments error

Question

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

 

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

  Hi Tara,

 You have created an object called GeoLight2TAGS and it is function name in FLightR. Try removing this object and everything will go through.

 rm(GeoLight2TAGS)

  Cheers,

   Eldar

Share this post


Link to post
Share on other sites
  • 0

  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!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×