Running bin\geopdvc_perseus.pl at Wed Jul 24 16:53:01 2019 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4168 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4168 and rname = vnta set_expd(): rov = vnta, diveno = 4168 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 = 4168 AND RovName = 'vnta' RS->Fields(0)->Value= 6478 RS->Fields(1)->Value= 1544718572 RS->Fields(2)->Value= 1544735505 RS->Fields(3)->Value= 12/13/2018 4:29:32 PM RS->Fields(4)->Value= 12/13/2018 9:11:45 PM set_expd(): $self->{EndDDD} = 347 set_expd(): $self->{StartEsecs} = 1544717372 set_expd(): $self->{EndEsecs} = 1544736705 set_expd(): $self->{EndDtg} = 12/13/2018 9:11:45 PM _readLogr(): Reading videologr data from 2018347datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1544717372 & 1544736705 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1544736706, self->{EndEsecs} = 1544736705 _readLogr(): #LOGHOST_SYSTEM_UTC = 1932 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1544717376 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1544736696 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1544717376 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1544736696 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1544717252, Refined EndEsecs = 1544736825 _readLogr(): Reading videologr data from 2018347datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1544717252 & 1544736825 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1544736826, self->{EndEsecs} = 1544736825 _readLogr(): #LOGHOST_SYSTEM_UTC = 1956 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1544717256 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1544736816 bin\geopdvc_perseus.pl: expdid = 6478 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 = 347 (looping to 347) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018347vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018347vnta.txt esecs, east, north, lat, lon, head, pres 1544719071, 0, 0, 36.708390, -122.182080, -6.2, 184.31 1544719572, 0, 0, 36.705477, -122.181120, -2.3, 375.10 1544720072, 0, 0, 36.705758, -122.180978, 0.5, 572.40 1544720572, 0, 0, 36.705865, -122.180850, 4.1, 765.46 1544721072, 0, 0, 36.706038, -122.180990, -85.3, 932.32 1544721572, 0, 0, 36.705780, -122.180860, 33.2, 931.47 1544722072, 0, 0, 36.705298, -122.181338, -81.6, 936.08 1544722572, 0, 0, 36.705087, -122.182570, -50.4, 937.43 1544723072, 0, 0, 36.705310, -122.183318, -8.9, 934.20 1544723572, 0, 0, 36.706945, -122.183187, -70.6, 916.95 1544724072, 0, 0, 36.706925, -122.183260, -129.9, 918.51 1544724573, 0, 0, 36.707003, -122.183223, -98.0, 918.51 1544725073, 0, 0, 36.706947, -122.183250, -95.0, 918.51 1544725573, 0, 0, 36.706955, -122.183230, -115.8, 918.48 1544726073, 0, 0, 36.707183, -122.182182, 28.9, 911.63 1544726573, 0, 0, 36.709745, -122.179832, 13.0, 895.99 1544727073, 0, 0, 36.709678, -122.179738, -13.6, 842.20 1544727573, 0, 0, 36.708452, -122.179735, -0.1, 842.59 1544728073, 0, 0, 36.709095, -122.180598, -37.8, 829.75 1544728573, 0, 0, 36.710237, -122.182197, -63.2, 807.65 1544729074, 0, 0, 36.711085, -122.184600, -63.9, 854.44 1544729574, 0, 0, 36.712287, -122.186543, -45.3, 882.90 1544730074, 0, 0, 36.712480, -122.186728, 71.0, 887.21 1544730574, 0, 0, 36.712497, -122.186757, 90.8, 887.49 1544731074, 0, 0, 36.712465, -122.186790, 74.0, 885.82 1544731574, 0, 0, 36.712950, -122.185962, 16.7, 881.48 1544732074, 0, 0, 36.712268, -122.186770, 35.8, 887.00 1544732574, 0, 0, 36.712245, -122.186737, -18.2, 885.40 1544733074, 0, 0, 36.712003, -122.186672, 172.3, 885.26 1544733574, 0, 0, 36.710170, -122.186310, 168.8, 755.27 1544734075, 0, 0, 36.710335, -122.186845, 150.6, 513.34 1544734575, 0, 0, 36.709857, -122.187945, -139.4, 319.20 1544735075, 0, 0, 36.709707, -122.188177, -139.4, 139.52 rovNav(): 347: 16930 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018347vnta.txt 16930 in tList 16930 in {self->{rovT}} 16930 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1544726445 & 1544735475 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 876.721573604191 rovGDCListRefs(): dStats->sample_range = 927.823481811767 rovGDCListRefs(): returning (1st elements): 1544718572 36.801205 -121.786010 138.0 2.58076092600979 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 347 (looping to 347) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018347vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018347vntaedited.txt esecs, east, north, lat, lon, head, pres 1544719071, 0, 0, 36.707045, -122.181804, 353.8, 184.31 1544719572, 0, 0, 36.705468, -122.181099, 357.7, 375.10 1544720072, 0, 0, 36.705801, -122.181039, 0.5, 572.40 1544720572, 0, 0, 36.705880, -122.180760, 4.1, 765.46 1544721072, 0, 0, 36.705832, -122.180836, 274.7, 932.32 1544721572, 0, 0, 36.705759, -122.180641, 33.2, 931.47 1544722072, 0, 0, 36.705326, -122.181330, 278.4, 936.08 1544722572, 0, 0, 36.705090, -122.182550, 309.6, 937.43 1544723072, 0, 0, 36.705348, -122.183354, 351.1, 934.20 1544723572, 0, 0, 36.706925, -122.183238, 289.4, 916.95 1544724072, 0, 0, 36.706963, -122.183246, 230.1, 918.51 1544724573, 0, 0, 36.706989, -122.183280, 262.0, 918.51 1544725073, 0, 0, 36.706961, -122.183257, 265.0, 918.51 1544725573, 0, 0, 36.706966, -122.183266, 244.2, 918.48 1544726073, 0, 0, 36.707600, -122.182000, 28.9, 911.63 1544726573, 0, 0, 36.709741, -122.179966, 13.0, 895.99 1544727073, 0, 0, 36.709686, -122.179762, 346.4, 842.20 1544727573, 0, 0, 36.708435, -122.179739, 359.9, 842.59 1544728073, 0, 0, 36.709038, -122.180620, 322.2, 829.75 1544728573, 0, 0, 36.710228, -122.182210, 296.8, 807.65 1544729074, 0, 0, 36.711069, -122.184537, 296.1, 854.44 1544729574, 0, 0, 36.712283, -122.186548, 314.7, 882.90 1544730074, 0, 0, 36.712484, -122.186763, 71.0, 887.21 1544730574, 0, 0, 36.712501, -122.186756, 90.8, 887.49 1544731074, 0, 0, 36.712416, -122.186795, 74.0, 885.82 1544731574, 0, 0, 36.712954, -122.185987, 16.7, 881.48 1544732074, 0, 0, 36.712259, -122.186766, 35.8, 887.00 1544732574, 0, 0, 36.712248, -122.186751, 341.8, 885.40 1544733074, 0, 0, 36.711957, -122.186677, 172.3, 885.26 1544733574, 0, 0, 36.710181, -122.186296, 168.8, 755.27 1544734075, 0, 0, 36.710382, -122.186853, 150.6, 513.34 1544734575, 0, 0, 36.709853, -122.187931, 220.6, 319.20 1544735075, 0, 0, 36.709659, -122.188134, 220.6, 139.52 rovNav(): 347: 16930 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018347vntaedited.txt 16930 in tList 16930 in {self->{rovT}} 16930 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1544727450 & 1544729190 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/347/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/347/accesses.txt at bin\geopdvc_perseus.pl line 629. frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/vnta4168: Bad file descriptor at bin\geopdvc_perseus.pl line 629. ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 876.721573604191 rovGDCListRefs(): dStats->sample_range = 927.823457079699 rovGDCListRefs(): returning (1st elements): 1544718572 36.705838 -122.181280 138.0 2.58078269706695 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.70894000 hash{lon} = -122.18326000 latMin = 30.70894 latMax = 42.70894 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.70894 AND 42.70894 AND Longitude BETWEEN -128.18326 AND -116.18326 Dive lat = 36.70894000, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.18326000 & lat = 36.70894000 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4168rov_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 = geo2018/vnta/vnta4168lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 1956 shipNav(): $#{$self->{shipLat}}[last] = 36.709469 Position subsampling set to 14 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 = 16931 makeTracks(): Looping through 1956 point of ship position data... makeTracks(): posSubsample = 14 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4168tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2018/vnta/vnta4168mergedCtdNav.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/13/2018 4:29:32 PM' AND '12/13/2018 9:11:45 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '12/13/2018 4:29:32 PM' AND '12/13/2018 9:11:45 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/2018/vnta4168... 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/13/2018 4:29:32 PM' AND '12/13/2018 9:11:45 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2018/vnta/vnta4168.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',6478,'/3Dreplay/3D.asp?dives=vnta4168','vnta4168','','','',4168 Executing sql: UPDATE Dive SET DiveLatMid = 36.7089, DiveLonMid = -122.1833, DiveDepthMid = -876.7 WHERE RovName = 'vnta' AND DiveNumber = 4168