You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Unexpected response from key lookup by coordinate #12
- About to connect() to geo-ds.appspot.com port 80 (#0)
- Trying 72.14.204.141... connected
- Connected to geo-ds.appspot.com (72.14.204.141) port 80 (#0)
> GET /api/cells?xy=-20,14 HTTP/1.1
> User-Agent: curl/7.19.7 (universal-apple-darwin10.0) libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3
> Host: geo-ds.appspot.com
> Accept: _/_
>
< HTTP/1.1 500 Internal Server Error
< Content-Type: text/html; charset=utf-8
< Cache-Control: no-cache
< Expires: Fri, 01 Jan 1990 00:00:00 GMT
< Date: Wed, 01 Jun 2011 08:54:50 GMT
< Server: Google Frontend
< Transfer-Encoding: chunked
<
<pre>Traceback (most recent call last):
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/**init**.py", line 700, in **call**
handler.get(*groups)
File "/base/data/home/apps/geo-ds/dev.348753481313772849/app.py", line 291, in get
self.post()
File "/base/data/home/apps/geo-ds/dev.348753481313772849/app.py", line 304, in post
value = int(self.request.get('pivot', None))
TypeError: int() argument must be a string or a number, not 'NoneType'
- Connection #0 to host geo-ds.appspot.com left intact
- Closing connection #0
</pre>
Oops! Yes, I need to redeploy some test data and a stable dev link for running example API calls like the one above. I'll do this in tandem with issue #13.
Activity
eightysteele commentedon Jun 1, 2011
Oops! Yes, I need to redeploy some test data and a stable dev link for running example API calls like the one above. I'll do this in tandem with issue #13.
eightysteele commentedon Aug 4, 2011
Worldclim data for California have been bulkloaded to CouchDB and a stable version of the API has been deployed to:
http://stable.geo-ds.appspot.com/api/cells/values
Here's an example call that combines coordinates, cell keys, variables, and coordinates:
http://stable.geo-ds.appspot.com/api/cells/values?xy=-123,39|-123,38&var=alt,bio8&c=true&k=9317-7198,9289-7194
Closing issue pending feedback.