17.12.2012 Views

MOPEX User's Guide - IRSA

MOPEX User's Guide - IRSA

MOPEX User's Guide - IRSA

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>MOPEX</strong> User’s <strong>Guide</strong><br />

s ave_name lis t: The namelist used in the current run is always copied to the output directory.<br />

By default, the name of the namelist is not changed. By setting save_namelist = 1, the<br />

namelist copied to the output directory is given a unique name, which is created by appending<br />

the namelist filename to the time of execution. For example, if you ran:<br />

unix% mosaic.pl -n myname.nl<br />

at 12:32:53, then the namelist will be copied to the output directory as<br />

12h32m53s_myname.nl. The default is 0, in which case the file is copied as myname.nl and<br />

will be overwritten in subsequent runs that use the same namelist.<br />

9.4.3 Module Parameter Blocks<br />

Each of the modules that is switched on must be accompanied by a parameter block with the<br />

input parameters for that particular module. A typical parameter block looks like this:<br />

&MEDFILTER<br />

Window_X = 45,<br />

Window_Y = 45,<br />

N_Outliers_Per_Window = 500,<br />

&END<br />

where the “&MEDFILTER” line tells <strong>MOPEX</strong> that this is the start of the parameter block for the<br />

MedFilter module and “&END” denotes the end of the block. Examples of parameter blocks for<br />

each module can be found on the individual module help pages, along with a full list of input<br />

parameters.<br />

The important thing to note when editing the module blocks is that each line in a block, even a<br />

comment line headed by a “#”, must end in a comma.<br />

9.5 Running Overlap on the command line<br />

The syntax for running Overlap is as follows:<br />

unix% overlap.pl <br />

where and the associated are given in Table 9.1. For<br />

example, to run Overlap using a namelist cdf/overlap_I1.nl on a list of images in<br />

/data/IRAC/bcd/ImageList.txt, you would type the following:<br />

unix% overlap.pl -n overlap_I1.nl -I /data/IRAC/bcd/ImageList.txt<br />

Running <strong>MOPEX</strong> on the Command Line 228 Running Overlap on the command line

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!