Index: branches/eam_branches/ppImage.20230123/src/ppImageParseCamera.c
===================================================================
--- branches/eam_branches/ppImage.20230123/src/ppImageParseCamera.c	(revision 42320)
+++ branches/eam_branches/ppImage.20230123/src/ppImageParseCamera.c	(revision 42321)
@@ -107,4 +107,13 @@
 			     PM_FPA_FILE_LINEARITY, PM_DETREND_TYPE_LINEARITY)) {
 	psError(PS_ERR_IO, false, "Can't find a non-linearity correction source");
+	psFree(options);
+	return NULL;
+      }
+    }
+
+    if (options->doNonLinNew) {
+      if (!ppImageDefineFile(config, input->fpa, "PPIMAGE.NONLIN_NEW", "NONLIN_NEW",
+			     PM_FPA_FILE_NONLIN_NEW, PM_DETREND_TYPE_NONLIN_NEW)) {
+	psError(PS_ERR_IO, false, "Can't find a new non-linearity correction source");
 	psFree(options);
 	return NULL;
