Programming - Ivanderkelen/wiki_tryout GitHub Wiki
Contents
Python
Basic Python tutorials
- Datacamp (some basic courses are for free) Learn R, Python & Data Science Online | DataCamp
Useful python packages for working with climate and geospatial data
-
xarray - analysing netCDF files (N-labeled arrays and datasets): here is the documentation and here a tutorial
-
geopandas - handling geospatial data based on pandas format: here is the documentation and here a tutorial
-
pandas - all you need for tabular data
-
dask - parallelisation using xarray datasets: here is a (tutorial)(https://github.com/dask/dask-tutorial)
-
regionmask - masking gridded data: here is the documentation
Python Integrated Development Environment (IDE)
Python on Piz Daint: Python (cscs.ch)
JupyterLab on Piz Daint: JupyterLab (cscs.ch)
Singularity
Build a singularity container:
- build sandbox: sudo singularity build --sandbox /new.sand old.cont
- edit the sandbox sudo singularity exec --writable /new.sand bash
- create the container from the sandbox sudo singularity build /home/user/singularity/new.cont /new.sand