dermestid / bold-phylodiv-scripts

Scripts to calculate phylodiversity and its distribution from BOLD DNA barcode data.
1 stars 0 forks source link

Failure to get gbif data in locations with PD #99

Closed dermestid closed 3 years ago

dermestid commented 3 years ago

Not all locations where we can sample PD actually have any species in GBIF. In some cases, the file request fails instead of returning valid, empty json.

Currently, this possibility is not anticipated and causes the GBIF diversity calculation to fail altogether. It should be corrected for, and we cannot assume that the PD dataset and the GBIF diversity or difference thereof are the same size.