Skip to content

Commit 970bdb4

Browse files
committed
List netCDF4 as a pygmt dependency
xarray needs the netCDF4 package for reading (perhaps also writing) netCDF files. However, netCDF4 isn't installed by default since it's an optional dependency of xarray. Although pygmt doesn't import netCDF4 package explicitely, some features won't work without the package. See #239 for past discussions.
1 parent c1f736a commit 970bdb4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

doc/install.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,7 @@ PyGMT requires the following libraries:
5555
* `numpy <http://www.numpy.org/>`__
5656
* `pandas <https://pandas.pydata.org/>`__
5757
* `xarray <http://xarray.pydata.org/>`__
58+
* `netCDF4 <https://github.com/Unidata/netcdf4-python>`__
5859
* `packaging <https://pypi.org/project/packaging/>`__
5960

6061
The following are optional (but recommended) dependencies:

0 commit comments

Comments
 (0)