03 de maio de 2023

California Native, Invasive, Endangered and Special species on iNaturalist

I have been using the Projects feature of iNaturalist to import lists of species from various third party sources like Calflora (UC Berkeley), California Native Plant Society Rare Plants, California Invasive Plant Council (CAL-IPC), and CDFW Special Plants and Animals so that it is possible to see and filter observations on iNaturalist using these third party sources. When you combine Projects and Places filters on iNaturalist, you can do some pretty interesting research.

For example here are some searches made possible with these projects

If you modify the filters on any of those searches you can change the Place filter to show you a different place.

Here are some umbrella projects to play with:

Some technical details for those interested: I usually start with a list of species like:

Acipenser medirostris
Agelaius tricolor
Ambystoma californiense

But in order to upload those to an iNaturalist project, I have to figure out the iNaturalist Taxon ID for each species. To do this I use a combination of the iNaturalist taxonomy database dump as well as the iNaturalist API for tricky cases where a taxon has been renamed. Once I have the iNaturalist Taxon ID, I can upload a list of all taxon into a project using the iNaturalist API. I used to do all of this manually, but it is very time consuming to copy and paste one species at a time into the Project Edit screen. The code I use is here https://github.com/maxogden/inaturalist-taxonomy-import

Here is a full list of all my individual projects so far for reference:

https://www.inaturalist.org/projects/cdfw-special-animals
https://www.inaturalist.org/projects/calflora-native-annual-herbs
https://www.inaturalist.org/projects/calflora-native-grasses
https://www.inaturalist.org/projects/calflora-native-trees
https://www.inaturalist.org/projects/calflora-native-ferns
https://www.inaturalist.org/projects/calflora-native-vines
https://www.inaturalist.org/projects/calflora-native-shrubs
https://www.inaturalist.org/projects/calflora-native-perennial-herbs
https://www.inaturalist.org/projects/cnddb-endangered-and-threatened-animals
https://www.inaturalist.org/projects/cnddb-endangered-threatened-and-rare-plants
https://www.inaturalist.org/projects/cnps-rare-plants-1a
https://www.inaturalist.org/projects/cnps-rare-plants-1b-1
https://www.inaturalist.org/projects/cnps-rare-plants-1b-2
https://www.inaturalist.org/projects/cnps-rare-plants-1b-3
https://www.inaturalist.org/projects/cnps-rare-plants-2a-2b
https://www.inaturalist.org/projects/cnps-rare-plants-3-3-1-3-2-3-3
https://www.inaturalist.org/projects/cnps-rare-plants-4-1-4-2-4-3
https://www.inaturalist.org/projects/invasive-plants-of-the-southern-california-mountains-and-foothills
https://www.inaturalist.org/projects/la-critically-endangered-species-iucn
https://www.inaturalist.org/projects/la-endangered-species-iucn
https://www.inaturalist.org/projects/la-near-threatened-species-iucn
https://www.inaturalist.org/projects/la-vulnerable-species-iucn
https://www.inaturalist.org/projects/limited-invasive-cal-ipc
https://www.inaturalist.org/projects/moderately-invasive-cal-ipc
https://www.inaturalist.org/projects/highly-invasive-cal-ipc
https://www.inaturalist.org/projects/california-conservation-genomics-project-ccgp-species
https://www.inaturalist.org/projects/la-city-protected-trees

Posted on 03 de maio de 2023, 04:54 PM by maxo maxo | 0 comentários | Deixar um comentário

12 de abril de 2023

CNPS Rare Plants on iNaturalist

I imported the entire Rare Plants database into a set of iNaturalist Projects. CNPS Rare Plants (https://rareplants.cnps.org/) is an inventory of over 2400 plants and their various rarity rankings throughout the CFP (California Floristic Province). Lots of land managers, policy makers, and activists use CNPS rare plant statuses to protect ecosystems across the state, so I wanted to make it easy to track them on iNat.

The umbrella project for all ranking levels is https://www.inaturalist.org/projects/cnps-rare-plants.

An example of what can be done with a project is something like this... all of the research grade rare plant IDs in the Eaton Canyon Biodiversity Area https://www.inaturalist.org/observations?place_id=162459&project_id=cnps-rare-plants&quality_grade=research&subview=map&verifiable=any

You'll notice the umbrella project has around 1700 species, but I mentioned 2400 above. All 2400+ have been added to the project, but only ~1700 have any observations, meaning there are ~700 rare plant species out there that haven't been put on iNaturalist in the CFP yet. The Rare Plants project is set up to only show observations with the CFP boundary, so observations in e.g. Oregon wouldn't show up here.

There are a few missing species due to differences in iNaturalist's taxonomy. Generally iNat gets taxonomy info from Kew Gardens POWO database. If CNPS disagrees with POWO, then there might not be a way to express a rare species, variety or subspecies on iNat. One example of this is the 1A plant Lycium verrucosum (San Nicolas Island desert-thorn) which is considered by POWO to be the more common Lycium brevipes. In these cases I just use the POWO synonym species, but in the case of San Nicolas Island desert-thorn, this means any Lycium brevipes observation will show up as a 1A rare plant, even though Lycium brevipes is not in the CNPS rare plant registry. iNaturalist's own 1A tag (which are not available as search parameters, hence the need for me to create this project) shows that Lycium brevipes is a 1A rare plant as well https://www.inaturalist.org/taxa/77903-Lycium-brevipes. Should I be handling this differently? Let me know.

The code used to create this project is here https://github.com/maxogden/inaturalist-taxonomy-import and the data is here https://docs.google.com/spreadsheets/d/1-c45X-BvIVbgSPacDXsyR9OIywnIWtghAa1_K3lS6v8/edit?usp=sharing. The general approach was to:

  • Download the iNaturalist DWCA Taxonomy database
  • Download the CNPS rare plant database
  • For each binomial name in the CNPS data, try finding an exact match in the iNat taxonomy data to find the corresponding iNat taxon ID
  • For ones where an exact match is not available, fall back to the iNaturalist taxonomy API endpoint (which handles renamed taxons and other edge cases but is slower)
  • For anything that was not assigned a taxon ID, manually go through and find the correct taxon ID
  • Finally, once everything has a taxon ID, reverse engineer the iNaturalist project API (not documented) and add the ~2400 species to the 8 different projects in an automated way (so I didn't have to type them one at a time)

If you have any suggestions or ideas, please comment below

Posted on 12 de abril de 2023, 02:26 AM by maxo maxo | 0 comentários | Deixar um comentário

Arquivos