cedadev / jasmin_scivm

9 stars 0 forks source link

install xarray #155

Closed alaniwi closed 5 years ago

alaniwi commented 6 years ago

User requested, ticket 18576.

http://xarray.pydata.org/en/stable/

alaniwi commented 6 years ago

Clean build and import with virtualenv.

alaniwi commented 6 years ago

Built and basic test:

>>> import numpy as np
>>> import pandas as pd
>>> import xarray as xr
>>> xr.DataArray(np.random.randn(2, 3))
<xarray.DataArray (dim_0: 2, dim_1: 3)>
array([[ 0.717879,  1.245078, -0.356011],
       [-0.935472,  1.657212,  0.821164]])