Is there a way to adjust the skyMap produced by the lsstpipe task makeDiscreteSkyMap?
I’m running it through the command line task, with the usual TAN projection, and passing it a list of visit numbers as --id ccd=XX visit=YYYYYYY^ZZZZZZ etc. The input images are all of a single CCD, and nearly coaligned to the precision of the telescope tracking.
The task produces a single 2x2 patch map, with center equal to the image centre. This results in warps with mostly blank image bordering ~1/4 of the input image.
Each patch could easily fit a full CCD image. Is there a way to force makeDiscreteSkyMap to produce a 1x1 patch map instead of the 2x2 it defaults to?
Edit - the reason I want this is because for some footprints, the imageDifference task fails because it cannot find enough kernel sources in the small 1/4-ccd templates. I suspect this problem would not occur for a template containing the full ccd.
As noted by @erykoff on Slack, you could also run makeDiscreteSkyMap.py (that effectively sets the raList, decList and radiusList to cover the data) with adjusted patchInnerDimensions.
Oh, the patchBuilder part didn’t get added until after the 23.0 release. If you’re using LSST 23.0 then the spelling is config.skyMap["discrete"].patchInnerDimensions.
Hi. This method of setting the patch centres does not appear to work anymore? I get this error when setting my config up:
config.skyMap["discrete"].decList=[4.50]
config.skyMap["discrete"].radiusList=[0.0919]```
I get the error:
TypeError: 'BaseSkyMapConfig' object is not subscriptable
Which maybe indicates that the value of config.skyMap now referse to BaseSkyMapConfig setting when I attempt to run the command like so:
```butler --log-level VERBOSE make-discrete-skymap BUTLER HSC --collections F26FEB01_50_20260219 --skymap-id F26FEB01_50 --config-file makeSkyMap_config.py ```
What error am I making? This is using pipeline version : `d_2025_10_22`
Thanks,
JJ
Hi @jjkavelaars , thank you for the question. Like you mentioned, the reason could be the version difference. I’m wondering if DM experts could help answer this? @timj@price
Also, could you try a standard release (perhaps an older one), rather than a daily/weekly release?