Comments (12)
We now set up Binder for Gammapy: https://gammapy.readthedocs.io/en/latest/getting-started.html#binder
I see that binder is also set up for this repo:
https://github.com/astropy/astropy-tutorials#running-tutorials
(modulo #110).
Binder seems like the simplest solution to set up and maintain.
Closing this issue now so that we don't have to read through the discussion.
If there's something to be done, let's open new issues or PRs.
from astropy-tutorials.
Here's a first version of a Docker file and image that contains Astropy:
https://github.com/gammapy/gammapy/tree/master/dev/docker
from astropy-tutorials.
Sorry for dropping the ball on this, @cdeil , and thanks for making me aware of this!
from astropy-tutorials.
@cdeil - I know this is months old, but I just noticed this and did this now. I created a docker organization for Astropy and gave you full access to it.
from astropy-tutorials.
@eteq – Thanks for setting this up.
I'm still very interested to learn more about Docker and set this up, but realistically I'm swamped with other things until July. So if someone else wants to do this, please go ahead.
These could serve as examples / templates .. maybe all that's needed is to change the Dockerfile to install Astropy and the tutorial repo:
from astropy-tutorials.
Same here re: swamped, but I do agree a docker template would be a valuable thing to have in place. If anyone else wants to try this (maybe @adrn?) and needs access, feel free to ping me.
from astropy-tutorials.
As mentioned at https://github.com/x-calibre/astropython/issues/100, it would be great if we can get online IPython notebooks for the Astropy tutorials or other Astro packages going, either included in astropython.org somehow, or linked to from that page and the Astropy page / docs.
So I asked @rgbkrk from Jupyter / Rackspace for advice on this via email with @X-Calibre in CC, but now I think it's better continue the discussion here so that @eteq, @adrn, @taldcroft or anyone else interested in this can comment or help make this happen.
To summarise the advice from @rgbkrk from the email:
- At this time, tempnb deployment (like https://try.jupyter.org) is not easy. Only attempt it if there's a sysadmin that will maintain it. An example is http://notebooks.codeneuro.org/ and their setup is at https://github.com/codeneuro/notebooks . They are working on simplifying this, with the goal that the end user simply involves clicking a button on a github repo and spawning a notebook setup just for them.
- It might be possible to include the astro packages and example notebooks in http://try.jupyter.org/, see https://github.com/jupyter/docker-demo-images/blob/master/Dockerfile#L109-L110 as an example. This would of course be wonderful because it allows us to focus on the content, instead of on the deployment. I don't know if / how much we'd have to pay, obviously there is a significant cost to run / maintain this and maintain it (e.g. updates to our packages and notebooks).
- One issue is that these notebooks don't have internet access, so all the small example data files have to be bundled in the repo and docker container instead of being downloaded at the start of the notebook (see http://www.astropy.org/astropy-tutorials/FITS-images.html#Viewing-and-manipulating-FITS-images). @adrn Is this a change you feel comfortable with or is it important to not bundle the example data in the repo for some reason?
from astropy-tutorials.
Support for this for generic astropy-related notebooks would be amazing indeed! For starters this would provide motivation to finally migrate python4astronomers over to Jupyter notebooks so they could then be run live by students in tutorial sessions with no installation.
from astropy-tutorials.
@rgbkrk commented "There's no cost with adding your stuff to docker-demo-images. It's community run and the only current sponsor is Rackspace."
So if @X-Calibre or anyone else has time to work on this (adding Astropy stuff to docker-demo-images
) in the coming weeks, please leave a comment here. Otherwise I'll give it a try next week.
from astropy-tutorials.
I have very limited experience with Docker but would love to learn and apply it here ... I would be available in about 2 weeks, then I can definitely give this a try...
from astropy-tutorials.
Here's another possibility: http://mybinder.org/
from astropy-tutorials.
@cdeil @adrn @eteq @taldcroft
I have put up a demo version of this on http://www.astropython.org/interactive
It only has 3 tutorials from the current astropy-tutorials , and a very limited free form IPython Notebook
But if this is what we are aiming for , then I can build a creation form for users to upload/link existing IPython Notebooks along with the list of requirements or the docker file on the website and add it to the list.
The only background task that needs to be done is to provide a link to the notebook from the admin panel (after feeding it to the Binder application)
from astropy-tutorials.
Related Issues (20)
- Explore possibilities for linking the executed (with output) and rendered (HTML) notebooks in a PR HOT 4
- How to handle tutorials in languages other than English? HOT 1
- Update README to use new Makefile
- Ingest some of DFMs tutorials
- Add section to the WCS/celestial coordinates tutorial to demonstrate adding NE compass
- Integrate PDR Toolkit tutorials
- UVES notebook HOT 1
- ExtractOutputPreprocessor isn't being used by nbcollection? HOT 2
- Check that tutorial labels are correct and relevant
- Check that tutorials run in the latest version of Astropy
- Check that all tutorials follow the Contributing document standards
- Content review of FITS file tutorials
- Content review of Astronomical Coordinates series
- Incorrect derivatives in User-Defined-Model tutorial HOT 2
- wrong weights used in Models-Quick-Fit tutorial HOT 1
- Implement CODEOWNERS HOT 2
- Update Analytics on Learn Astropy
- Update spectral-cube notebook and others?
- Add example notebook on confinement of cosmic rays in heliosphere & galaxy using PlasmaPy
- 100line tutorials from Philip Mocz HOT 1
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.
from astropy-tutorials.