Skip to content

Commit 7a01306

Browse files
seismanleouieda
authored andcommitted
Explicitly install netCDF4 (#239)
conda-forge/xarray-feedstock drops optional dependencies several days ago. Thus we need install netCDF4 explicitly. Fixes #238
1 parent 6e62306 commit 7a01306

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

environment.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ dependencies:
99
- numpy
1010
- pandas
1111
- xarray
12+
- netCDF4
1213
- packaging
1314
- ipython
1415
- matplotlib

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ gmt=6.0.0*
22
numpy
33
pandas
44
xarray
5+
netCDF4
56
packaging
67
# The following are required for development purposes
78
ipython

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"License :: OSI Approved :: {}".format(LICENSE),
4242
]
4343
PLATFORMS = "Any"
44-
INSTALL_REQUIRES = ["numpy", "pandas", "xarray", "packaging"]
44+
INSTALL_REQUIRES = ["numpy", "pandas", "xarray", "netCDF4", "packaging"]
4545

4646
if __name__ == "__main__":
4747
setup(

0 commit comments

Comments
 (0)