| 41 | | {{{ippToPsps}}} is a C program within the IPP build. When given the correct arguments it will generate a single FITS for the specified product (above). The program is run from a Perl script, which itself generates a list of exposure IDs based on arguments provided by the user (label etc). An instance of {{{ippToPsps}}} is run per exposure ID. Upon completion, the calling script bundles the resultant FITS files up as a ''batch'', then publishes it to the datastore, ready for collection by the {{{DXLayer}}}. |
| | 41 | {{{ippToPsps}}} is written in C under the IPP source repository. When compiled, there is an executable-per-batch type: |
| | 42 | |
| | 43 | {{{ |
| | 44 | initbatch |
| | 45 | detectionbatch |
| | 46 | stackbatch |
| | 47 | diffbatch |
| | 48 | }}} |
| | 49 | |
| | 50 | Perl scripts are used to call the programs above, generating the necessary temporary files as well as updating the database with results. |
| | 51 | |
| | 52 | When run, the above programs generate a single FITS file, which is then packaged up and published to the datastore by the Perl code, ready for collection by the {{{DXLayer}}} (below). |