ADCP_tools_lib.pl
author A.M. Thurnherr <athurnherr@yahoo.com>
Tue, 29 Jun 2021 12:21:32 -0400
changeset 59 4f4530fa35da
parent 58 78607e2e8add
permissions -rw-r--r--
V2.4 - New Features: - support for Nortek PD0 files - patchPD0 support for moored ADCP data - bug fixes & minor improvements
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
28
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     1
#======================================================================
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     2
#                    A D C P _ T O O L S _ L I B . P L 
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     3
#                    doc: Tue Jan  5 10:45:47 2016
58
78607e2e8add Nortek files
Andreas Thurnherr <ant@ldeo.columbia.edu>
parents: 53
diff changeset
     4
#                    dlm: Tue Mar 23 09:15:16 2021
28
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     5
#                    (c) 2016 A.M. Thurnherr
58
78607e2e8add Nortek files
Andreas Thurnherr <ant@ldeo.columbia.edu>
parents: 53
diff changeset
     6
#                    uE-Info: 18 0 NIL 0 0 72 0 2 4 NIL ofnI
28
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     7
#======================================================================
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     8
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
     9
# HISTORY:
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    10
#	Jan  5, 2015: - created
37
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 35
diff changeset
    11
#	...
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 35
diff changeset
    12
#	Aug 23, 2016: - updated to V1.8
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 35
diff changeset
    13
#	Mar 12, 2017: - updated to V1.9 for LADCP_w 1.3
41
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 40
diff changeset
    14
#	Nov 28, 2017: - updated to V2.0 for LADCP_w 1.4
42
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 41
diff changeset
    15
#	Dec  7, 2017: - updated to V2.1 for improvements to listHdr
43
b63fa355644c commit to merge with changes from EN620
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 42
diff changeset
    16
#	Feb  6, 2018: - updated to V2.2 for changes to PD0_IO
53
A.M. Thurnherr <athurnherr@yahoo.com>
parents: 43
diff changeset
    17
#	Apr 20, 2020: - updated to V2.3 after adaptating to work with IMPed moored ADCP data
58
78607e2e8add Nortek files
Andreas Thurnherr <ant@ldeo.columbia.edu>
parents: 53
diff changeset
    18
#	Mar 23, 2021: - updated to V2.4 after starting adaption to Nortek produced PD0 files
28
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    19
58
78607e2e8add Nortek files
Andreas Thurnherr <ant@ldeo.columbia.edu>
parents: 53
diff changeset
    20
$ADCP_tools_version = 2.4;
28
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    21
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    22
die(sprintf("$0: obsolete ADCP_tools V%.1f; V%.1f required\n",
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    23
    $ADCP_tools_version,$ADCP_tools_minVersion))
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    24
        if (!defined($ADCP_tools_minVersion) || $ADCP_tools_minVersion>$ADCP_tools_version);
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    25
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    26
require "$ADCP_TOOLS/RDI_Coords.pl";
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    27
require "$ADCP_TOOLS/RDI_PD0_IO.pl";
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    28
require "$ADCP_TOOLS/RDI_Utils.pl";
7c7da52363c2 transport version
A.M. Thurnherr <athurnherr@yahoo.com>
parents:
diff changeset
    29