TOC > Batch mode > Using configuration files | Previous | Next |
The batch mode of FESTIVAL is designed to make movies in command line using predefined options saved in configuration files. The batch mode is not designed to let the user tune every possible parameter from the command line. Its typical application is for example to make every day a movie of EUVI and COR1 A and B with always the same zoom factor, cadence, and enhancement. Once the corresponding configuration file is created, FESTIVAL can be called from the command line and invoke this configuration to make the movie easily without having anything to do manually. This makes FESTIVAL a convenient pipeline processing tool. When you save a configuration file, all the current parameters are used, so you can save configuration files with stars on, with grids, with linear or log scaling, with complex filters applied, etc.
The use of the batch mode is illustrated with the following example. Let's say that you often want to make running difference movies of HI1 and HI2 with STEREOA and STEREOB, with a star removal filter applied. You also want your images to be time stamped and pasted with STEREOB on the left and STEREOA on the right.
1. The first step is to use FESTIVAL as usual, select HI1 and HI2 in the visualization GUI, make a data query for any date for STEREOA, another query for STEREOB, and display the corresponding composite images. You can then adjust the size of the visualization GUIs the the desired aspect ratio. Use the context menu Window->Set size option the STEREOA GUI and then the Window-> Set same size as option to make the STEREOB GUI the same size.
2. Switch to difference mode, add the remove_hi_stars_shift filter for HI1 and HI2. Of course you need to move one step in time to see the result. Turn off the autoscaling enhancement and adjust the min and max levels.
3. Adjust the view (zoom and pan) in both GUIs.
4. check the compact mode box and the linked mode icon, open the save sequence GUI and check the Time stamp and Paste boxes. Click Save user values (not Save sequence, you don't want to save the sequence now)
5. Save a users configuration file, for example hi1hi2_runningdiff_nostars.txt.
Now that this configuration file is saved, it can be reused to make a HI1 & HI2 running difference movie for any date. Simply call:
IDL> festival_batch_sequence, ['STEREOA', 'STEREOB'], '25-nov-2007 01:00', '26-nov-2007 12:00', SEQUENCE_DIR='my_hi_movies', CONFIG='hi1hi2_runningdiff_nostars.txt'