guaix-ucm / numina

Astronomical data reduction package
GNU General Public License v3.0
6 stars 5 forks source link

Current combine code accepts only 30/60 images #222

Open sergiopasra opened 2 days ago

sergiopasra commented 2 days ago

Due to the migration to numpy 2 (#219), the combine function has been reimplemented using NpyIter_MultiNew, but this function has a predefined limit of arguments of NPY_MAXARGS, being 32 in numpy 1.x and 64 in numpy 2.x.

This is a regression of previous behavior, when we were combining ~ 100 images without problems.

See https://github.com/numpy/numpy/issues/4398

sergiopasra commented 2 days ago

@nicocardiel

sergiopasra commented 2 days ago

Reported in numpy https://github.com/numpy/numpy/issues/27624