2008-02-25

ORAC-DR: CADC+batch mode

A brief mind-dump on the processing steps ORAC-DR will probably take at CADC when run in batch mode:


  • _cube files created. These are then forgotten about by ORAC-DR but are stored by CADC.
  • Run initial steps of Remo's script on time-series data. Removes any gross time-series signal through collapsing and rudimentary linear baselining.
  • Run MAKECUBE using every member observation of a Group, creating tiles.
  • Run remainder of Remo's script on each tile, which uses a combination of smoothing and CUPID to create baseline region masks and to remove baselines.
  • Take the baseline region mask from the previous step along with the original input time-series data, and throw them through UNMAKECUBE. This will create time-series masks.
  • Apply the time-series masks to the original time-series data.
  • Run MFITTREND with a high-order polynomial (or spline, or whatever) on the masked time-series data. These cubes shouldn't have any signal and should be pure baseline.
  • Subtract the baselines determined in the previous step from the original time-series data.
  • Run MAKECUBE on the baselined time-series data for each observation to create the _reduced / _rimg / _rsp files.
  • If necessary, WCSMOSAIC the _reduced files for each observation to create an "even better" group, which can then be used to determine a better mask and then possibly iterate through the UNMAKECUBE to _reduced generation steps.

No comments: