File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -143,7 +143,7 @@ jobs:
143
143
run : |
144
144
python -m pip install --pre --prefer-binary \
145
145
--extra-index https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
146
- ' numpy<2' pandas xarray netCDF4 packaging \
146
+ numpy pandas xarray netCDF4 packaging \
147
147
build contextily dvc geopandas ipython pyarrow rioxarray \
148
148
pytest pytest-cov pytest-doctestplus pytest-mpl pytest-rerunfailures pytest-xdist\
149
149
sphinx-gallery
Original file line number Diff line number Diff line change @@ -124,6 +124,8 @@ def dataarray_to_matrix(grid):
124
124
grid = grid .sortby (variables = list (grid .dims ), ascending = True )
125
125
126
126
matrix = as_c_contiguous (grid [::- 1 ].to_numpy ())
127
+ region = [float (i ) for i in region ]
128
+ inc = [float (i ) for i in inc ]
127
129
return matrix , region , inc
128
130
129
131
You can’t perform that action at this time.
0 commit comments