Description of the program investigateAcousticTracks

The program investigateAcousticTracks generates the lists allUsedata, allAlldays and allDepthSa, with the following formats:

    allUsedata, list of
        Logvalue in the midpoint
        Position
            Longitude, decimal degrees
            Latitude, decimal degrees
        Depth-integrated Sa, including bottom value
        Name of WMO square
        Nation, 1 for Norway, 2 for Russia
        Length in nautical miles along the course, used for weighting of data

    allAlldays, list of day numbers since start of survey, as defined by the variables startMonth and startDay

    allDepthSa, list of
        Depth in meters
        Sa-value
    These data are available from Norwegian vessels only

Reading Norwegian data (ListUser5 format)

The data are read in as lists of data, one list for each line, with space as delimiter. The station information is distinguished by the first entity having a value > 1000 and the following items are taken from the station data:
    Time    Item 4
    Log at start    Item 6
    Log at stop    Item 7
    Latitude    Item 8
    Longitude    Item 9

The pelagic channels are identified as having a width of 10 meters and the bottom channel as having a width of 1, 2 or 5 meters. If these values are changed, the program must be modified accordingly. The sum value is taken as item 3 in either pelagic or bottom channels.

Reading Russian data

For ordinary text files, two different formats have been implemented, until2003 and after2003. In either case, both Sa-values and station data reside on the same line

Format after2003
    Day    Two last characters of item 1
    Month    Characters 6 and 7 of item 1
    Latitude    Item 3
    Longitude    Item 4
    Sa-value    Item 9
    Logvalue for start    Item5
    Logvalue for stop    Item 7

Format until2003

Day    Two first characters of item 1
    Month    Characters 4-5 of item 1
    Sa-value    Item 9
    Latitude    Item 7, ignores character 4
    Longitude    Item 7, ignores character 5

Russian data can also be read directly from Excel files, and one such format was used for the winter survey 2008. In this format the relevant data sit in the first 7 columns on each line, in the following order: Log, Date, Time, Latitude, Longitude, bottomObjects, capelin. The entity bottomObjects is not used.

For some reasons (there were good reasons during the winter 2008 survey) one may want to exclude some Sa-values. This is done if excludeIntegratorValues is True and the list integratorValuesToExclude is non-empty. The list integrator values has the format for each entry:

    WMO-name    String
    Days of exclution, from first day of survey as defined by startMonth and startDay
        First day
        Second day


It should be relatively simple to introduce other formats by following the patterns in the code.
Spikey Created with Wolfram Mathematica 9.0