Next / Previous / Contents / TCC Help System / NM Tech homepage

56. nmAlias(): The New Mexico alias set

This function implements the census-filter function (see Section 14.1, “census-filter) for the New Mexico alias set.

cbchistlib.py
# - - -   n m A l i a s

nmSingles = [
    ('AMERAV', 'COMRAV'),     # Am. Raven
    ('ARLHAW', 'ROLHAW'),     # Am. Rough-legged Hawk
    ('BAIWRE', 'BEWWRE'),     # Baird's Wren
    ('BOTGRA', 'GRTGRA'),     # Boat-tailed Grackle
    ('BRNTOW', 'CANTOW'),     # Brown Towhee
    ('CACWOO', 'LABWOO'),     # Cactus Woodpecker
    ('CHBBLU', 'WESBLU'),     # Chestnut-backed Bluebird
    ('DEHLAR', 'HORLAR'),     # Desert Horned Lark
    ('DESHAW', 'AMEKES'),     # Desert Sparrow Hawk
    ('DUHLAR', 'HORLAR'),     # Dusky Horned Lark
    ('GAMSPA', 'WHCSPA'),     # Gambel's Sparrow
    ('GNWTEA', 'AGWTEA'),     # Green-winged Teal
    ('GWCSPA', 'WHCSPA'),     # Gambel's White-cr. Sparrow
    ('INTSPA', 'WHCSPA'),     # Intermediate Sparrow
    ('LOCJAY', 'STEJAY'),     # Long-crested Jay
    ('MTSSPA', 'SONSPA'),     # Mountain Song Sparrow
    ('NEVRED', 'REWBLA'),     # Nevada Redwing
    ('PALGOL', 'AMEGFI'),     # Pale Goldfinch
    ('PLATIT', 'JUNTIT'),     # Plain Titmouse
    ('REDWIN', 'REWBLA'),     # Redwing (NOT the Eur. thrush)
    ('ROMNUT', 'WHBNUT'),     # Rocky Mountain Nuthatch
    ('RUSTOW', 'SPOTOW'),     # Rufous-sided Towhee
    ('SASSPA', 'SAVSPA'),     # Savannah (Savannah) Sparrow
    ('SCOSPA', 'RUCSPA'),     # Scott's Sparrow
    ('SCRJAY', 'WESJAY'),     # Scrub Jay
    ('SCROWL', 'WESOWL'),     # Screech Owl
    ('SLBNUT', 'WHBNUT'),     # Slender-billed Nuthatch
    ('SLCSPA', 'FOXSPA'),     # Slate-colored Sparrow
    ('SPUTOW', 'SPOTOW'),     # Spurred Towhee
    ('TRBHER', 'GRBHER'),     # Treganza Blue Heron
    ('TREHER', 'LOGSHR'),     # Treganza Heron
    ('WEEGRO', 'EVEGRO'),     # Western Evening Grosbeak
    ('WESGNA', 'BUGGNA'),     # Western Gnatcatcher
    ('WESROB', 'AMEROB'),     # Western Robin
    ('WETSPA', 'AMTSPA'),     # Western Tree Sparrow
    ('WHBWOO', 'HAIWOO'),     # White-breasted Woodpecker
    ('WHRSHR', 'LOGSHR'),     # White-rumped Shrike
    ('WOOJAY', 'WESJAY'),     # Woodhouse's Jay
]

nmTriples = [
    ('BOTGRA', '/', 'GRTGRA', 'GRTGRA'),
    ('EASOWL', '/', 'WESOWL', 'WESOWL'),
]

nmAlias = aliasFactory(nmSingles, nmTriples)