Online seminar of the laboratorio de tectonofisica from IAG-USP
Xarray is an open source project and Python package that makes working with labelled multi-dimensional arrays simple, efficient and with fewer errors. Xarray is inspired by and borrows heavily from pandas. It is particularly tailored to work with netCDF files and integrates tightly with Dask for parallel computing.
On this opportunity, I want to convey to you why I consider Xarray a very powerful tool and show you some functionalities that I frequently use on my research. I will also show some examples on how I use Xarray for manage, store and visualize data produced by the geodynamical modelling software Mandyoc, developed by Victor Sacek (USP).
To run the notebooks, you need to install Anaconda.
Download the notebooks by cloning this repository through git
:
git clone https://github.com/aguspesce/online_seminar
Alternatively, you can download it as a zip
through
this link
Then, create a conda environment that includes all the needed dependencies
through the conda
package manager:
conda env create -f environment.yml
And activate the environment:
conda activate online-seminar
Finally you can run an instance of Jupyter Notebook with:
jupyter-notebook
This will open a new tab in your browser, through which you can open and run the notebooks.
This work is licensed under a Creative Commons Attribution 4.0 International License.