/[MITgcm]/mitgcm.org/scripts/check_outp
ViewVC logotype

Diff of /mitgcm.org/scripts/check_outp

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

--- mitgcm.org/scripts/check_outp	2024/01/03 00:40:41	1.58
+++ mitgcm.org/scripts/check_outp	2024/02/07 20:18:24	1.59
@@ -1,6 +1,6 @@
 #! /usr/bin/env bash
 
-# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.58 2024/01/03 00:40:41 jmc Exp $
+# $Header: /home/ubuntu/mnt/e9_copy/mitgcm.org/scripts/check_outp,v 1.59 2024/02/07 20:18:24 jmc Exp $
 #
 #  The purpose of this script is to compare
 #  the latest output with the previous one (from the same platform with
@@ -548,6 +548,8 @@
 		rm -f tmploc
 		#-- count Nb of different lines
 		ndf=`wc -l $TMP.dif | awk '{print $1}'`
+		nn=`grep -c ' generated by TAF Version ' $TMP.dif`
+		ndf=`expr $ndf - $nn`
 		ndf=`expr $ndf / 2`
 		nn=`grep -c '^---' $TMP.dif`
 		ndf=`expr $ndf - $nn`

 

  ViewVC Help
Powered by ViewVC 1.1.22