Skip to content

Commit

Permalink
Update link to Gentry sites table
Browse files Browse the repository at this point in the history
This table was digitized from a pdf and posted it to the Ecological Data Wiki.
When the wiki was upgraded earlier this year the table didn't get moved.

I have now posted this table to figshare so that it won't disappear again and
updated the link. The fact that figshare links don't include filenames has been
incorporated into the change.
  • Loading branch information
ethanwhite committed Jul 17, 2016
1 parent d8633b5 commit 198388d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/gentry.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def __init__(self, **kwargs):
self.name = "Alwyn H. Gentry Forest Transect Dataset"
self.shortname = "Gentry"
self.urls = {"stems": "http://www.mobot.org/mobot/gentry/123/all_Excel.zip",
"sites": "http://www.ecologicaldata.org/sites/default/files/gentry_sites_data.txt",
"sites": "https://ndownloader.figshare.com/files/5515373",
"species": "",
"counts": ""}
self.tags = ["Taxon > Plants", "Spatial Scale > Global",
Expand All @@ -42,7 +42,7 @@ def __init__(self, **kwargs):
def download(self, engine=None, debug=False):
Script.download(self, engine, debug)

self.engine.auto_create_table(Table("sites"), url=self.urls["sites"])
self.engine.auto_create_table(Table("sites"), url=self.urls["sites"], filename='gentry_sites.csv')
self.engine.insert_data_from_url(self.urls["sites"])

self.engine.download_file(self.urls["stems"], "all_Excel.zip")
Expand Down

0 comments on commit 198388d

Please sign in to comment.