Next / Previous / Contents / Shipman's homepage

5.3. Encounter codes

These constants define the “encounter codes” found at the start of an encounter record that identify which kind of record it is.

CAPTURE_NEW_BAND

Encounter code for a new band record.

baseclasses.py
CAPTURE_NEW_BAND = 'N'

CAPTURE_DESTROYED

Encounter code for a destroyed band.

baseclasses.py
CAPTURE_DESTROYED = 'D'

CAPTURE_LOST

Encounter code for a lost band.

baseclasses.py
CAPTURE_LOST = 'L'

CAPTURE_CHANGED

Encounter code for a changed band.

baseclasses.py
CAPTURE_CHANGED = 'C'

CAPTURE_ADDED

Encounter code for “band added.”

baseclasses.py
CAPTURE_ADDED = 'A'

CAPTURE_RESIGHT

Encounter code for MAWS color-banded birds resighted on a grid.

baseclasses.py
CAPTURE_RESIGHT = 'S'

CAPTURE_RECAP

Encounter code for a recapture.

baseclasses.py
CAPTURE_RECAP = 'R'

CAPTURE_UNBANDED

Encounter code for an unbanded bird.

baseclasses.py
CAPTURE_UNBANDED = 'U'

CAPTURE_LONG_NEW

Not one of IBP's encounter codes; used for an out-of-sequence new-band line, where all nine digits of the band number are given, not just the last two. On output, the capture code should be changed to CAPTURE_NEW_BAND.

baseclasses.py
CAPTURE_LONG_NEW = 'G'