You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recording file names are currently parsed by the vesper.mpg_ranch.recording_file_parser module. For historical reasons, the module parses file names of some forms that are uncommon and unintuitive, but not of others that are more common and/or more intuitive. For example, issue #215 arose because the MPG-Ranch-specific parser _MpgRanchFileNameParser0 parses a file name like "Queens_20230502_010000_Z.WAV" not as specifying a UTC time but as specifying a local time and a comment of "Z". At a minimum, I'd like to remove MPG-Ranch-specific parsers that are more likely to cause trouble than be helpful and add parsers for the format of the above example and perhaps others that Vesper is likely to encounter.
It might also be a good idea to make recording file name parsers plugins. Note that if we do that, we may also want to provide a way for users to specify an order in which parsers should be tried.
The text was updated successfully, but these errors were encountered:
Thanks for that suggestion. The AudioMoth file names are tricky to handle since they include only start date and time but no station/sensor name. I have renamed (and resampled) AudioMoth files I've dealt with via a script much like your shim before importing them.
Recording file names are currently parsed by the
vesper.mpg_ranch.recording_file_parser
module. For historical reasons, the module parses file names of some forms that are uncommon and unintuitive, but not of others that are more common and/or more intuitive. For example, issue #215 arose because the MPG-Ranch-specific parser_MpgRanchFileNameParser0
parses a file name like "Queens_20230502_010000_Z.WAV" not as specifying a UTC time but as specifying a local time and a comment of "Z". At a minimum, I'd like to remove MPG-Ranch-specific parsers that are more likely to cause trouble than be helpful and add parsers for the format of the above example and perhaps others that Vesper is likely to encounter.It might also be a good idea to make recording file name parsers plugins. Note that if we do that, we may also want to provide a way for users to specify an order in which parsers should be tried.
The text was updated successfully, but these errors were encountered: