-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Labels
Description
Description
numpy 1.24 has dropped some deprecated features, in particular with respect to data access.
Potential impact
From unit tests for pandas data in pysatNASA:
> self.meta[var_name][attr_name] = data[i, 0:num_e]
E IndexError: too many indices for array: array is 1-dimensional, but 2 were indexed
/opt/hostedtoolcache/Python/3.9.16/x64/lib/python3.9/site-packages/pysatCDF/_cdf.py:572: IndexError
These errors do not appear when a version cap is applied.
Potential solution(s)
Update data standards.
Alternatives
😴
Additional context
Found in Github Actions testing. https://github.com/pysat/pysatNASA/actions/runs/3750994468/jobs/6371429123