1 / 14

Improving workflow at CNDDB

Annie Chang. Improving workflow at CNDDB. California Natural Diversity Database. Natural heritage program Map rare plants and animals http://www.dfg.ca.gov/biogeodata/cnddb/. Work is time-consuming. Purpose. Automate part of the workflow using python script. Select by attributes.

slone
Download Presentation

Improving workflow at CNDDB

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Annie Chang Improving workflow at CNDDB

  2. California Natural Diversity Database • Natural heritage program • Map rare plants and animals • http://www.dfg.ca.gov/biogeodata/cnddb/

  3. Work is time-consuming

  4. Purpose • Automate part of the workflow using python script

  5. Select by attributes • Needed to select new records that are not yet buffered (Source_Feature = N)

  6. Buffer selected records

  7. Append • Each time the script runs, the buffer feature class would be deleted and recreated • Save the results of the buffer in the feature class SOURCE_FEATURE through append

  8. Calculate Field • Needed to mark the records as processed • Values of Source_Feature were changed from “N” to “Y”

  9. Dissolve • Occurrences are summaries of detection areas for particular species

  10. Obstacles • When to put single, double, or no quotes around variables • Text values for the CalculateField operation needed double quotes

  11. Obstacles (continued) • Originally, the buffer was done on the entire source layer. Then, I realized if I were to add additional records to the source layer (like when we receive new data at CNDDB), there is no way to only buffer the new data. I added a new field “Source_Feature” that had values “Y” or “N” to indicate whether this record has already been buffered and saved in the SOURCE_FEATURE feature class.

More Related