Goal
Stage the P3 patch tiles (image + weight) on the new Canada Alliance cluster as a manual bulk download, reusing ShapePipe's on-the-fly retrieval mechanism rather than running it inside the pipeline.
How ShapePipe does it (what we're yoinking)
The get_images module (get_images.py ~L323–357) downloads tiles from CADC VOSpace via vcp (the vos python package, wrapped by cs_util.canfar.vosHandler), with configurable retries (default 3).
- Remote paths:
vos:cfis/tiles_DR6/CFIS.XXX.YYY.r.fits + vos:cfis/tiles_DR6/CFIS.XXX.YYY.r.weight.fits.fz
- Auth: CADC proxy certificate at
$HOME/.ssl/cadcproxy.pem, passed as --certfile=... (generate with cadc-get-cert)
- Tile list:
auxdir/CFIS/tiles_202106/tiles_P3.txt in the shapepipe repo — 1268 tiles, one XXX.YYY ID per line. (Newer list versions exist under auxdir/CFIS/tiles_202510/ and tiles_202604/ — confirm which vintage P3 definition we want before launching.)
Plan
Essentially a certificate + a loop:
for tile_id in $(cat tiles_P3.txt); do
for f in "CFIS.${tile_id}.r.fits" "CFIS.${tile_id}.r.weight.fits.fz"; do
vcp --certfile=$HOME/.ssl/cadcproxy.pem "vos:cfis/tiles_DR6/$f" "$DEST/$f"
done
done
with retry-on-failure and a completeness check at the end (2536 files expected: 1268 × {image, weight}).
Tasks
~1268 tiles × O(0.5 GB each) → order 1–2 TB; pick the destination filesystem accordingly.
Goal
Stage the P3 patch tiles (image + weight) on the new Canada Alliance cluster as a manual bulk download, reusing ShapePipe's on-the-fly retrieval mechanism rather than running it inside the pipeline.
How ShapePipe does it (what we're yoinking)
The
get_imagesmodule (get_images.py~L323–357) downloads tiles from CADC VOSpace viavcp(thevospython package, wrapped bycs_util.canfar.vosHandler), with configurable retries (default 3).vos:cfis/tiles_DR6/CFIS.XXX.YYY.r.fits+vos:cfis/tiles_DR6/CFIS.XXX.YYY.r.weight.fits.fz$HOME/.ssl/cadcproxy.pem, passed as--certfile=...(generate withcadc-get-cert)auxdir/CFIS/tiles_202106/tiles_P3.txtin the shapepipe repo — 1268 tiles, oneXXX.YYYID per line. (Newer list versions exist underauxdir/CFIS/tiles_202510/andtiles_202604/— confirm which vintage P3 definition we want before launching.)Plan
Essentially a certificate + a loop:
with retry-on-failure and a completeness check at the end (2536 files expected: 1268 × {image, weight}).
Tasks
vospackage installed on the Alliance cluster (pip or container)get_images_runnerstandalone viaexample/cfis/config_tile_Git_vos.inias template)~1268 tiles × O(0.5 GB each) → order 1–2 TB; pick the destination filesystem accordingly.