Closed ChristopherTracey closed 7 years ago
To add the attributes, I first summarized the environments(first/last) by SNAME in the three SGCN occurrence layers. I then merge the three summaries together. A great little bit of Python code was found at http://gis.stackexchange.com/questions/173103/using-field-calculator-to-compare-two-fields-in-att-table-and-returning-if-equal to compare the two env columns to see if they were equal. One Ophiogompus species and Gomphus septima were tagged both as terrestrial and aquatic--changed them to aquatic. Three bat species (Eptesicus fuscus, Myotis lucifugus, and Perimyotis subflavus) were rightly tagged as both. We'll have to handle this in the join manually.
Did an inner join between lu_SGCN and the temp env layers. This provided data for 532 of the 685 SGCN that we have observations for. Fixed the bad joins by season for the three above bats.
filled in the missing environments for the rest of the SGCN.
renamed 'Taxonomic_Group' to 'TaxaGroup' to match the SGCN_pt/ln/py layers (these need to be updated as well).
Everything is more or less complete for this. Still waiting on some other issues such as #12, but I'm not going to keep this open for those issues.
BG will be updating the server copy soon.
There's a number of issues with lu_SGCN table rebuild including the addition of the Environmental variable (#16) and the field length issue detailed in #10.
Additionally, it would be good to standardize the season code, add domains for some values, and other misc tasks.