/*--------------------------------------------------------------------------- File name : prokeys.h Author : Y. Jung Created on : Jult 2000 Description : ISAAC common fonctions to write (in) produced files *--------------------------------------------------------------------------*/ /* $Id: prokeys.h,v 1.2 2001/10/22 11:33:11 ndevilla Exp $ $Author: ndevilla $ $Date: 2001/10/22 11:33:11 $ $Revision: 1.2 $ */ #ifndef _IS_UTILS_FILES_H_ #define _IS_UTILS_FILES_H_ #include "products.h" /*--------------------------------------------------------------------------- Function prototypes ---------------------------------------------------------------------------*/ /*-------------------------------------------------------------------------*/ /** @name isaac_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 isaac_header_for_image(qfits_header * fh) ; /*-------------------------------------------------------------------------*/ /** @name isaac_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 isaac_header_for_table(qfits_header * fh) ; /*-------------------------------------------------------------------------*/ /** @name isaac_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 isaac_add_files_history(qfits_header * fh, framelist * filenames) ; /*-------------------------------------------------------------------------*/ /** @name isaac_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_catg product category key @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 isaac_pro_fits( qfits_header * fh, char * pipefile, char * pro_type, char * pro_redlevel, pro_catg_key pro_catg, char * pro_status, char * pro_rec_id, int pro_datancom, framelist * rawfiles, framelist * calibfiles) ; #endif