Skip to content

BUG: Failure to parse BirdNet live raven format #301

Description

@blaiseli

Describe the bug

I came across crowsetta while searching for a way to convert the ".selections.txt" file exported by the BirdNet Live smartphone app (which, according to the documentation, is supposed to be in raven pro format) into something that I could load in Audacity. However Transcriber.from_file fails as follows:

SchemaError: column 'annotation' not in dataframe. Columns in dataframe: ['Selection', 'View', 'Channel', 'Begin File', 'begin_time_s', 'end_time_s', 'low_freq_hz', 'high_freq_hz', 'Common Name', 'Scientific Name', 'Confidence', 'Survey Time (UTC)', 'Confirmed', 'Confirmed At (UTC)']

To Reproduce
Steps to reproduce the behavior:

I have only tested in one case. I used the .selections.txt found in the zip archive exported from a BirdNet Live session and tried to load it as follows:

scribe = crowsetta.Transcriber(format="raven")
annots = scribe.from_file(<path to my .selections file>)

Desktop (please complete the following information):

  • Operating System: Linux
  • Version 5.1.2

Additional context

This is my first attempt at using crowsetta, and I only partially looked at the tutorial. I may not be using it as intended.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions