Skip to content

Commit

Permalink
BUG: Remove numpy 3.2.0 cap and update to 'np.prod()'
Browse files Browse the repository at this point in the history
  • Loading branch information
Aadarsh-Govada committed Jul 30, 2024
1 parent c102a8a commit 282de5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pysatCDAAC/tests/test_instruments.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
netCDF4
numpy<3.2.0
numpy
pandas
pysat>=3.0.3, <3.2.0
requests

0 comments on commit 282de5d

Please sign in to comment.