So Yusra AlSayyad I did run your suggested command and the star ingestion worked fine (which is relevant for this ticket). And I have confirmed that I don't use sourceId in fgcmcal so this isn't a problem. But it then crashed later on because the default fgcmcal LUT that's in the gen2 repo is not compatible with the current code; we use a separate one for the RC2 runs (because of the different filters), and fixing this is not a high priority since gen2 is disappearing anyway and we're not running it on non-RC2 data.
I concur that the fgcmcal is good to go for gen2/gen3.
For reading in sourceId in the columns list for jointcal, I'd like to leave it there because it is a column we want to make sure we're reading. I am unhappy that we're depending on idiosyncrasies of pandas in our code, but that's a discussion for another day.
OK, this is mostly a testing ticket. I built w40 source tables at u/yusra/RC2/w40 in gen3 /repo/main and private/yusra/RC2/
DM-31825in gen2 /datasets/hsc/repo.So far I've tested:
gen3:
DM-31825/jointcal2.logDM-31825/fgcmcal.loggen2:
jointcal.py /datasets/hsc/repo --calib /datasets/hsc/repo/CALIB --rerun private/yusra/RC2/DM-31825 --id ccd=0..8^10..103 visit=1202^1204^1206^1208^1210^1212^1214^1216^1218^1220^23692^23694^23704^23706^23716^23718 filter=HSC-R tract=9813 --no-versions &> /project/yusra/dp0tables/jointcal_gen2.log &
jointcal.py /datasets/hsc/repo --calib /datasets/hsc/repo/CALIB --rerun private/yusra/RC2/DM-31825 --id ccd=0..8^10..103 visit=1202^1208^1220^23716^23718 filter=HSC-R tract=9813 -j 4 --no-versions &> /project/yusra/dp0tables/jointcal_gen2_few_visits.log &
DM-31825--id filter=HSC-G^HSC-R^HSC-I^HSC-Z^HSC-Y --no-versions &> build_stars_gen2.log }}}