OPERA  1.0
Open source echelle spectrograph reduction pipeline
operaFits2txt.h
Go to the documentation of this file.
00001 #ifndef OPERAFITS2TXT_H
00002 #define OPERAFITS2TXT_H
00003 
00004 /*******************************************************************
00005  ****                  MODULE FOR OPERA v1.0                    ****
00006  *******************************************************************
00007  Module name: operaFits2txt
00008  Version: 1.0
00009  Description: operaFits2txt unpacks data stored in upena fits 
00010  files to recover the original .s data in text format.
00011  The default operation is to process all of the fits files
00012  on the command line producing the associated .s files.
00013  Author(s): CFHT OPERA team
00014  Affiliation: Canada France Hawaii Telescope 
00015  Location: Hawaii USA
00016  Date: Jan/2011
00017  Contact: eder@cfht.hawaii.edu
00018  
00019  Copyright (C) 2011  Opera Pipeline team, Canada France Hawaii Telescope
00020  
00021  This program is free software: you can redistribute it and/or modify
00022  it under the terms of the GNU General Public License as published by
00023  the Free Software Foundation, either version 3 of the License, or
00024  (at your option) any later version.
00025  
00026  This program is distributed in the hope that it will be useful,
00027  but WITHOUT ANY WARRANTY; without even the implied warranty of
00028  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00029  GNU General Public License for more details.
00030  
00031  You should have received a copy of the GNU General Public License
00032  along with this program.  If not, see:
00033  http://software.cfht.hawaii.edu/licenses
00034  -or-
00035  http://www.gnu.or/licenses/gpl-3.0.html
00036  ********************************************************************/
00037 // $Date$
00038 // $Id$
00039 // $Revision$
00040 // $Locker$
00041 // $Log$
00042 
00043 #define MAXCOLS 10
00044 /* prototypes */
00045 static void printUsageSyntax(char *prgname);
00046 static void print_operaFits2txt_err(int operaFits2txt_status);
00047 static void operaFits2txt_report_error(int status, char *errtext);
00048 static void printerror( int status);
00049 static void systemf(const char *template, ...);
00050 
00051 #endif