Next we declare constants of universal interest throughout the
baseclasses.py module.
These constants give the lengths of fields in the species authority file.
#================================================================ # Manifest constants #----------------------------------------------------------------
SPEC4_L
Length of a four-letter species code.
SPEC4_L = 4
BLANK_SPEC4
A blank species code.
BLANK_SPEC4 = ' ' * SPEC4_L
SPEC6_L
Length of a six-letter species code.
SPEC6_L = 6
BLANK_SPEC6
A blank six-letter species code.
BLANK_SPEC6 = ' ' * SPEC6_L
ENG_L
Length of the English name for a species.
ENG_L = 37
SPEC_NO_L
Length of a “species number.” The dBASE V
field is called SSN.
SPEC_NO_L = 5
ENO_L
Called ENO in the dBASE V layout.
ENO_L = 1
GENUS_L
Length of the genus field, GENUS.
GENUS_L = 16
SPECIES_L
Length of the species field.
SPECIES_L = 17