You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to prepare for redshift fitting with grizli, I run auto_script.generate_fit_params with the include_photometry flag set to True. This causes an error when the code attempts to run eazy.photoz.PhotoZ:
ValueError: No valid filters found in [root]_phot_apcorr.fits! Check that all flux and uncertainty columns are specified / translated correctly.
This is because NIRISS filters have an additional N aggregated onto the names (known to cause problems elsewhere, see #191).
The translation list will need to be updated with the additional N aggregated onto the filter names:
In addition, "-CLEAR" is not properly stripped from filter names when making the combined catalog, causing further issues. I will issue a PR to fix both of these issues.
The text was updated successfully, but these errors were encountered:
TheSkyentist
changed the title
Bug when fitting EAZY photoz
Bug when fitting EAZY photoz with NIRISS data
Mar 4, 2024
When attempting to prepare for redshift fitting with grizli, I run
auto_script.generate_fit_params
with theinclude_photometry
flag set toTrue
. This causes an error when the code attempts to runeazy.photoz.PhotoZ
:grizli/grizli/pipeline/photoz.py
Line 397 in 2ed70d9
The following error is retrieved:
This is because NIRISS filters have an additional
N
aggregated onto the names (known to cause problems elsewhere, see #191).The translation list will need to be updated with the additional N aggregated onto the filter names:
grizli/grizli/pipeline/photoz.py
Line 258 in 2ed70d9
In addition, "-CLEAR" is not properly stripped from filter names when making the combined catalog, causing further issues. I will issue a PR to fix both of these issues.
The text was updated successfully, but these errors were encountered: