@@ -11,6 +11,8 @@ Required dependencies
11
11
- `numpy <http://www.numpy.org/ >`__ (1.15 or later)
12
12
- `pandas <http://pandas.pydata.org/ >`__ (0.25 or later)
13
13
14
+ .. _optional-dependencies :
15
+
14
16
Optional dependencies
15
17
---------------------
16
18
@@ -24,7 +26,7 @@ For netCDF and IO
24
26
- `h5netcdf <https://github.com/shoyer/h5netcdf >`__: an alternative library for
25
27
reading and writing netCDF4 files that does not use the netCDF-C libraries
26
28
- `pynio <https://www.pyngl.ucar.edu/Nio.shtml >`__: for reading GRIB and other
27
- geoscience specific file formats
29
+ geoscience specific file formats. Note that pynio is not available for Windows.
28
30
- `zarr <http://zarr.readthedocs.io/ >`__: for chunked, compressed, N-dimensional arrays.
29
31
- `cftime <https://unidata.github.io/cftime >`__: recommended if you
30
32
want to encode/decode datetimes for non-standard calendars or dates before
@@ -121,16 +123,15 @@ xarray itself is a pure Python package, but its dependencies are not. The
121
123
easiest way to get everything installed is to use conda _. To install xarray
122
124
with its recommended dependencies using the conda command line tool::
123
125
124
- $ conda install xarray dask netCDF4 bottleneck
126
+ $ conda install -c conda-forge xarray dask netCDF4 bottleneck
125
127
126
128
.. _conda : http://conda.io/
127
129
128
- We recommend using the community maintained `conda-forge <https://conda-forge.github.io/ >`__ channel if you need difficult\- to\- build dependencies such as cartopy, pynio or PseudoNetCDF::
129
-
130
- $ conda install -c conda-forge xarray cartopy pynio pseudonetcdf
130
+ If you require other :ref: `optional-dependencies ` add them to the line above.
131
131
132
- New releases may also appear in conda-forge before being updated in the default
133
- channel.
132
+ We recommend using the community maintained `conda-forge <https://conda-forge.github.io/ >`__ channel,
133
+ as some of the dependencies are difficult to build. New releases may also appear in conda-forge before
134
+ being updated in the default channel.
134
135
135
136
If you don't use conda, be sure you have the required dependencies (numpy and
136
137
pandas) installed first. Then, install xarray with pip::
0 commit comments