-
-
Notifications
You must be signed in to change notification settings - Fork 371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add information on requirements for osm example #61
Comments
psutil also appears to be required (referenced by dask) ---------------------------------------------------------------------------
ImportError Traceback (most recent call last)
<ipython-input-3-a2de6cc720e8> in <module>()
3 x_range=(-bound, bound), y_range=(-bound, bound))
4
----> 5 with ProgressBar(), Profiler() as prof, ResourceProfiler(0.5) as rprof:
6 agg = cvs.points(df, 'x', 'y', ds.count())
/Users/caged/miniconda3/envs/datashader/lib/python3.4/site-packages/dask/diagnostics/profile.py in __init__(self, dt)
136 """
137 def __init__(self, dt=1):
--> 138 self._tracker = _Tracker(dt)
139 self._tracker.start()
140 self.results = []
/Users/caged/miniconda3/envs/datashader/lib/python3.4/site-packages/dask/diagnostics/profile.py in __init__(self, dt)
173 """Background process for tracking resource usage"""
174 def __init__(self, dt=1):
--> 175 import psutil
176 Process.__init__(self)
177 self.daemon = True
ImportError: No module named 'psutil' |
Yeah, that example isn't meant to be rerun without a bit of work. The user needs to download the data, build the castra, and then run the example. I actually wanted to store that notebook in the repo in pre-run form (or not at all. ping @jbednar for more opinions on this). It's a non-trivial time commitment to setting up the dataset to be processed. |
Maybe take it out of examples? |
(this repo's probably going to get a lot of attention after the upcoming webinar, so even if you plan to add it back later, it might be better out for now....or with big warnings in the top) |
I'd prefer having a link to instructions for how to build the castra, but with warnings that it's complicated (and explain why that is). |
As for committing the pre-run notebook, I'll be updating the repo to point people to an Anaconda cloud repository where they can see all of the pre-run notebooks. Right now that's on an account for me, but it should probably be moved to one set up just for datashader... |
@jcrist, will you be able to post a recipe for how to build the castra? I think this would be very useful to people who want to think about setting up their own workflow for processing huge files... |
I was just wondering about the same, I followed the webcast and I'll be really interested in knowing how to build the I got datashader and castra installed on OSX (homebrew python) From the castra documentation seems to me that a conversion is possible if we:
Am I correct? |
Any info on how to run the OSM example? running the provided notebook
|
That castra error just means that you don't have the file available locally. For the census data, there are links for you to download the census.castra files; just download that, unpack it as the examples/README.md says, and you should be fine for the Census example. The same would be true for the OSM example, except that we haven't made that data available for download because of its size. Instead we were going to post the instructions for how to build the castra files from the original source files, but we haven't yet had a chance to clean those up and test them on a different machine. So, you should be fine for the census example, but not yet for OSM. |
Where can I download the census.castra files? |
The discussion of the Census castra files above is out of date; the Census data is now provided as census.h5 with the download scripts described in the examples directory. You can convert that to Castra or whatever you like once loaded. |
The OSM data is also now available, or at least a 1-billion point subset of it, so this issue can be closed. |
The package castra is not mentioned in the README.md.
I tried
conda install -c https://conda.anaconda.org/calex castra
(the only copy of castra for py34 on osx-64 on anaconda) but I got the error:The text was updated successfully, but these errors were encountered: