- Notifications
You must be signed in to change notification settings - Fork0
HoWol76/xarray-tutorial
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is the repository for a Jupyter Book website with tutorial material forXarray,an open source project and Python package that makes working with labelled multi-dimensional arrays simple, efficient, and fun!
The website is hosted athttps://tutorial.xarray.dev
Tutorials are written as interactive Jupyter Notebooks with executable code examples that you can easily run and modify:
All notebooks can be run via the Mybinder.org 'Launch Binder' badge at the top of this page. This will load a pre-configured JupyterLab interface with all tutorial notebooks for you to run.You have minimal computing resources and any changes you make will not be saved.
This tutorial is available to run withinGithub Codespaces - "a development environment that's hosted in the cloud" - with the conda environment specification in theconda-lock.yml
file.
☝️ Click the button above to go to options window to launch a Github codespace.
A codespace is a development environment that's hosted in the cloud.GitHub currently gives every user120 vCPU hours per month for free, beyond that you must pay.So be sure to explicitly stop or shut down your codespace when you are done by going to this page (https://github.com/codespaces).
Once your codespace is launched, the following happens:
- Visual Studio Code Interface will open up within your browser.
- A built in terminal will open and it will execute
jupyter lab
automatically. - Once you see a url to click within the terminal, simply
cmd + click
the given url. - This will open up another tab in your browser, leading to aJupyter Lab Interface.
You can also run these notebooks on your own computer! We recommend usingmicromamba
orconda-lock
to ensure a fully reproducible Python environment:
git clone https://github.com/xarray-contrib/xarray-tutorial.gitcd xarray-tutorialconda-lock install conda/conda-lock.yml --name xarray-tutorial# Or `micromamba create -n xarray-tutorial -f conda-lock.yml`# Or latest package versions: `mamba env create -f conda/environment-unpinned.yml`conda activate xarray-tutorialjupyter lab
Contributions are welcome and greatly appreciated! See ourCONTRIBUTING.md document.
Thanks to our contributors so far!
This website is the result of many contributions from the Xarray community! We're very grateful for everyone's volunteered effort as well assponsored development. Funding for SciPy 2022, SciPy 2023 tutorial material development specifically was supported by NASA's Open Source Tools, Frameworks, and Libraries Program (award 80NSSC22K0345).