Index: /trunk/ippconfig/mcshort_mosaic/camera.config
===================================================================
--- /trunk/ippconfig/mcshort_mosaic/camera.config	(revision 7455)
+++ /trunk/ippconfig/mcshort_mosaic/camera.config	(revision 7455)
@@ -0,0 +1,21 @@
+# "mcshort" is a MegaCam camera with only the central six chips --- it's faster than the entire FPA.
+# Camera configuration file for MegaCam: describes the camera
+
+# File formats that we know about
+FORMATS		METADATA
+	MOSAIC		STR	mcshort_mosaic/format_mosaic.config
+END
+
+
+# Description of camera --- all the chips and the cells that comprise them
+FPA	METADATA
+	chip	STR	cell
+END
+
+
+# Recipe options
+RECIPES		METADATA
+	PHASE2		STR	phase2_template.config	# Phase 2 recipe details
+	PSPHOT		STR	psphot_template.config	# psphot details
+	PPMERGE		STR	ppMerge_template.config	# ppMerge
+END
Index: /trunk/ippconfig/mcshort_mosaic/format_mosaic.config
===================================================================
--- /trunk/ippconfig/mcshort_mosaic/format_mosaic.config	(revision 7455)
+++ /trunk/ippconfig/mcshort_mosaic/format_mosaic.config	(revision 7455)
@@ -0,0 +1,92 @@
+# "mcshort" is a MegaCam camera with only the central six chips --- it's faster than the entire FPA.
+# The raw MegaCam data comes off the telescope with each of the chips stored in extensions of a MEF file.
+
+# How to identify this type
+RULE	METADATA
+	TELESCOP	STR	CFHT 3.6m
+	DETECTOR	STR	MegaCam
+	EXTEND		BOOL	T
+	NEXTEND		S32	72
+END
+
+# How to read this data
+FILE	METADATA
+	PHU		STR	FPA	# The FITS file represents an entire FPA
+	EXTENSIONS	STR	NONE	# The extensions represent cells
+	FPA.NAME	STR	EXPNUM	# A PHU keyword for unique identifier within the hierarchy level
+END
+
+# What's in the FITS file?
+CONTENTS	STR	chip:cell:mosaic
+
+# Specify the cell data
+CELLS	METADATA
+	mosaic	METADATA	# Left amplifier
+		CELL.TRIMSEC.SOURCE	STR	HEADER
+		CELL.BIASSEC.SOURCE	STR	VALUE
+		CELL.TRIMSEC		STR	TRIMSEC
+		#CELL.BIASSEC		STR	BIASSEC
+END
+
+# How to translate PS concepts into FITS headers
+TRANSLATION	METADATA
+	FPA.NAME		STR	EXPNUM
+	FPA.AIRMASS		STR	AIRMASS
+	FPA.FILTER		STR	FILTER
+	FPA.POSANGLE		STR	ROTANGLE
+	FPA.RA			STR	RA
+	FPA.DEC			STR	DEC
+	FPA.RADECSYS		STR	RADECSYS
+	CELL.EXPOSURE		STR	EXPTIME
+	CELL.DARKTIME		STR	DARKTIME
+	CELL.GAIN		STR	GAIN
+	CELL.READNOISE		STR	RDNOISE
+	CELL.SATURATION		STR	SATURATE
+	CELL.BAD		STR	BADLEVEL
+	CELL.TIMESYS		STR	TIMESYS
+	CELL.TIME		STR	MJD-OBS
+	CELL.XBIN		STR	CCDBIN1
+	CELL.YBIN		STR	CCDBIN2
+END
+
+# Default PS concepts that may be specified by value
+DEFAULTS	METADATA
+	CELL.READDIR	S32	1		# Cell is read in x direction
+	CELL.XPARITY	S32	1
+	CELL.YPARITY	S32	1
+	CHIP.X0		S32	1
+	CHIP.Y0		S32	1
+	CELL.X0		S32	1
+	CELL.Y0		S32	1
+END
+
+# How to translation PS concepts into database lookups
+DATABASE	METADATA
+	TYPE		dbEntry		TABLE		COLUMN		GIVENDBCOL	GIVENPS
+#	FPA.BIAS	METADATA
+#		TABLE	STR	Camera
+#		COLUMN	STR	gain
+#		chipId	STR	{CHIP.NAME}
+#		cellId	STR	{CELL.NAME}
+#		time	STR	{CELL.TIME}
+#	END
+#	CELL.GAIN	dbEntry		Camera		gain		chipId,cellId	CHIP.NAME,CELL.NAME
+#	CELL.READNOISE	dbEntry		Camera		readNoise	chipId,cellId	CHIP.NAME,CELL.NAME
+
+# A database entry refers to a particular column (COLUMN) in a
+# particular table (TABLE), given certain PS concepts (GIVENPS) that
+# match certain database columns (GIVENDBCOL).
+END
+
+
+# Where there might be some ambiguity, specify the format
+FORMATS		METADATA
+	FPA.RA		STR	HOURS
+	FPA.DEC		STR	DEGREES
+	CELL.TIME	STR	MJD
+	CHIP.X0		STR	FORTRAN
+	CHIP.Y0		STR	FORTRAN
+	CELL.X0		STR	FORTRAN
+	CELL.Y0		STR	FORTRAN
+END
+
