Skip to content

Updated species list documentation#901

Merged
Josef-Haupt merged 4 commits into
mainfrom
882-documentation-how-is-the-week-parameter-used-when-a-species-list-is-given
May 4, 2026
Merged

Updated species list documentation#901
Josef-Haupt merged 4 commits into
mainfrom
882-documentation-how-is-the-week-parameter-used-when-a-species-list-is-given

Conversation

@Josef-Haupt
Copy link
Copy Markdown
Member

No description provided.

Copilot AI review requested due to automatic review settings May 4, 2026 20:07
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates BirdNET Analyzer’s CLI documentation/help text around species list generation, clarifying coordinate units and when week-based filtering applies.

Changes:

  • Clarify --lat/--lon as decimal degrees in docstrings and argparse help.
  • Add/expand guidance that --week is only relevant when using location-based filtering (lat/lon), and describe interaction with --slist.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread birdnet_analyzer/cli.py Outdated
Comment thread birdnet_analyzer/cli.py
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 4 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread birdnet_analyzer/cli.py
Comment on lines +163 to +172
p.add_argument(
"--lat",
type=float,
help="Recording location latitude in decimal degrees. Cannot be used together with --slist, use either the species list or the location coordinates",
)
p.add_argument(
"--lon",
type=float,
help="Recording location longitude in decimal degrees. Cannot be used together with --slist, use either the species list or the location coordinates",
)
Comment thread birdnet_analyzer/cli.py
Comment on lines 154 to 159
--week (int): Week of the year when the recording was made. Values in [1, 48] (4 weeks per month).
Set -1 for year-round species list. Default is -1.
Only effective when --lat and --lon are provided; ignored when a species list (--slist) is given.
Leave blank for year-round species list.
--slist (str): Path to species list file or folder. If folder is provided, species list needs to be named
"species_list.txt". If lat and lon are provided, this list will be ignored.
--sf_thresh (float): Minimum species occurrence frequency threshold for location filter. Values in [0.01, 0.99].
Comment thread birdnet_analyzer/cli.py
Leave blank for year-round species list.
--slist (str): Path to species list file or folder. If folder is provided, species list needs to be named
"species_list.txt". If lat and lon are provided, this list will be ignored.
--sf_thresh (float): Minimum species occurrence frequency threshold for location filter. Values in [0.01, 0.99].
Comment thread birdnet_analyzer/cli.py
Set -1 for year-round species list. Default is -1.
Only effective when --lat and --lon are provided; ignored when a species list (--slist) is given.
Leave blank for year-round species list.
--sf_thresh (float): Minimum species occurrence frequency threshold for location filter. Values in [0.01, 0.99].
@Josef-Haupt Josef-Haupt merged commit ee58e70 into main May 4, 2026
2 checks passed
@Josef-Haupt Josef-Haupt deleted the 882-documentation-how-is-the-week-parameter-used-when-a-species-list-is-given branch May 4, 2026 20:41
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

Successfully merging this pull request may close these issues.

documentation: how is the week parameter used when a species list is given?

2 participants