! butler create GEN3_run
! butler register-instrument GEN3_run/ lsst.obs.subaru.HyperSuprimeCam
I used a hack to get the refcats into this butler repository
Question - Is there a way of ingestiing the refcats in a gen 3 format ??
! butler import GEN3_run/ ~/lsst_stack/DATA_gen3/ --export-file exports.yaml
! butler ingest-raws GEN3_run/ DATA_gen3/HSC/raw/
! butler define-visits GEN3_run/ HSC 
!butler write-curated-calibrations GEN3_run/ HSC
Useful links
These links are very helpful when defining the configs for each task for your data (path within your conda environment (starting point is within lsst_stact directory) 
"stack/miniconda3-py37_4.8.2-cb4e2dc/Linux64/pipe_tasks/21.0.0+44ca056b81/python/lsst/pipe/tasks/" and 
"stack/miniconda3-py37_4.8.2-cb4e2dc/Linux64/ip_isr/21.0.0+ee58a624b3/python/lsst/ip/isr/") 
Question - Are the configs correct?
pipetask run  -b ~/LSST-RAL-ECHO-EXP/lsst/GEN3_run/ --input HSC/raw/all,refcats,HSC/calib --register-dataset-types 
    -p "${PIPE_TASKS_DIR}/pipelines/DRP.yaml"#processCcd --instrument lsst.obs.subaru.HyperSuprimeCam 
    --output-run processCcdOutputs  -c isr:doBias=False -c isr:doBrighterFatter=False -c isr:doDark=False -c 
    isr:doFlat=False -c isr:doDefect=False 
Useful links
These links are very helpful when defining the configs for each task for your data (path within your conda environment (starting point is within lsst_stact directory) 
"stack/miniconda3-py37_4.8.2-cb4e2dc/Linux64/pipe_tasks/21.0.0+44ca056b81/python/lsst/pipe/tasks/" 
The healSparsePropertyMaps was commented out. (Not relevant to the tutorial ) 
Before you can run the coaddtions pipe task you have to run the make-discrete-skymap command line task
! butler make-discrete-skymap test1/GEN3_run HSC --collections demo_collection
! pipetask run  -b GEN3_run/ --input demo_collection --input skymaps  --register-dataset-types 
    -p "${PIPE_TASKS_DIR}/pipelines/DRP.yaml"#coaddition
    --instrument lsst.obs.subaru.HyperSuprimeCam --output-run coadd -c makeWarp:doApplySkyCorr=False -c
    makeWarp:doApplyExternalSkyWcs=False -c makeWarp:doApplyExternalPhotoCalib=False 
    -c assembleCoadd:doMaskBrightObjects=False
Useful links
These links are very helpful when defining the configs for each task for your data (path within your conda environment (starting point is within lsst_stact directory) 
"stack/miniconda3-py37_4.8.2-cb4e2dc/Linux64/pipe_tasks/21.0.0+44ca056b81/python/lsst/pipe/tasks/" and 
"stack/miniconda3-py37_4.8.2-cb4e2dc/Linux64/meas_base/21.0.0+087873070b/python/lsst/meas/base/") 
pipetask run  -b ~/LSST-RAL-ECHO-EXP/lsst/GEN3_run/ --input processCcdOutputs --input  HSC/raw/all,refcats,HSC/calib 
  --input skymaps --input coadd --register-dataset-types --input  HSC/raw/all,refcats,HSC/calib  
  -p "${PIPE_TASKS_DIR}/pipelines/DRP.yaml"#multiband 
  --instrument lsst.obs.subaru.HyperSuprimeCam --output-run multiband
exposureidinfo - This is not used in the forcedPhotCoadd.py and as a result i get  error like this " "Exposure ID "8" is too large" 
I got this similar error when i was editing v21 in the mergeDetections task 
line 245 and 246 is what i did to fix the error as well as importing exposureidfinfo 
I'm going to edit line 243 to "expId= exposureIdInfo.expId" for consistency