V6.3
authorA.M. Thurnherr <athurnherr@yahoo.com>
Tue, 08 Mar 2016 15:54:18 +0000
changeset 25 47b4a3600f5a
parent 24 2fd9d279e105
child 26 cfee523c4432
V6.3
HISTORY
ants.pl
antsio.pl
antsnc.pl
librand.pl
--- a/HISTORY
+++ b/HISTORY
@@ -1,9 +1,9 @@
 #======================================================================
 #                    H I S T O R Y 
 #                    doc: Thu May  7 13:12:05 2015
-#                    dlm: Mon Oct 12 16:34:10 2015
+#                    dlm: Tue Mar  8 15:53:24 2016
 #                    (c) 2015 A.M. Thurnherr
-#                    uE-Info: 30 52 NIL 0 0 70 0 2 4 NIL ofnI
+#                    uE-Info: 43 23 NIL 0 0 70 0 2 4 NIL ofnI
 #======================================================================
 
 May  7, 2015:
@@ -28,3 +28,18 @@
 Oct 12, 2015:
 	- V6.2 [ants.pl] [.hg/hgrc] 
 	- published on Mercurial server for LADCP_w V1.0
+
+Nov 19, 2015:
+	- [librand.pl] created
+
+Dec 30, 2015:
+	- [libstats.pl] added log_avg(), noise_avg()
+
+Jan 15, 2016:
+	- [antsio.pl] minor bug
+	- [antsnc.pl] minor bug
+
+Mar  8, 2016:
+	- updated [HISTORY]
+	- V6.3 [ants.pl] [.hg/hgrc] 
+
--- a/ants.pl
+++ b/ants.pl
@@ -2,9 +2,9 @@
 #======================================================================
 #                    A N T S . P L 
 #                    doc: Fri Jun 19 14:01:06 1998
-#                    dlm: Mon Oct 12 16:30:36 2015
+#                    dlm: Tue Mar  8 15:53:49 2016
 #                    (c) 1998 A.M. Thurnherr
-#                    uE-Info: 23 21 NIL 0 0 72 2 2 4 NIL ofnI
+#                    uE-Info: 19 51 NIL 0 0 72 2 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
@@ -16,11 +16,12 @@
 #  Oct 29, 2014: - added $antsLibVersion with compile-time version check (V6.0)
 #  May 17, 2015: - updated to V6.1
 #  Oct 12, 2015: - updated to V6.2 (for LADCP_w 1.0)
+#  Mar  8, 2016: - updated to V6.3 (for LADCP_w 1.2)
 
 exec($ENV{ANTS_PERL},$0,@ARGV),die("$ENV{ANTS_PERL}: $!")
     if (defined($ENV{ANTS_PERL}) && $^X ne $ENV{ANTS_PERL});
 
-$antsLibVersion = 6.2;
+$antsLibVersion = 6.3;
 die(sprintf("$0: obsolete library V%.1f; V%.1f required\n",
 	$antsLibVersion,$antsMinLibVersion))
 		if (!defined($antsMinLibVersion) || $antsMinLibVersion>$antsLibVersion);
--- a/antsio.pl
+++ b/antsio.pl
@@ -2,9 +2,9 @@
 #======================================================================
 #                    A N T S I O . P L 
 #                    doc: Fri Jun 19 19:22:51 1998
-#                    dlm: Sun Sep 27 16:06:45 2015
+#                    dlm: Fri Jan 15 10:15:22 2016
 #                    (c) 1998 A.M. Thurnherr
-#                    uE-Info: 209 33 NIL 0 0 70 2 2 4 NIL ofnI
+#                    uE-Info: 212 33 NIL 0 0 70 2 2 4 NIL ofnI
 #======================================================================
 
 # HISTORY:
@@ -207,6 +207,9 @@
 #						 antsCheckDeps() is called whenever a new input file has been read for the first
 #						 time (as in [list]), because antsCheckDeps() deletes the dependencies after
 #						 checking
+#	Jan 15, 2016: - BUG: antsCheckDeps() cannot delete the dependencies after checking because,
+#						 otherwise, dependencies are not inherited => presumably, Sep 27 bug fix has been
+#						 reversed
 
 # GENERAL NOTES:
 #	- %P was named without an ants-prefix because associative arrays
@@ -311,7 +314,7 @@
 			  $warned = 1;
 		  }
 	  }
-	  undef(@antsDeps);								# don't check again
+#	  undef(@antsDeps);								# don't check again; BUG: 01/15/2016
   }
 } # static scope
 
--- a/antsnc.pl
+++ b/antsnc.pl
@@ -1,9 +1,9 @@
 #======================================================================
 #                    A N T S N C . P L 
 #                    doc: Mon Jul 17 11:59:37 2006
-#                    dlm: Tue Jul 21 21:50:44 2009
+#                    dlm: Fri Jan 15 10:17:51 2016
 #                    (c) 2006 A.M. Thurnherr
-#                    uE-Info: 24 54 NIL 0 0 72 2 2 4 NIL ofnI
+#                    uE-Info: 25 56 NIL 0 0 72 2 2 4 NIL ofnI
 #======================================================================
 
 # ANTS netcdf library
@@ -22,6 +22,7 @@
 #	Jul 16, 2008: - remove \0s from strings in NC_stringify
 #	Mar 20, 2008: - added progress output to NC_stringify
 #	Jul 21, 2009: - allowed for suppression of %PARAMs
+#	Jan 15, 2016: - BUG: %DEPS pseudo-%PARAM was encoded
 
 # NOTES:
 #	- multi-valued attribs are not loaded by getInfo()
@@ -282,7 +283,7 @@
 			next unless defined($P{$anm});
 			next if ($anm eq 'FILENAME' || $anm eq 'DIRNAME' || # skip pseudo 
 					 $anm eq 'BASENAME' || $anm eq 'EXTN' ||
-					 $anm eq 'PATHNAME' || 
+					 $anm eq 'PATHNAME' || $anm eq 'DEPS' ||
 					 $anm eq 'RECNO'	|| $anm eq 'LINENO');
 			next if $attrDone{$anm};
 			if (numberp($P{$anm}) || lc($P{$anm}) eq nan) {
--- a/librand.pl
+++ b/librand.pl
@@ -1,11 +1,14 @@
 #======================================================================
 #                    L I B R A N D . P L 
 #                    doc: Thu Nov 19 14:27:19 2015
-#                    dlm: Thu Nov 19 14:57:53 2015
+#                    dlm: Tue Mar  8 15:50:35 2016
 #                    (c) 2015 A.M. Thurnherr
-#                    uE-Info: 22 52 NIL 0 0 72 2 2 4 NIL ofnI
+#                    uE-Info: 10 27 NIL 0 0 72 2 2 4 NIL ofnI
 #======================================================================
 
+# HISTORY:
+#	Nov 19, 2015: - created
+
 sub gauss_rand($$)
 {
 	my($mu,$sigma) = &antsFunUsage(2,'ff','mu, sigma',@_);