Giter Site home page Giter Site logo

automatingcbc's People

Contributors

jhurley13 avatar

Stargazers

 avatar  avatar

Watchers

 avatar

automatingcbc's Issues

Add formatting rules so that zeros show as blanks (but are still 0)

Add formatting rules so that zeros show as blanks (but are still 0)
see Barry's email 12-27-20 5:26PM Re: Automating the Christmas Bird Count article

John,

The way to get zeroes to show as blanks is to make a custom format that looks like “0;0;” (this means format with no decimals for postive and negative numbers and format as nothing for zeroes).

  1. Select the columns with numbers that you want formatted this way
  2. In the “Home” toolbar, click on the formatting popup. It looks like this on my machine:
    PastedGraphic-10.png
  3. From the popup, choose “More Number Formats…”
  4. Click “Custom” and under “Type:” type “0;0;”
    ==> Voila! The zeroes disappear. They’re still there, just invisible (you’ll see them if you copy and paste, for example)

The custom formats are pretty powerful, and reminiscent of regular expressions. For example, they have this one:
($* #,##0);($* (#,##0);($* "-");(@_)

Not sure what it means! Like regexes, I know just enough to be dangerous!

Barry

Why are Pete Dunten checklists missing from visits?

May require support from eBird team

Pete Dunten visits missing, but details are available

dunten_subids = ['S78036994', 'S78035225']
dunten_locids = ['L7194495', 'L13043990']
dunten_visits['obsDt'] = '26 Dec 2020'

Feature: Show proper total when zero total for species but have ISSF/SPUH etc.

As part of prepare_for_compiler, highlight CountSpecial count fields if all counts
in Group are zero. For example, count "peep sp." iff all other on list
in "Sandpipers and Allies" are zero
Or "gull sp." iff "Gulls, Terns, and Skimmers" all zero
This isn't quite right though, since "peep sp." would require all Shorebirds to be 0
See e.g. "Western/Clark's Grebe" and "Western/Clark's Grebe"

SLASH [clear path]
For "Western/Clark's Grebe", both ['WEGR', 'CLGR'] entries must be zero
For "Short-billed/Long-billed Dowitcher" both ['SBDO', 'LBDO'] entries must be zero
Field in Taxonomy is "comNameCodes"

ISSF
Northern Flicker (Yellow-shafted) has ['NOFL'] in comNameCodes; This must be zero

INTERGRADE
Northern Flicker (Yellow-shafted x Red-shafted) has ['NOFL'] in comNameCodes; This must be zero

HYBRID
Northern x Gilded Flicker (hybrid) ['GIFL', 'NOFL'] in comNameCodes

SPUH
gull sp. has [] in comNameCodes

peep sp. has "Sandpipers and Allies" in familyComName, SPECIES_GROUP is "Shorebirds"
this means we have to populate familyComName as well

duck sp. familyComName is "Ducks, Geese, and Waterfowl"

DOMESTIC
Mallard (Domestic type) not countable
Muscovy Duck (Domestic type) not countable

To get 4 char code, it may be in comNameCodes, or if that's [], then bandingCodes
See e.g. Peregrine Falcon, also Wood Duck

familyComName - column J
comNameCodes - column G
SPECIES_GROUP - column X
bandingCodes - column F

Leads to general rule for checklists: if SLASH/HYBRID/ISSF present, 
then base species must be on list as well. Seen with Dark-eyed Junco


See https://nationalaudubon.app.box.com/s/h5h73acc0ix86vap55hf8miici88bniw
"Total Number of Species" from
https://www.audubon.org/christmas-bird-count-compiler-resources

Document what can be done without eBird API key (or during outage!)

Document what can be done without eBird API key (or during outage!)

Where are all the inputs? This includes parameters, rarities, annotations, contacts

Services

  • Service-Parse
  • Service-EmailToContacts
  • Service-ProcessEBird
  • Service-Weather
  • Service-RareBird
  • Service-Merge

CBCPipeline => CBCServices or BirdCountServices

Directories

  • delete reports/figures
  • change reports to Outputs

2019 CBC email from Bill: "2019 Christmas Bird Count - Evergreen & Alum Rock" 12-03-19
(78 email addresses)

Here, True positives are the number of cases where the algorithm detects an example as an anomaly and in reality, it is an anomaly.
False Positives occur when the algorithm detects an example as anomalous but in the ground truth, it is not.
False Negative means the algorithm detects an example as not anomalous but in reality, it is an anomalous example.

Write up post-mortem for CBC 2020

Post-mortem

Things that don't work:

  • no way to tell what things are rare, i.e. need writeup

  • Please don't put an X in for a species count

  • Add SPECIES/SPUH, etc

  • Note that things like "Muscovy Duck (Domestic type)" are not countable, so filter

  • Really a pain to merge data right now

  • It looks like Total column for Sectors is a number not a formula. Fix to allow additions

  • All it is possible to figure out who has to file a rare bird report from the Summary,
    would be much better to produce a list (in addition to pre-populating forms)

  • Really want to move back to my pipeline idea, where info for summary can come from
    many sources and have different transformations done (e.g. merge, which inserts into species)

  • Must agree on hotspots to use when entering data to avoid having to manually
    merge/max columns later. See e.g. Bruce Barrett and my mixup over Almaden Lakes

Add conditional formatting for almost duplicates

For Barry/Ginger almost duplicates, add conditional formatting
Formula: =$N2<>$O2
applies to $N2:$O199

Barry & Ginger almost dup checklists: ['S78035409', 'S78022175', 'S78029825', 'S78013998']
Almaden Lakes sector a good one for finding dups and near dups, particularly locations

Document Service-Parse process

PARSE PROCESS FOR CACR
Download checklist from https://scvas.org/christmas-bird-count-party-leaders

rename Calero-Morgan+Hill+CBC+Checklist+2020.pdf => CACR-2020-checklist.pdf
Move to Inputs/Parse
Add column to ground_truths called CACR-2020
May have to update Inputs/Parse/CACR-2020-Annotations.xlsx
In Service-Parse, make sure count_prefix is set to 'CACR-2020-'
Under Kernel, Restart & Run all

For Al Eisner: forgot what this request is for, but investigate

For Al Eisner

Greater White-fronted Goose, Red-breasted Merganser, Virginia Rail,
Brown Pelican, Red-breasted Nuthatch, House Wren (which has increased
in the last few years), Golden-crowned Kinglet, Brown-headed Cowbird.

1 Virginia Rail - Portola
L12968060-Tricia Gardner-11:07-07-Portola Valley-S77808640
1 House Wren - Palo Alto
L4970491-Richard Jeffers-15:24-02-Palo Alto-S77821260
2 GCKI - Portola
L3063713-Cédric Duhalde-07:21-07-Portola Valley-S77816096
L6581306-Whitney Mortimer-07:29-07-Portola Valley-S77807596
3 Brown-headed Cowbird - Portola
L12968060-Tricia Gardner-08:25-07-Portola Valley-S77800072

Here are the URLs for the checklists:
https://ebird.org/checklist/S77808640
https://ebird.org/checklist/S77821260
https://ebird.org/checklist/S77816096
https://ebird.org/checklist/S77807596
https://ebird.org/checklist/S77800072

Greater White-fronted Goose 0
Red-breasted Merganser 0
Virginia Rail 3
Brown Pelican 0
House Wren 1
Brown-headed Cowbird 3
Red-breasted Nuthatch 1 ***
Mountain View
L153282-Sarah Chan-11:05-04-Mountain View-Sunnyvale-S77846952
Golden-crowned Kinglet 4 ***
Palo Alto 1
L594012-Liz Frith-12:05-02-Palo Alto-S77711697
Menlo Park 1
L5453625-Barbara Coll-09:34-03-Menlo Park-Atherton-S77843938
Portola 2
L3063713-Cédric Duhalde-07:21-07-Portola Valley-S77816096
L6581306-Whitney Mortimer-07:29-07-Portola Valley-S77807596

https://ebird.org/checklist/S77846952 (Tue 22 Dec 2020)
https://ebird.org/checklist/S77711697 (Sat 19 Dec 2020)
https://ebird.org/checklist/S77843938 (Tue 22 Dec 2020)
https://ebird.org/checklist/S77816096 (Mon 21 Dec 2020)
https://ebird.org/checklist/S77807596 (Mon 21 Dec 2020)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.