3. - 500049 Video Annotation and Reference System : Benthic Results This page last changed on Feb 21, 2008 by brian. # Results Analysis ## Overview For checking to see the number of hits within the map bounds I did the following: Run a query using 'VARS Query' Save the results Use vdm_bounds_test.m in matlab
         data = vdm_bounds_test('/Users/brian/Desktop/vars-sediment.txt', ...
         '/Users/brian/workspace/vdm-tools/src/test/resources/monterey_hrbath.nc');
I read the default VARS output into Matlab using code like this:
    [associations, conceptNames, depths, imageUrls, latitudes, longitudes, ...
        observationIds, recordedDates, timecodes, videoArchiveNames] = textread( ...
        varsfile, '%s%s%s%s%s%s%s%s%s%s', ...
        'headerlines', 10, 'delimiter', '\t');

    depths = str2double(depths);
    latitudes = str2double(latitudes);
    longitudes = str2double(longitudes);
## 2008-02-19
Concept (and descendants) | VARS | VARS_Benthic | VARS within map bounds | VARS within map bounds and <= 40m altitude | Notes
--- | --- | --- | --- | --- | ---
anthomastus | 21613 | 11998 | 16659 | 12030 |
Grimpoteuthis | 140 | 89 | 110 | 89 |
pannychia | 23449 | 12030 | 15606 | 12038 |
paragorgia | 5649 | 3219 | 5026 | 3224 |
Plantae | 14857 | 11764 | 12281 | 11760 |
Psolus | 22826 | 15051 | 19220 | 15065 |
rathbunaster | 31766 | 20501 | 23707 | 20825 |
Seep | 1734 | 705 | 1332 | 704 | Altitudes look good. Why the big discrepancy between within bounds and those <= 40m?
Sediment | 39699 | 20626 | 23238 | 20620 |
These values were determined using data from the master VARS database and this script. In theory, the values in 'VARS_Benthic' and 'VARS within map bounds and <= 40m altitude' should match. Some variation can be expected since some hits are due to matching associations rather than observations. Data used is in the zip file here.
| Problems with seep data The seep data is giving troublesome altitude values. I set all merges done with the previous Jython based code to be remerged tonight to see if that fixes some probematic depth values. I used this snippet to do that:
    UPDATE
        EXPDMergeStatus
    SET
        IsMerged = 0
    WHERE
        StatusMessage NOT LIKE '%pragmatic%'
The next step is to rebuild the VARS_Benthic database and check the results.
## 2008-02-19 Brian Schlining I remerged all dives that had used the old Jython-based merge. It did not significantly change the results (see table below)
Concept (and descendants) | VARS | VARS_Benthic | Notes
--- | --- | --- | ---
anthomastus | 21613 | 12044 |
Grimpoteuthis | 140 | 89 |
pannychia | 23449 | 12113 |
paragorgia | 5649 | 3227 |
Plantae | 14857 | 12280 |
Psolus | 22826 | 15183 |
rathbunaster | 31766 | 21792 |
Seep | 1734 | 717 | Altitudes look good. Why the big discrepancy between within bounds and those <= 40m?
Sediment | 39699 | 21212 |
Attachments: vdm_bounds_test.m (application/octet-stream) vdm_bounds_test.m (application/octet-stream) VARS-testdata-20080219.zip (application/zip) VARS-testdata-20080219.zip (application/zip)

Document generated by Confluence on Feb 03, 2026 12:59