Code Monkey home page Code Monkey logo

Comments (4)

batpad avatar batpad commented on May 26, 2024

This would be great to do.

I tried to spin a Binder notebook with one of the examples: https://mybinder.org/v2/gh/developmentseed/lonboard/HEAD?labpath=examples%2Finternet-speeds.ipynb

It seems like there are some missing dependencies / I could be doing something wrong but was not able to get the map to work.

From the Binder docs, it seems like it's looking for an environment.yml file similar to https://github.com/binder-examples/conda/blob/main/environment.yml

@kylebarron let me know if I can help with this or help testing or anything .

from lonboard.

kylebarron avatar kylebarron commented on May 26, 2024

I'll look into this, but one thing to try is subsetting the data to a smaller region before plotting.

Binder should be picking up the requirements.txt in the .binder folder: https://github.com/developmentseed/lonboard/blob/main/.binder/requirements.txt

And additionally we try to pre-cache binder docker images so that it'll be fast to load for the user https://github.com/developmentseed/lonboard/blob/main/.github/workflows/build-binder-image.yml (ref https://github.com/jupyterhub/repo2docker-action#cache-builds-on-mybinderorg)

On Friday, I believe the point notebook was working consistently for me (even with all the data) while the linestring example was crashing the kernel for an unknown reason

from lonboard.

batpad avatar batpad commented on May 26, 2024

Hmm today it seems like the build step on Binder is failing, which was working yesterday: https://mybinder.org/v2/gh/developmentseed/lonboard/HEAD?labpath=examples%2Finternet-speeds.ipynb

@kylebarron do you know if this looks like something you changed in lonboard or something on the Binder side? I've tried 2-3 times today and the build has consistently failed for me with:

Step 50/50 : CMD ["jupyter", "notebook", "--ip", "0.0.0.0"]
 ---> Running in 688cfbefda2f
Removing intermediate container 688cfbefda2f
 ---> c726de31344b
{"aux": {"ID": "sha256:c726de31344b99108d27e5999ad6ea6f566f2ddd6b89876e821aeb9850a8a7b1"}}Successfully built c726de31344b
Successfully tagged gesiscss/binder-r2d-g5b5b759-developmentseed-2dlonboard-b99df7:42d90bb6ecd275afb55b15b6d6d462133733eec8
Error during build: UnixHTTPConnectionPool(host='localhost', port=None): Read timed out.

from lonboard.

kylebarron avatar kylebarron commented on May 26, 2024

I'm 99% sure Read timed out is a binder issue and not ours. I've seen it randomly a few times myself.

from lonboard.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.