Skip to content

Commit

Permalink
New upstream database, SR27
Browse files Browse the repository at this point in the history
  • Loading branch information
dunhamsteve committed Oct 9, 2014
1 parent e3ca4fd commit e4d51c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_sqlite
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ class Schema(object):

# These three functions generate DDL for a table

version = 26
version = 27

dbfile = 'sr%d.sqlite' % version

Expand All @@ -218,7 +218,7 @@ c = conn.cursor()


src_file = 'sr%d.zip' % version
url = 'http://www.ars.usda.gov/SP2UserFiles/Place/12354500/Data/SR%d/dnload/sr%d.zip' %(version,version)
url = 'http://www.ars.usda.gov/SP2UserFiles/Place/12354500/Data/SR%d/dnload/sr%dasc.zip' %(version,version)
if not os.path.exists(src_file):
print src_file, 'is missing'
print "trying to fetch", url
Expand Down

0 comments on commit e4d51c8

Please sign in to comment.