Preparation for Data Reduction with PIA


Step 1. Unpack and Rename Data Files from the ISO Archive

If your data files are ftped from the ISO archive, they are in zipped tar files. You need to unpack them.  Also, all the lower-case letters in the names of individual data files need to be converted into upper cases.  IPAC has a Unix script called "unpackiso" that you can use to do unpacking and renaming simultaneously. (Note: you have to first cd to the directory where your ISO zipped tar files are, then run this script.  Also, it will put all individual data files in the current directory.)

If you have already unpacked your tar files and only want to rename your files. Try another IPAC Unix script called "pht_rename" .

Step 2. Find which object is in which directory

If you have a number of observations, you may find it useful to use an IPAC Perl script called "pht_objects." It will list all independent observations below the directory where it is called. You can run it on an IPAC machine under your ISO guest account. To use it, first cd to the desired directory, then simply type "pht_objects" at the prompt. If you have access to Perl on your home-institute machine, you can get a copy of it and run it on your own machine. A sample output is attached below:
 --------------------------------------------------------------------------------------------------------------------
    Target_name   | AOT | P.I.     | Proposal | OSN | OLP      | Path_to_the_data 
    NGC 4696A_REF1|  P37|  NLU     |  COLD_GAL|  01 |  OLP_43  | /home/lu/iso_obs/L412296/products/p0024076/26000501
         NGC 4696A|  P39|  NLU     |  COLD_GAL|  03 |  OLP_43  | /home/lu/iso_obs/L412296/products/p0024078/26000503
    NGC 4696A_REF1|  P37|  NLU     |  COLD_GAL|  90 |  OLP_43  | /home/lu/iso_obs/L412296/products/p0024080/26000590
         NGC 4696A|  P39|  NLU     |  COLD_GAL|  92 |  OLP_43  | /home/lu/iso_obs/L412296/products/p0024082/26000592
     UGC 00014_REF|  P37|  NLU     |  COLD_GAL|  31 |  OLP_52  | /home/lu/iso_obs/L421152/products/p0051945/39104931
         NGC 4696A|  P39|  NLU     |  COLD_GAL|  03 |  OLP_53  | /home/lu/iso_obs/L410888/products/p0064253/26000503
 --------------------------------------------------------------------------------------------------------------------

Step 2. Fire up PIA

In one of your xterm window, simply type "pia" at the prompt to start up your PIA session.

Hint: If you experience color problem after you fire up PIA, you might be running Netscape. To fix this problem: exit both PIA and Netscape, then fire up PIA before you fire up Netscape.

Step 3. Process the data following one of the checklists

The following three ckecklists are basic guides on how to process the edited raw data (ERD) into a fomat equivalent to the pipeline AAR result by removing instrumental effects.  Simply click on the checklist appropriate for your data and follow the step-to-step instructions.

Caution: These guides show only the very basic data reduction flow with PIA, using all the default setups. They do not discuss many advanced features in PIA and are usually not the best way to reduce your particular data set. It is always a good idea to discuss with the available experts at the workshop about how to optimize your data reduction.


Last update: Jan 1999