{"id":16199982,"url":"https://github.com/chilipp/psyplot-dkrz-techtalk-20201117","last_synced_at":"2025-09-05T13:47:48.585Z","repository":{"id":73611959,"uuid":"305676608","full_name":"Chilipp/psyplot-DKRZ-TechTalk-20201117","owner":"Chilipp","description":"Presentation materials for the TechTalk about psyplot at the DKRZ, November 17th, 2020","archived":false,"fork":false,"pushed_at":"2020-11-17T12:37:16.000Z","size":13976,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T17:48:56.194Z","etag":null,"topics":["dkrz","presentation-materials","psyplot","pyvista","techtalk","vtk"],"latest_commit_sha":null,"homepage":"https://www.dkrz.de/up/news-and-events/tech-talks/tech-talk-visualizing-unstructured-grids-from-scripts-and-gui-with-psyplot","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chilipp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-10-20T10:48:27.000Z","updated_at":"2021-01-22T16:55:28.000Z","dependencies_parsed_at":"2023-09-20T15:32:39.294Z","dependency_job_id":null,"html_url":"https://github.com/Chilipp/psyplot-DKRZ-TechTalk-20201117","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"37496f0657275c21d7909206c42a967c25b2f672"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Chilipp/psyplot-DKRZ-TechTalk-20201117","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilipp%2Fpsyplot-DKRZ-TechTalk-20201117","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilipp%2Fpsyplot-DKRZ-TechTalk-20201117/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilipp%2Fpsyplot-DKRZ-TechTalk-20201117/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilipp%2Fpsyplot-DKRZ-TechTalk-20201117/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chilipp","download_url":"https://codeload.github.com/Chilipp/psyplot-DKRZ-TechTalk-20201117/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chilipp%2Fpsyplot-DKRZ-TechTalk-20201117/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273767614,"owners_count":25164461,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-09-05T02:00:09.113Z","response_time":402,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["dkrz","presentation-materials","psyplot","pyvista","techtalk","vtk"],"created_at":"2024-10-10T09:28:54.285Z","updated_at":"2025-09-05T13:47:43.556Z","avatar_url":"https://github.com/Chilipp.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Visualizing unstructured grids from scripts and GUI with psyplot\n\nPresentation materials for the [TechTalk about psyplot][techtalk] by\nPhilipp S. Sommer at the [German Climate Computing Center (DKRZ)][DKRZ],\nNovember 17th, 2020\n\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Chilipp/psyplot-DKRZ-TechTalk-20201117/main?filepath=psyplot-framework-presentation.ipynb)\n\n## Abstract\n\npsyplot (https://psyplot.github.io) is a data visualization framework that integrates rich computational and mathematical software packages (such as xarray and matplotlib) into a flexible framework for visualization. It differs from most of the visual analytic softwares such that it focuses on extensibility in order to flexibly tackle the different types of analysis questions that arise in pioneering research. The design of the high-level API of the framework enables a simple and standardized usage from the command-line, python scripts or jupyter notebooks. A modular plugin framework enables a flexible development of the framework that can potentially go into many different directions. The additional enhancement with a flexible GUI makes it the only visualization framework that can be handled from the convenient command-line, as well as via point-click handling. It also allows to build further desktop applications on top of the existing framework.\n\nIn this TechTalk, I will show the main functionalities of psyplot, with a special focus on the visualization of unstructured grids (such as ICON), and the usage of psyplot on the HPC facilities of the DKRZ (mistral, jupyterhub, remote desktop, etc.). My demonstration will cover in particular\n\n- the psyplot framework\n- how to use psyplot in python scripts (and jupyter notebooks)\n- a guide to the psyplot GUI\n- the new ncview-like interface build upon psyplot\n- how to reuse plot configurations and generate respective templates\n\n\n## About this presentation\n\n### Static version\n\nThis presentation is a jupyter notebook presented with [RISE][rise]. You can\naccess the raw notebook at\n[psyplot-framework-presentation.ipynb](psyplot-framework-presentation.ipynb).\n\n### interactive version on mybinder.org\n\nAlternatively, run it interactively on mybinder.org by clicking here:\n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/Chilipp/psyplot-DKRZ-TechTalk-20201117/main?filepath=psyplot-framework-presentation.ipynb)\n\nYou will automatically start in presentation mode, but you can cancel this with\nAlt-R to see the standard jupyter notebook layout.\n\n### interactive version on mistral\n\nYou can also run this presentation notebook on mistral. To run it, please\nproceed with the following commands from the terminal when connected to the DKRZ\nsupercomputing facilities via SSH:\n\n```bash\ngit clone https://github.com/Chilipp/psyplot-DKRZ-TechTalk-20201117.git\nmodule load python3\n. `dirname $(which conda)`/../etc/profile.d/conda.sh\nconda activate /work/gg0302/g260169/psyplot-examples/conda-env/\n\npython -m ipykernel install --user --name psyplot-presi --display-name \"IPython kernel for psyplot\"\njupyter nbextension enable splitcell/splitcell\n```\n\nThen head over to https://jupyterhub.dkrz.de, login and click on _Preset_.\nClick _start from preset profiles_ and enter your DKRZ project account.\n\nStart it and, as soon as you see the notebook server (it will start in your `$HOME`) navigate to cloned repository and open the `psyplot-framework-presentation.ipynb`\n\n### Local installation using repo2docker\n\nIn case you have docker installed on your local computer, you can simply use [repo2docker](https://repo2docker.readthedocs.io/en/latest/) to start this notebook.\n\nJust type\n\n```\nrepo2docker -P https://github.com/Chilipp/psyplot-DKRZ-TechTalk-20201117.git\n```\n\nand open the link that is shown to you at the end of the build process.\n\n### Local installation manually\n\nClone the repository:\n\n```bash\ngit clone https://github.com/Chilipp/psyplot-DKRZ-TechTalk-20201117\ncd psyplot-DKRZ-TechTalk-20201117\n```\n\nCreate a new conda environment via\n\n```bash\nconda env create -f binder/environment.yml\nconda activate psyplot-presi\n```\n\nactivate the splitcell jupyter extension\n\n```bash\njupyter nbextension enable splitcell/splitcell\n```\n\nexport some environment variables that are necessary for pyvista\n\n```bash\nexport PYVISTA_OFF_SCREEN=true\nexport PYVISTA_USE_IPYVTK=true\nexport PYVISTA_PLOT_THEME=document\n```\n\n\nstart the notebook server via\n\n```bash\njupyter notebook\n```\n\n[techtalk]: https://www.dkrz.de/up/news-and-events/tech-talks/tech-talk-visualizing-unstructured-grids-from-scripts-and-gui-with-psyplot\n[DKRZ]: https://www.dkrz.de/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilipp%2Fpsyplot-dkrz-techtalk-20201117","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchilipp%2Fpsyplot-dkrz-techtalk-20201117","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchilipp%2Fpsyplot-dkrz-techtalk-20201117/lists"}