Index: trunk/ippconfig/sdssmosaic/format.config
===================================================================
--- trunk/ippconfig/sdssmosaic/format.config	(revision 19006)
+++ trunk/ippconfig/sdssmosaic/format.config	(revision 20628)
@@ -105,6 +105,41 @@
 	INSTRUME	STR	SDSSmosaic
 	FPA.INSTRUMENT	STR	INSTRUME
-# The gain is only roughly correct...
-	CELL.GAIN	F32	5.0
+	CELL.GAIN.ORIGIN STR	VALUE
+	CELL.GAIN	 F32	5.0
+# The following doesn't work - don't know why. Use format_split.config
+# instead to get correct per-chip gains.
+# 	CELL.GAIN.DEPEND STR	FPA.DETECTOR
+# 	CELL.GAIN	METADATA
+#                 11      F32     4.71
+#                 12      F32     4.6
+#                 13      F32     4.72
+#                 14      F32     4.76
+#                 15      F32     4.725
+#                 16      F32     4.895
+#                 21      F32     5.165
+#                 22      F32     6.565
+#                 23      F32     4.86
+#                 24      F32     4.885
+#                 25      F32     4.64
+#                 26      F32     4.76
+#                 31      F32     1.62
+#                 32      F32     1.595
+#                 33      F32     1.58
+#                 34      F32     1.6
+#                 35      F32     1.47
+#                 36      F32     2.17
+#                 41      F32     4.745
+#                 42      F32     5.155
+#                 43      F32     4.885
+#                 44      F32     4.775
+#                 45      F32     3.48
+#                 46      F32     4.69
+#                 51      F32     4.745
+#                 52      F32     5.155
+#                 53      F32     4.885
+#                 54      F32     4.775
+#                 55      F32     3.48
+#                 56      F32     4.69		
+# END
 # readnoise is from http://www.sdss.org/dr6/instruments/imager/index.html
 # Note that I have emails from Jim Gunn saying dark noise *is* important...
