handleRegisterTags: handle a batch of tag registrations

Description Usage Arguments Details Value Note Author(s) See Also

View source: R/handleRegisterTags.R

Description

Tag registrations are recordings of tag output accompanied by a text file of metadata. This function processes the recordings and pushes the valid ones to motus.org

Usage

1

Arguments

j

the job

Details

The job folder must contain a file called tagreg.txt with these lines:

as well as one or more recording files with names like tagXXX.wav where XXX is the manufacturer's tag ID, typically 1 to 3 digits. When there are recordings of tags with the same ID but different burst intervals, the 2nd, 3rd, and so on such tags are given names like tagXXX.1.wav, tagXXX.2.wav, ...

Value

TRUE;

Note

By default, we assume each tag was recorded at 4 kHz below its nominal frequency; e.g. at 166.376 MHz for a nominal 166.38 MHz tag. If that's not true, the filename should include a portion of the form @XXX.XXX giving the frequency at which it was recorded; e.g. tag134@166.372.wav indicates a tag recorded at 166.372 MHz, rather than the default.

Called by processServer.

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm

See Also

processServer, which calls this function.


jbrzusto/motusServer documentation built on May 19, 2019, 8:19 a.m.