xarray is one of key packages in Pangeo.
Step-by-step guide for 10.8
!conda update -y -n base -c defaults conda
- !conda install -y xarray
Step-by-step guide for 10.7.1
ArcGIS 10.7.1 Notebook Server has a bug that doesn't allow to use conda for installing xarray.
Step-by-step guide
You need to use pip instead of conda.
...
Info |
---|
Use the following code to test xarray. Code Block |
---|
| import xarray as xr
import numpy as np
data = xr.DataArray(np.random.randn(2, 3), dims=('x', 'y'), coords={'x': [10, 20]})
print(data) |
|
...
Related articles
Content by Label |
---|
showLabels | false |
---|
max | 5 |
---|
spaces | SDT |
---|
showSpace | false |
---|
sort | modified |
---|
reverse | true |
---|
type | page |
---|
cql | label in ("arcgis","xarray","notebook") and type = "page" and space = "SDT" |
---|
labels | xarray arcgis notebook |
---|
|
...