Closed EranOfek closed 3 hours ago
Line 68 in imProc.db.generateImageID Args.FormatSt(Isub).Fun(TmpVal); when TmpVal is NaN output is empty (should be 0?) This is likely happens because the 'LEVEL' keyword is not in header. The failure start at line 365 in multiRaw2procCoadd, when generateImageID is called before some of the keywords were updated. Specifically, LEVEL and CROPIID are not populated for raw images.
Fixed by adding:
AI = AI.setKeyVal('LEVEL','raw');
AI = AI.setKeyVal('CROPID',0);
also verified that after processing these keywords are updated.
BitVal(Isub) = Args.FormatSt(Isub).Fun(TmpVal); Unable to perform assignment because the left and right sides have a different number of elements.