# Camera configuration file for simulation test

# File formats that we know about
FORMATS         METADATA
	SIMPLE	STR	simtest/format.config
END
 
# Description of camera --- all the chips and the cells that comprise them
FPA     METADATA
        Chip		STR	Cell
END

# valid filter names and corresponding IDs
FILTER.ID       METADATA
	NONE	STR	NONE
	g	STR	g
	r	STR	r
	i	STR	i
	z	STR	z
END

# Table of strings to use for the class identifier (see ippdb) according to the file level.
CLASSID		METADATA
	FPA	STR	fpa
END

DVO.CAMERADIR	STR	simtest		# Camera directory for DVO

# convert supplied FPA.OBSTYPE values to abstract exptype names
OBSTYPE.TABLE METADATA
  bias 	   STR BIAS
  zero 	   STR BIAS
  dark 	   STR DARK
  flat 	   STR SKYFLAT
  skyflat  STR SKYFLAT
  domeflat STR DOMEFLAT
  object   STR OBJECT
  science  STR OBJECT
END

# Recipe options
RECIPES		METADATA
        PPIMAGE         STR     simtest/ppImage.config   # Default: all (normal) options on
	PSPHOT		STR	simtest/psphot.config	# psphot details
	PPSIM		STR	simtest/ppSim.config	# ppSim details
	PPSUB		STR	simtest/ppSub.config	# ppSub details
	PSASTRO		STR	simtest/psastro.config	# psastro details
	REJECTIONS	STR	simtest/rejections.config # Rejection for detrend creation
END

# reduction classes (recipes which are grouped together)
REDUCTION	STR	recipes/reductionClasses.mdc

FITSTYPES       STR     recipes/fitstypes.mdc

FILERULES	STR	recipes/filerules-simple.mdc

EXTNAME.RULES METADATA
  CMF.HEAD STR {CHIP.NAME}.hdr
  CMF.DATA STR {CHIP.NAME}.psf # use .PSF and .EXT?
  CMF.XSRC STR {CHIP.NAME}.xsrc # use .PSF and .EXT?
  CMF.XFIT STR {CHIP.NAME}.xfit # use .PSF and .EXT?

  PSF.HEAD  STR	{CHIP.NAME}.hdr
  PSF.TABLE STR {CHIP.NAME}.psf_model
  PSF.RESID STR {CHIP.NAME}.psf_resid
END

BLANK.HEADERS	METADATA
	FPA.TIME	STR	MJD-OBS
	FPA.EXPOSURE	STR	EXPTIME
	FPA.AIRMASS	STR	AIRMASS
END
