acs_tools's People
acs_tools's Issues
`us` as a state abbreviation, not sure what it is supposed to be?
STATE_AB
['al', 'ak', 'ar', 'az', 'ca', 'co', 'ct', 'dc', 'de', 'fl', 'ga', 'hi', 'ia', 'id', 'il', 'in', 'ks', 'ky', 'la', 'ma', 'md', 'me', 'mi', 'mn', 'mo', 'ms', 'mt', 'nc', 'nd', 'ne', 'nh', 'nj', 'nm', 'nv', 'ny', 'oh', 'ok', 'or', 'pa', 'pr', 'ri', 'sc', 'sd', 'tn', 'tx', 'us', 'ut', 'va', 'vt', 'wa', 'wi', 'wv', 'wy']
download_shps.py bug when downloading breaks middle way
When download breaks in the middle of the process fname
can exist but there is no shapefile so last line below returns error:
if not os.path.exists(fname):
with open(fname,'wb') as o:
o.write(dat)
os.system('unzip '+fname)
shp = pysal.open(fname.replace('.zip','.shp'),'r')
what is meaning of """ Download the "Generalized" boundary files. Good for display, but not analysis """?
""" Download the "Generalized" boundary files. Good for display, but not analysis """ is here:
ACS_Tools / pyACS / download_shps.py
Need more description and descriptive project names
ACS_Tools is too cryptic. Also it would be nice to read some description so I can assess how to contribute quicker.
File "download_shps.py", line 162, outshp.close() bug
Traceback (most recent call last):
File "download_shps.py", line 173, in <module>
fetch_and_merge_state_block_shapefiles(outname="blocks")
File "download_shps.py", line 162, in fetch_and_merge_state_block_shapefiles
outshp.close()
File "/usr/local/lib/python2.7/dist-packages/pysal/core/IOHandlers/pyShpIO.py", line 187, in close
self.dataObj.close()
File "/usr/local/lib/python2.7/dist-packages/pysal/core/util/shapefile.py", line 385, in close
self._shx.close(self.header)
File "/usr/local/lib/python2.7/dist-packages/pysal/core/util/shapefile.py", line 525, in close
self.fileObj.write(pack(fmt, *values))
struct.error: 'i' format requires -2147483648 <= number <= 2147483647
fix seq.py for year 2011
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.