You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

ArcGIS 10.7.1 Notebook Server has a bug that doesn't allow to use conda for install xarray.

Step-by-step guide

You need to use pip instead of conda.

  1. !pip install --upgrade pandas
  2. !pip install --upgrade netCDF4

  3. !pip install --upgrade bottleneck
  4. !pip install xarray



Use the following code to test xarray.

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)

elated articles

  • No labels