_readLogr(): Cannot open \\atlas\Shipdata\logger\2021\rcsn\2021336datavislogr.dat.gz _readLogr(): Cannot open \\atlas\Shipdata\logger\2021\rcsn\2021336datavislogr.dat.gz Running bin\geopdvc_perseus.pl at Sun Jan 30 03:00:03 2022 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4378 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4378 and rname = vnta set_expd(): rov = vnta, diveno = 4378 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 = 4378 AND RovName = 'vnta' RS->Fields(0)->Value= 7415 RS->Fields(1)->Value= 1638465217 RS->Fields(2)->Value= 1638484657 RS->Fields(3)->Value= 12/2/2021 5:13:37 PM RS->Fields(4)->Value= 12/2/2021 10:37:37 PM set_expd(): $self->{EndDDD} = 336 set_expd(): $self->{StartEsecs} = 1638464017 set_expd(): $self->{EndEsecs} = 1638485857 set_expd(): $self->{EndDtg} = 12/2/2021 10:37:37 PM _readLogr(): Reading videologr data from 2021336datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1638464017 & 1638485857 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1638463897, Refined EndEsecs = 1638485977 _readLogr(): Reading videologr data from 2021336datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1638463897 & 1638485977 bin\geopdvc_perseus.pl: expdid = 7415 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): calcUTM = 0 rovnavCTDO(): getRaw = 1 rovNav(): 1, getRaw = 1 rovNav(): 2, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 336 (looping to 336) Does file exist?: \\atlas\RovNavEdit\2021\vnta\nav2021336vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2021\vnta\nav2021336vnta.txt esecs, east, north, lat, lon, head, pres 1638465716, 0, 0, 36.700823, -122.049430, -25.7, 172.16 1638466216, 0, 0, 36.700767, -122.049372, 157.0, 305.65 1638466716, 0, 0, 36.700477, -122.049552, -149.6, 322.92 1638467216, 0, 0, 36.700528, -122.049778, -117.1, 330.11 1638467716, 0, 0, 36.700430, -122.050123, -123.6, 338.77 1638468216, 0, 0, 36.700432, -122.050152, -114.2, 342.97 1638468716, 0, 0, 36.700418, -122.050162, -102.4, 344.18 1638469216, 0, 0, 36.700338, -122.050247, -136.9, 362.33 1638469716, 0, 0, 36.700143, -122.050105, -132.0, 406.31 1638470216, 0, 0, 36.699938, -122.050742, -119.8, 468.37 1638470716, 0, 0, 36.699567, -122.051600, -118.6, 532.70 1638471216, 0, 0, 36.699408, -122.052202, 135.1, 536.11 1638471716, 0, 0, 36.699067, -122.051588, 131.6, 562.79 1638472216, 0, 0, 36.698928, -122.050867, 126.2, 619.18 1638472716, 0, 0, 36.698648, -122.050343, -178.6, 641.00 1638473216, 0, 0, 36.697922, -122.050023, -180.0, 660.39 1638473716, 0, 0, 36.697385, -122.049658, -179.8, 701.69 1638474216, 0, 0, 36.696972, -122.049433, -169.6, 724.25 1638474716, 0, 0, 36.696238, -122.049305, -174.8, 728.39 1638475216, 0, 0, 36.695272, -122.049182, -175.5, 733.24 1638475716, 0, 0, 36.694755, -122.049127, -173.2, 730.60 1638476216, 0, 0, 36.695812, -122.049000, 9.6, 732.63 1638476716, 0, 0, 36.696060, -122.048927, -2.5, 733.33 1638477216, 0, 0, 36.696575, -122.048797, 1.2, 731.88 1638477716, 0, 0, 36.697058, -122.048718, 1.0, 732.09 1638478216, 0, 0, 36.697748, -122.048685, -0.4, 732.86 1638478716, 0, 0, 36.697975, -122.048537, -36.4, 735.64 1638479216, 0, 0, 36.698118, -122.048508, 1.0, 728.96 1638479716, 0, 0, 36.698323, -122.048635, -0.5, 727.64 1638480216, 0, 0, 36.698760, -122.048778, -46.8, 724.14 1638480716, 0, 0, 36.699220, -122.048998, -1.4, 719.59 1638481216, 0, 0, 36.699452, -122.049332, -87.7, 726.09 1638481716, 0, 0, 36.699340, -122.050932, -90.3, 642.25 1638482216, 0, 0, 36.699413, -122.052220, -90.2, 550.84 1638482716, 0, 0, 36.699352, -122.052700, -92.4, 501.25 1638483216, 0, 0, 36.699115, -122.052073, -93.5, 369.18 1638483716, 0, 0, 36.698712, -122.051622, -133.6, 272.09 1638484216, 0, 0, 36.698310, -122.050437, 141.1, 140.60 rovNav(): 336: 19441 in tList after reading from \\atlas\RovNavEdit\2021\vnta\nav2021336vnta.txt 19441 in tList 19441 in {self->{rovT}} 19441 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1638477930 & 1638475485 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 607.766413644931 rovGDCListRefs(): dStats->sample_range = 727.987377411988 rovGDCListRefs(): returning (1st elements): 1638465217 36.700057 -122.049468 -29.2 2.73960042359241 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 336 (looping to 336) Does file exist?: \\atlas\RovNavEdit\2021\vnta\nav2021336vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2021\vnta\nav2021336vntaedited.txt esecs, east, north, lat, lon, head, pres 1638465716, 0, 0, 36.700816, -122.049431, 334.3, 172.16 1638466216, 0, 0, 36.700761, -122.049373, 157.0, 305.65 1638466716, 0, 0, 36.700471, -122.049547, 210.4, 322.92 1638467216, 0, 0, 36.700506, -122.049783, 242.9, 330.11 1638467716, 0, 0, 36.700429, -122.050121, 236.4, 338.77 1638468216, 0, 0, 36.700440, -122.050154, 245.8, 342.97 1638468716, 0, 0, 36.700420, -122.050163, 257.6, 344.18 1638469216, 0, 0, 36.700342, -122.050225, 223.1, 362.33 1638469716, 0, 0, 36.700141, -122.050109, 228.0, 406.31 1638470216, 0, 0, 36.699931, -122.050748, 240.2, 468.37 1638470716, 0, 0, 36.699609, -122.051616, 241.4, 532.70 1638471216, 0, 0, 36.699398, -122.052199, 135.1, 536.11 1638471716, 0, 0, 36.699056, -122.051601, 131.6, 562.79 1638472216, 0, 0, 36.698930, -122.050885, 126.2, 619.18 1638472716, 0, 0, 36.698659, -122.050350, 181.4, 641.00 1638473216, 0, 0, 36.697935, -122.050026, 180.0, 660.39 1638473716, 0, 0, 36.697378, -122.049649, 180.2, 701.69 1638474216, 0, 0, 36.696971, -122.049438, 190.4, 724.25 1638474716, 0, 0, 36.696239, -122.049301, 185.2, 728.39 1638475216, 0, 0, 36.695263, -122.049178, 184.5, 733.24 1638475716, 0, 0, 36.694746, -122.049139, 186.8, 730.60 1638476216, 0, 0, 36.695815, -122.049001, 9.6, 732.63 1638476716, 0, 0, 36.696058, -122.048936, 357.5, 733.33 1638477216, 0, 0, 36.696582, -122.048796, 1.2, 731.88 1638477716, 0, 0, 36.697073, -122.048715, 1.0, 732.09 1638478216, 0, 0, 36.697745, -122.048673, 359.6, 732.86 1638478716, 0, 0, 36.697976, -122.048535, 323.6, 735.64 1638479216, 0, 0, 36.698103, -122.048502, 1.0, 728.96 1638479716, 0, 0, 36.698345, -122.048635, 359.5, 727.64 1638480216, 0, 0, 36.698761, -122.048780, 313.2, 724.14 1638480716, 0, 0, 36.699221, -122.049012, 358.6, 719.59 1638481216, 0, 0, 36.699439, -122.049336, 272.3, 726.09 1638481716, 0, 0, 36.699336, -122.050903, 269.7, 642.25 1638482216, 0, 0, 36.699401, -122.052253, 269.8, 550.84 1638482716, 0, 0, 36.699339, -122.052806, 267.6, 501.25 1638483216, 0, 0, 36.699117, -122.052058, 266.5, 369.18 1638483716, 0, 0, 36.698713, -122.051616, 226.4, 272.09 1638484216, 0, 0, 36.698302, -122.050431, 141.1, 140.60 rovNav(): 336: 19441 in tList after reading from \\atlas\RovNavEdit\2021\vnta\nav2021336vntaedited.txt 19441 in tList 19441 in {self->{rovT}} 19441 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1638475545 & 1638477105 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 607.766414638853 rovGDCListRefs(): dStats->sample_range = 727.987377082361 rovGDCListRefs(): returning (1st elements): 1638465217 36.700461 -122.049598 330.8 2.73960032574276 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.69896100 hash{lon} = -122.04975800 latMin = 30.698961 latMax = 42.698961 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.698961 AND 42.698961 AND Longitude BETWEEN -128.049758 AND -116.049758 Dive lat = 36.69896100, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.04975800 & lat = 36.69896100 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4378rov_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/vnta4378lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav()frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/336/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/336/accesses.txt at bin\geopdvc_perseus.pl line 629. : $#{$self->{shipLat}} = -1 shipNav(): $#{$self->{shipLat}}[last] = Position subsampling set to 15 setROVcolorlines(): Assigning 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 = 19442 makeTracks(): Looping through -1 point of ship position data... makeTracks(): posSubsample = 15 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4378tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2021/vnta/vnta4378mergedCtdNav.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/2/2021 5:13:37 PM' AND '12/2/2021 10:37:37 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '12/2/2021 5:13:37 PM' AND '12/2/2021 10:37:37 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/vnta4378... 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/2/2021 5:13:37 PM' AND '12/2/2021 10:37:37 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2021/vnta/vnta4378.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',7415,'/3Dreplay/3D.asp?dives=vnta4378','vnta4378','','','',4378 Executing sql: UPDATE Dive SET DiveLatMid = 36.6990, DiveLonMid = -122.0498, DiveDepthMid = -607.8 WHERE RovName = 'vnta' AND DiveNumber = 4378