Mobile Cartography 2024/25 Workshop Series: Social Media, Jupyter Lab & Tag Maps
This is the public repository containing the course material for the Mobile Cartography Jupyter Lab Workshop.
Overview:
https://code.ad.ioer.info/jupyter_python_datascience/
HTML Versions of Notebooks:
Preparations
- If working from remote: Make sure to connect to TUD network using a VPN connection (Cisco VPN or OpenVPN), otherwise you will not be able to use any of ZIH HPC Services
- Add your ZIH-Login to the HPC project, using the
pre-shared link (see email)
- this needs to be done only once
- it may take up to two hours before your login is available
Automatic startup Jupyter Lab
- Login to
HPC (do not click "spawn")
- You'll be requested to login using your TUD Account
- Click this
link to spawn a Jupyter Lab instance on the
TUD ZIH Jupyter Hub.
- If you see a pop-up asking "Found slurm parameters in URL. Do you want to submit and spawn now?" - click Ok
- Do not click "Start My Server".
- If you see a button or form, click or copy the link again, paste, & the server should start automatically.
- Important: Do not change configuration if you see a form: If the Server doesn't start automatically, click the ZIH Jupyter link one more time
- If there are not enough resources and you need to wait a very long time (>10 minutes), try this alternative spawn link that uses a different ZIH resource partition
A video showing startup and environment selection:
Afterwards, once the notebook has opened:
- If asked to select a Kernel: Confirm suggestion (Python 3) with "Select".
- execute the first cell, with
SHIFT+ENTER
- this will link the conda
01_intro_env
to your user folder. Follow any instructions in the notebook.
Manual startup
See 00_manual.md with a description to start Jupyter Hub manually, without the spawn link.
FAQ
Based on previous workshops, we have collected some frequent questions and answers.
Please click on the links below to see possible routes to solve these issues.
- 500: Internal Server Error after clicking spawn the link?
- Jupyter Lab Starts, but the explorer on the left is empty?
- Cannot
activate
workshop_env
/ the first code cell returns an error? - How can I run these notebooks offline (locally)?
Samples
This is a list of examples and content created with Jupyter Lab
Notebooks:
Results 2023:
Visualizations: