I've been playing with this a bit recently, and I think the key messages for WBPP in PixInsight are:
1. Pixinsight will look for KEYWORD_VALUE to appear in the path of any image. This can be in a filename, or in a directory. So if you put all of panel 1 into a directory called Panel_p1 it will work just as well as if the subs are called Mybigmosaic_Panel_p1_OIII_60s_009.fits.
2. You add the grouping keywords in the lights tab of WBPP. They add by default as "Pre", but clicking the option button changes the selected one to "Pre and Post", and then "Post".
- Pre will use different calibration frames. So if you have 2 sessions with different flats then you might have them labelled as night_1 and night_2, and night would be a pre grouping keyword.
- Post will use the same calibration frames, but be stacked separately. If you took all your subs on the same night with the same flats, then panel_1 and panel_2 will be stacked separately.
- Both does both (so if you did panel 2 on a second night and it has different calibration frames then you can do this).
- If you took multiple panels over multiple nights with lots of calibration frames then you will need a night_ and a panel_ grouping, and getting capture software to name appropriately really helps.
3. By default all stacks will use the same reference frame for registration ("auto"). After you've added your Post grouping keyword you almost certainly want to change this to "Auto by PANEL" or whatever grouping keyword you've gone with.
After that it does seem to just work. I go with a directory structure of eg:
m8182/
├─ lights/
│ ├─ session_20230125/
│ │ ├─ panel_m81/
│ │ ├─ panel_m82/
│ ├─ session_20230126/
│ │ ├─ panel_m81/
│ │ ├─ panel_m82/
├─ flats/
│ ├─ session_20230126/
│ ├─ session_20230125/