Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add check for multiple primary flights on a single date #150

Open
ethanwhite opened this issue Mar 18, 2023 · 0 comments
Open

Add check for multiple primary flights on a single date #150

ethanwhite opened this issue Mar 18, 2023 · 0 comments
Assignees

Comments

@ethanwhite
Copy link
Member

There should only ever be one primary flight for a given date, but data errors can result in more than one (see #149). We should add a check for this that blocks the addition of multiple primary flights and throws an error, probably in combine_birds_site_year.py by creating storing the dates in a separate list in the for loop (in addition to adding them to eventdf) and checking the resulting list for duplicates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants