Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion ci/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ dependencies:
- healpix
- netcdf4
- numba
- numpy<2.4
- numpy
- pandas
- pathlib
- pre_commit
Expand Down
2 changes: 1 addition & 1 deletion ci/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ dependencies:
- cmocean
- netcdf4
- numba
- numpy<2.4
- numpy
- pathlib
- pre_commit
- pytest
Expand Down
2 changes: 1 addition & 1 deletion ci/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ dependencies:
- matplotlib-inline
- netcdf4
- numba
- numpy<2.4
- numpy
- pandas
- pathlib
- pre_commit
Expand Down
3 changes: 1 addition & 2 deletions ci/install-upstream.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,18 +23,17 @@ pip uninstall -y \
conda list

# if available install from scientific-python nightly wheels
# constrain numpy to <2.4 until numba supports newer versions
# use stable pandas (not nightly) due to geopandas incompatibility with pandas nightly internals
# (see: https://github.com/UXARRAY/uxarray/issues/1414)
python -m pip install \
'numpy<2.4' \
'pandas>=2.0.0'

python -m pip install \
-i https://pypi.anaconda.org/scientific-python-nightly-wheels/simple \
--no-deps \
--pre \
--upgrade \
numpy \
scikit-learn \
scipy \
xarray
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ dependencies = [
"matplotlib-inline",
"netcdf4",
"numba",
"numpy<2.4",
"numpy",
"pandas",
"pyarrow",
"requests",
Expand Down
2 changes: 1 addition & 1 deletion uxarray/remap/bilinear.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def _barycentric_weights(point_xyz, dual, data_size, source_grid):
# there were rare cases where counts > 0, hence the newer condition at the end
elif counts == 1:
all_weights[i, 0] = 1.0
all_indices[i, 0] = int(cur_inds[0])
all_indices[i, 0] = int(cur_inds[0].squeeze())
# 2/2/2026: For some `remap_to="nodes"` cases, `counts` happen to be bigger than 1. Not sure
# if the best way to add weights from multiple faces is to take only the first face's though
else:
Expand Down
Loading