Jump to content
Ornithology Exchange
  • 0

preprocessLight {BAStag} do not save inserted twilights


Dear all,


after spending so many time hand-editing the twilights with preprocessLight from package BAStag, I have just realized that the new inserted twilights had never been saved. I know how the interactive windows work, I have done it many times; but I DO NOT KNOW why in the output, the columns "Twilight" and "Twilight3" are the same. In other words, the new inserted twlights are not saved.


Here it is an example:

  Twilight                           Rise        Deleted     Marker  Inserted         Twilight3             Marker3

387 25/06/2016 20:11      FALSE     FALSE      9          TRUE         25/06/2016 20:11       9

388 26/06/2016 4:45        TRUE      FALSE      5           TRUE        26/06/2016 4:45         5

389 29/06/2016 20:11       FALSE    FALSE      9           TRUE        29/06/2016 20:11       9

390 30/06/2016 4:48        TRUE      FALSE      5           TRUE        30/06/2016 4:48         5

391 30/06/2016 20:11      FALSE     FALSE      5           TRUE       30/06/2016 20:11        5 

392 01/07/2016 4:45        TRUE      FALSE      5           TRUE       01/07/2016 4:45          5


See that "Twilight3" is the same than "Twilight" for twilights that have been edited (inserted=TRUE). 

Is it necessary to do some editions at stage four of preprocessLight?


Kind regards, 


Share this post

Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0



The inserted twilights are new twilights and not "truly" edited twilights (changes in detected sunrise/sunset times), thus these columns need to be the same (they could be NA's for "Twilight3" but that would cause other problems). Most importantly, the column inserted shows that you have manually inserted these twilight times.




Share this post

Link to post
Share on other sites
  • 0



thank you for our answer Simeon. Since I posted this issue two monts ago I could finally sort this out and realized that.


Thank you anyway for your kindness.



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