@ggbutcher @Thanatomanic can you confirm that this is incorrect:
If a camera is not listed in this file the constants from dcraw will be
used. If listed here this information will override the constants in dcraw (if any).
and that this suggested fix is correct:
If a camera is not listed in this file the constants from dcraw will be
used. If listed here the values will be added to or replace those from dcraw, depending on how they are specified, as explained below
(it refers to this explanation: RawTherapee/rtengine/camconst.json at dev · Beep6581/RawTherapee · GitHub )
What happens when dcraw detects or does not detect black levels, but the raw file itself contains black levels in the metadata? What if the raw file is a DNG as opposed to NEF/CR2/ARW/etc?