Skip to content

Commit ba4e290

Browse files
dcamronbrian-rosejukent
authored
Drop in Unidata xarray workshop notebook (#33)
* Init xarray (+nc) from python-training * Remove external exercises and rename * Update environment.yml * Update TOC to include new notebook * Wrap-up pre-commit lint steps * Mardownify logo embed * Update environment.yml * XArray to Xarray * Use pythia-datasets in pandas notebook * Init xarray (+nc) from python-training * Remove external exercises and rename * Update environment.yml * Update TOC to include new notebook * Wrap-up pre-commit lint steps * Mardownify logo embed * Update environment.yml * XArray to Xarray * Split Xarray notebook, add landing page, begin fitting to template * progress on revising xarray notebook * Finish revising and adapting to template * Delete extraneous files * Fix linting * Fix internal link paths * Fix another link and strip output * Incorporate reviewer suggestions Co-authored-by: Brian Rose <[email protected]> Co-authored-by: Julia Kent <[email protected]>
1 parent bbbb6b8 commit ba4e290

File tree

5 files changed

+1455
-1
lines changed

5 files changed

+1455
-1
lines changed

_toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
sections:
5555
- file: core/data-formats/netcdf-cf
5656
- file: core/xarray
57+
sections:
58+
- file: core/xarray/xarray-intro
5759

5860
- part: Appendix
5961
chapters:

core/xarray.md

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,18 @@
44
This content is under construction!
55
```
66

7-
This section will contain tutorials on using [xarray](http://xarray.pydata.org/en/stable/) for analysis of gridded N-dimensional datasets.
7+
This section contains tutorials on using [Xarray][xarray home]. Xarray is used widely in the geosciences and beyond for analysis of gridded N-dimensional datasets.
8+
9+
---
10+
11+
From the [Xarray website][xarray home]:
12+
13+
> Xarray (formerly Xray) is an open source project and Python package that makes working with labelled multi-dimensional arrays simple, efficient, and fun!
14+
>
15+
> Xarray introduces labels in the form of dimensions, coordinates and attributes on top of raw NumPy-like arrays, which allows for a more intuitive, more concise, and less error-prone developer experience. The package includes a large and growing library of domain-agnostic functions for advanced analytics and visualization with these data structures.
16+
>
17+
> Xarray is inspired by and borrows heavily from pandas, the popular data analysis package focused on labelled tabular data. It is particularly tailored to working with netCDF files, which were the source of xarray’s data model, and integrates tightly with dask for parallel computing.
18+
19+
You should have a basic familiarity with [Numpy arrays](numpy) prior to working through the Xarray notebooks presented here.
20+
21+
[xarray home]: http://xarray.pydata.org/en/stable/

0 commit comments

Comments
 (0)