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

preprocessLight {BAStag} do not save inserted twilights

Recommended Posts

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, 


Link to comment
Share on other sites

  • 1 month later...



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.




Link to comment
Share on other sites



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.



Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...