_readLogr(): Cannot open \\atlas\Shipdata\logger\2021\rcsn\2021342datavislogr.dat.gz _readLogr(): Cannot open \\atlas\Shipdata\logger\2021\rcsn\2021342datavislogr.dat.gz Running bin\geopdvc_perseus.pl at Sat Feb 5 03:00:03 2022 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4382 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4382 and rname = vnta set_expd(): rov = vnta, diveno = 4382 set_expd(): Executing sql: SELECT ExpeditionID_FK, DateDiff(ss, '01/01/70', DiveStartDtg), DateDiff(ss, '01/01/70', DiveEndDtg), DiveStartDtg, DiveEndDtg FROM Dive WHERE DiveNumber = 4382 AND RovName = 'vnta' RS->Fields(0)->Value= 7432 RS->Fields(1)->Value= 1638983052 RS->Fields(2)->Value= 1639002428 RS->Fields(3)->Value= 12/8/2021 5:04:12 PM RS->Fields(4)->Value= 12/8/2021 10:27:08 PM set_expd(): $self->{EndDDD} = 342 set_expd(): $self->{StartEsecs} = 1638981852 set_expd(): $self->{EndEsecs} = 1639003628 set_expd(): $self->{EndDtg} = 12/8/2021 10:27:08 PM _readLogr(): Reading videologr data from 2021342datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1638981852 & 1639003628 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1638981732, Refined EndEsecs = 1639003748 _readLogr(): Reading videologr data from 2021342datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1638981732 & 1639003748 bin\geopdvc_perseus.pl: expdid = 7432 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): getRaw = 1 rovnavCTDO(): calcUTM = 0 rovNav(): 1, getRaw = 1 rovNav(): 2, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 342 (looping to 342) Does file exist?: \\atlas\RovNavEdit\2021\vnta\nav2021342vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2021\vnta\nav2021342vnta.txt esecs, east, north, lat, lon, head, pres 1638983551, 0, 0, 36.699440, -122.050262, -37.1, 162.84 1638984051, 0, 0, 36.698988, -122.050515, 175.3, 313.90 1638984551, 0, 0, 36.698655, -122.050545, -179.6, 451.86 1638985051, 0, 0, 36.698565, -122.050353, 178.0, 600.36 1638985551, 0, 0, 36.697928, -122.050227, 171.3, 729.96 1638986051, 0, 0, 36.697653, -122.050312, -173.1, 856.85 1638986551, 0, 0, 36.697270, -122.050197, 162.7, 981.97 1638987051, 0, 0, 36.696520, -122.050072, -178.7, 1012.10 1638987551, 0, 0, 36.695677, -122.049937, 173.6, 1008.82 1638988051, 0, 0, 36.695137, -122.049752, -174.3, 1010.00 1638988551, 0, 0, 36.694742, -122.049475, 171.8, 1009.33 1638989051, 0, 0, 36.694272, -122.049122, 167.9, 1002.99 1638989551, 0, 0, 36.693693, -122.048062, 130.7, 958.98 1638990051, 0, 0, 36.693095, -122.047158, 149.3, 956.03 1638990551, 0, 0, 36.692900, -122.046578, 131.4, 953.54 1638991051, 0, 0, 36.693967, -122.046312, -29.2, 889.85 1638991551, 0, 0, 36.694802, -122.046963, -46.7, 848.60 1638992051, 0, 0, 36.695385, -122.047413, -56.5, 850.59 1638992551, 0, 0, 36.695720, -122.047482, 0.7, 772.01 1638993051, 0, 0, 36.695847, -122.047830, -23.1, 732.08 1638993551, 0, 0, 36.696168, -122.047958, -7.4, 687.78 1638994051, 0, 0, 36.696095, -122.048112, -6.6, 668.47 1638994551, 0, 0, 36.695983, -122.048228, -0.9, 666.20 1638995051, 0, 0, 36.696283, -122.048227, -3.4, 637.23 1638995551, 0, 0, 36.696607, -122.048318, -9.3, 632.27 1638996051, 0, 0, 36.697597, -122.048577, -9.3, 585.16 1638996551, 0, 0, 36.698670, -122.048843, -5.8, 553.82 1638997051, 0, 0, 36.699315, -122.048847, -5.2, 484.69 1638997551, 0, 0, 36.700072, -122.049192, -5.8, 381.64 1638998051, 0, 0, 36.700235, -122.049505, -10.9, 372.35 1638998551, 0, 0, 36.700172, -122.049972, -172.2, 368.59 1638999051, 0, 0, 36.699707, -122.049837, -34.7, 302.69 1638999551, 0, 0, 36.700377, -122.050592, -34.4, 251.75 1639000051, 0, 0, 36.700610, -122.051008, -42.4, 244.11 1639000551, 0, 0, 36.701315, -122.051760, -42.4, 194.11 1639001051, 0, 0, 36.701783, -122.052150, -49.5, 182.96 1639001551, 0, 0, 36.701858, -122.052087, -34.4, 150.97 1639002051, 0, 0, 36.701635, -122.051360, -91.8, 37.76 rovNav(): 342: 19378 in tList after reading from \\atlas\RovNavEdit\2021\vnta\nav2021342vnta.txt 19378 in tList 19378 in {self->{rovT}} 19378 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1638983070 & 1638995820 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 642.194404112866 rovGDCListRefs(): dStats->sample_range = 1000.93306584589 rovGDCListRefs(): returning (1st elements): 1638983052 36.747370 -122.106705 -39.2 2.68003307240967 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 342 (looping to 342) Does file exist?: \\atlas\RovNavEdit\2021\vnta\nav2021342vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2021\vnta\nav2021342vntaedited.txt esecs, east, north, lat, lon, head, pres 1638983551, 0, 0, 36.699431, -122.050274, 322.9, 162.84 1638984051, 0, 0, 36.698983, -122.050523, 175.3, 313.90 1638984551, 0, 0, 36.698659, -122.050552, 180.4, 451.86 1638985051, 0, 0, 36.698461, -122.050326, 178.0, 600.36 1638985551, 0, 0, 36.697935, -122.050237, 171.3, 729.96 1638986051, 0, 0, 36.697658, -122.050305, 186.9, 856.85 1638986551, 0, 0, 36.697260, -122.050190, 162.7, 981.97 1638987051, 0, 0, 36.696514, -122.050070, 181.3, 1012.10 1638987551, 0, 0, 36.695692, -122.049952, 173.6, 1008.82 1638988051, 0, 0, 36.695126, -122.049745, 185.7, 1010.00 1638988551, 0, 0, 36.694728, -122.049481, 171.8, 1009.33 1638989051, 0, 0, 36.694285, -122.049121, 167.9, 1002.99 1638989551, 0, 0, 36.693689, -122.048065, 130.7, 958.98 1638990051, 0, 0, 36.693083, -122.047156, 149.3, 956.03 1638990551, 0, 0, 36.692886, -122.046565, 131.4, 953.54 1638991051, 0, 0, 36.693979, -122.046320, 330.8, 889.85 1638991551, 0, 0, 36.694806, -122.046974, 313.3, 848.60 1638992051, 0, 0, 36.695382, -122.047405, 303.5, 850.59 1638992551, 0, 0, 36.695663, -122.047491, 0.7, 772.01 1638993051, 0, 0, 36.695849, -122.047823, 336.9, 732.08 1638993551, 0, 0, 36.696163, -122.047969, 352.6, 687.78 1638994051, 0, 0, 36.696093, -122.048107, 353.4, 668.47 1638994551, 0, 0, 36.695982, -122.048230, 359.1, 666.20 1638995051, 0, 0, 36.696289, -122.048212, 356.6, 637.23 1638995551, 0, 0, 36.696610, -122.048339, 350.7, 632.27 1638996051, 0, 0, 36.697605, -122.048588, 350.7, 585.16 1638996551, 0, 0, 36.698676, -122.048838, 354.2, 553.82 1638997051, 0, 0, 36.699292, -122.048857, 354.8, 484.69 1638997551, 0, 0, 36.700076, -122.049199, 354.2, 381.64 1638998051, 0, 0, 36.700220, -122.049520, 349.1, 372.35 1638998551, 0, 0, 36.700183, -122.049925, 187.8, 368.59 1638999051, 0, 0, 36.699707, -122.049839, 325.3, 302.69 1638999551, 0, 0, 36.700387, -122.050574, 325.6, 251.75 1639000051, 0, 0, 36.700627, -122.051003, 317.6, 244.11 1639000551, 0, 0, 36.701324, -122.051747, 317.6, 194.11 1639001051, 0, 0, 36.701740, -122.052171, 310.5, 182.96 1639001551, 0, 0, 36.701903, -122.051976, 325.6, 150.97 1639002051, 0, 0, 36.701460, -122.051466, 268.2, 37.76 rovNav(): 342: 19378 in tList after reading from \\atlas\RovNavEdit\2021\vnta\nav2021342vntaedited.txt 19378 in tList 19378 in {self->{rovT}} 19378 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1638984045 & 1639000350 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 642.194404112866 rovGDCListRefs(): dStats->sample_range = 1000.93306648999 rovGDCListRefs(): returning (1st elements): 1638983052 36.699407 -122.050670 320.8 2.68004443933591 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.69752100 hash{lon} = -122.04957500 latMin = 30.697521 latMax = 42.697521 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.697521 AND 42.697521 AND Longitude BETWEEN -128.049575 AND -116.049575 Dive lat = 36.69752100, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.04957500 & lat = 36.69752100 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4382rov_orig.wrl Making color lookup world... var = Light, vmin = 40, vmax = 100 val = 40, color = .8 .7 0 val = 70, color = .6 .5 0 val = 85, color = .1 .1 0 val = 100, color = 1 1 1 var = O2, vmin = 0.2, vmax = 5 val = 0.2, color = 1 1 1 val = 0.3, color = 1 1 .2 val = 0.5, color = 1 1 0 val = 0.7, color = 0 1 0 val = 5, color = 0 0 1 var = Sal, vmin = 33, vmax = 35 val = 33, color = 1 1 .1 val = 33.5, color = 1 1 0 val = 34, color = 1 0 0 val = 34.5, color = .2 1 0 val = 35, color = 0 1 0 var = Temp, vmin = 4, vmax = 15 val = 4, color = 0 0 1 val = 8, color = 1 1 0 val = 10, color = 0 1 0 val = 15, color = 1 0 0 World = geo2021/vnta/vnta4382lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = -1 shipNav(): $#{$self->{shipLat}}[last] = Position subsampling set to 15 setROVcolorlines(): AssigniframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/342/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/342/accesses.txt at bin\geopdvc_perseus.pl line 629. ng color line for Light... varColors = LightColors index0 = .8 .7 0 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = 1 1 1 setROVcolorlines(): Assigning color line for Sal... varColors = SalColors index0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0 0 1 makeTracks(): n = 19379 makeTracks(): Looping through -1 point of ship position data... makeTracks(): posSubsample = 15 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4382tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2021/vnta/vnta4382mergedCtdNav.txt... bin\geopdvc_perseus.pl: Annotations: annotations(): Executing sql: SELECT DISTINCT DateDiff(ss, '01/01/70', RecordedDate) AS Esecs, CONVERT(CHAR(8), RecordedDate, 1) + ' ' + SUBSTRING(CONVERT(CHAR(19), RecordedDate, 120), 12, 8) AS DateTime, VideoArchiveName AS TapeNum, TapeTimeCode, ConceptName, Image AS StillImageURL, Depth, Latitude, Longitude, CameraDirection AS Direction, ISNULL(Observer, '') AS Observer, AnnotationMode, ObservationID_FK AS ObservationID FROM dbo.Annotations WHERE (ShipName = '') AND (RecordedDate BETWEEN '12/8/2021 5:04:12 PM' AND '12/8/2021 10:27:08 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '12/8/2021 5:04:12 PM' AND '12/8/2021 10:27:08 PM') bin\geopdvc_perseus.pl: Calling placeAnnotations with every 10 annotation... bin\geopdvc_perseus.pl: Calling placeAnnotations with every 2 annotation... bin\geopdvc_perseus.pl: Calling placeAnnotations with every 1 annotation... frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/vnta4382... iList = bin\geopdvc_perseus.pl: Number of images returned from expd->frameGrabs(every=>1)} = 0 bin\geopdvc_perseus.pl: Calling placeImages with every 10 image... bin\geopdvc_perseus.pl: Calling placeImages with every 2 image... bin\geopdvc_perseus.pl: Calling placeImages with every 1 image... bin\geopdvc_perseus.pl: Samples: samples(): Executing sql: SELECT DateDiff(ss, '01/01/70', CollectionEventDtg) AS Esecs, CollectionVIMSConcept, FrameGrabImageURL, SampleID, CollectionRefName FROM vwCollSamplePerson WHERE (CollectionEventDTG BETWEEN '12/8/2021 5:04:12 PM' AND '12/8/2021 10:27:08 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2021/vnta/vnta4382.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',7432,'/3Dreplay/3D.asp?dives=vnta4382','vnta4382','','','',4382 Executing sql: UPDATE Dive SET DiveLatMid = 36.6975, DiveLonMid = -122.0496, DiveDepthMid = -642.2 WHERE RovName = 'vnta' AND DiveNumber = 4382