Open TheSkyentist opened 1 month ago
Appears to be related to the GR150R grism only?
We are now getting this error:
File "/vera/ptmp/gc/rahvi/NISPureParallel/./workflow/scripts/contamination.py", line 198, in
main() File "/vera/ptmp/gc/rahvi/NISPureParallel/./workflow/scripts/contamination.py", line 109, in main grp.drizzle_grismmodels( File "/vera/ptmp/gc/rahvi/NISPureParallel/.snakemake/conda/048bc6b3a64f4c0b500a7ffe7954d6e9/lib/python3.12/site-packages/grizli/multifit.py", line 1108, in drizzle_grismmodels xmi = np.maximum(xp[mask].min()-10, 0) ^^^^^^^^^^^^^^ File "/vera/ptmp/gc/rahvi/NISPureParallel/.snakemake/conda/048bc6b3a64f4c0b500a7ffe7954d6e9/lib/python3.12/site-packages/numpy/core/_methods.py", line 45, in _amin return umr_minimum(a, axis, None, out, keepdims, initial, where) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ValueError: zero-size array to reduction operation minimum which has no identity
This appears to be due to pre-processing, where only the R grisms drizzles are completely set to zero everywhere
This might also be related to #1
It just seemed to start working...? It will be worth checking the output.
When running contamination modeling, we get the following error: