diff --git a/pysatCDAAC/tests/test_instruments.py b/pysatCDAAC/tests/test_instruments.py index c8bb25f..da06866 100644 --- a/pysatCDAAC/tests/test_instruments.py +++ b/pysatCDAAC/tests/test_instruments.py @@ -67,7 +67,7 @@ def test_altitude_bin_keyword(self, inst_dict, bin_num): rem = np.remainder(self.test_inst['MSL_bin_alt'].values, 5) idx, idy, = np.where(rem == 0) idx2, idy2, = np.where(np.isnan(rem)) - assert len(idx) + len(idx2) == np.product(rem.shape) + assert len(idx) + len(idx2) == np.prod(rem.shape) # Confirm length of each profile corresponds to bin_num assert self.test_inst.data.dims['RO'] == bin_num diff --git a/requirements.txt b/requirements.txt index cdea5c4..841a8d1 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ netCDF4 -numpy<3.2.0 +numpy pandas pysat>=3.0.3, <3.2.0 requests