/*--------------------------------------------------------------------------- File name : prokeys.h Author : Y. Jung Created on : July 2000 Description : CONICA common fonctions to write (in) produced files *--------------------------------------------------------------------------*/ /* $Id: prokeys.h,v 1.2 2001/10/22 11:33:10 ndevilla Exp $ $Author: ndevilla $ $Date: 2001/10/22 11:33:10 $ $Revision: 1.2 $ */ #ifndef _CO_UTILS_FILES_H_ #define _CO_UTILS_FILES_H_ /*--------------------------------------------------------------------------- Function prototypes ---------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/ /** @name conica_header_for_image @memo Creates a first version of an output image header @param fh input fits header @return 0 if ok, -1 otherwise */ /*--------------------------------------------------------------------------*/ int conica_header_for_image(qfits_header * fh); /*-------------------------------------------------------------------------*/ /** @name conica_header_for_table @memo Creates a first version of an output table header @param fh input fits header @return 0 if ok, -1 otherwise */ /*--------------------------------------------------------------------------*/ int conica_header_for_table(qfits_header * fh); /*-------------------------------------------------------------------------*/ /** @name conica_add_files_history @memo add HISTORY entries in the FITS header @param fh Fits header @param filenames list of files to write @return 0 if ok, -1 otherwise */ /*--------------------------------------------------------------------------*/ int conica_add_files_history( qfits_header * fh, framelist * filenames) ; /*-------------------------------------------------------------------------*/ /** @name conica_pro_fits @memo fill up a given FITS header with PRO keyword @param fh fits header in which values are written @param filename produced file name @param pro_type product type @param pro_redlevel product reduction level @param pro_status product status @param pro_rec_id @param pro_datancom number of reduced files @param rawfiles list of input raw files @param calibfiles list of calibration files @return 0 if ok, -1 otherwise @doc DFS only. See the DICB dictionaries to have details on the keywords */ /*--------------------------------------------------------------------------*/ int conica_pro_fits( qfits_header * fh, char * pipefile, char * pro_type, char * pro_redlevel, char * pro_status, char * pro_rec_id, int pro_datancom, framelist * rawfiles, framelist * calibfiles) ; #endif