Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

xarray is one of key packages in Pangeo.

Step-by-step guide for 10.8

  1. !conda update -y -n base -c defaults conda

  2. !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
languagepy
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)

...

Content by Label
showLabelsfalse
max5
spacesSDT
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ("arcgis","xarray","notebook") and type = "page" and space = "SDT"
labelsxarray arcgis notebook

...