Running bin\geopdvc_perseus.pl at Wed Jul 24 16:46:35 2019 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4152 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4152 and rname = vnta set_expd(): rov = vnta, diveno = 4152 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 = 4152 AND RovName = 'vnta' RS->Fields(0)->Value= 6421 RS->Fields(1)->Value= 1539806960 RS->Fields(2)->Value= 1539815787 RS->Fields(3)->Value= 10/17/2018 8:09:20 PM RS->Fields(4)->Value= 10/17/2018 10:36:27 PM set_expd(): $self->{EndDDD} = 290 set_expd(): $self->{StartEsecs} = 1539805760 set_expd(): $self->{EndEsecs} = 1539816987 set_expd(): $self->{EndDtg} = 10/17/2018 10:36:27 PM _readLogr(): Reading videologr data from 2018290datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1539805760 & 1539816987 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1539816994, self->{EndEsecs} = 1539816987 _readLogr(): #LOGHOST_SYSTEM_UTC = 1122 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1539805764 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1539816984 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1539805764 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1539816984 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1539805640, Refined EndEsecs = 1539817107 _readLogr(): Reading videologr data from 2018290datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1539805640 & 1539817107 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1539817114, self->{EndEsecs} = 1539817107 _readLogr(): #LOGHOST_SYSTEM_UTC = 1146 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1539805644 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1539817104 bin\geopdvc_perseus.pl: expdid = 6421 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): calcUTM = 0 rovnavCTDO(): getRaw = 1 rovNav(): 1, calcUTM = 0 rovNav(): 2, getRaw = 1 rovNav(): calcUTM = 0 rovNav(): DDD = 290 (looping to 290) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018290vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018290vnta.txt esecs, east, north, lat, lon, head, pres 1539807443, 0, 0, 36.795962, -121.862672, -93.6, 75.73 1539807943, 0, 0, 36.796248, -121.864278, -87.9, 75.61 1539808443, 0, 0, 36.796480, -121.865088, -93.0, 65.41 1539808943, 0, 0, 36.795838, -121.865248, 177.9, 47.70 1539809443, 0, 0, 36.795162, -121.865433, -169.8, 47.84 1539809943, 0, 0, 36.794780, -121.865768, -81.4, 47.84 1539810443, 0, 0, 36.794805, -121.866603, -113.2, 65.63 1539810944, 0, 0, 36.795455, -121.866553, -111.6, 65.40 1539811444, 0, 0, 36.795780, -121.866740, -70.1, 68.78 1539811944, 0, 0, 36.795605, -121.866857, -110.5, 70.38 1539812444, 0, 0, 36.795272, -121.867142, -166.5, 70.32 1539812944, 0, 0, 36.795290, -121.866745, -154.8, 70.49 1539813444, 0, 0, 36.795445, -121.866757, -100.7, 70.41 1539813944, 0, 0, 36.795388, -121.866695, -162.0, 70.49 1539814444, 0, 0, 36.795377, -121.866858, -147.2, 70.49 1539814944, 0, 0, 36.795237, -121.867870, -126.1, 70.28 1539815444, 0, 0, 36.795798, -121.867332, -118.7, 9.86 rovNav(): 290: 8824 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018290vnta.txt 8824 in tList 8824 in {self->{rovT}} 8824 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1539810765 & 1539809400 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 69.7087779322205 rovGDCListRefs(): dStats->sample_range = 79.9278709124173 rovGDCListRefs(): returning (1st elements): 1539806962 36.769233 -122.022790 33.2 2.77928750263199 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 290 (looping to 290) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018290vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018290vntaedited.txt esecs, east, north, lat, lon, head, pres 1539807443, 0, 0, 36.795975, -121.862711, 266.4, 75.73 1539807943, 0, 0, 36.796257, -121.864267, 272.1, 75.61 1539808443, 0, 0, 36.796475, -121.865075, 267.0, 65.41 1539808943, 0, 0, 36.795808, -121.865242, 177.9, 47.70 1539809443, 0, 0, 36.795162, -121.865428, 190.2, 47.84 1539809943, 0, 0, 36.794779, -121.865793, 278.6, 47.84 1539810443, 0, 0, 36.794791, -121.866576, 246.8, 65.63 1539810944, 0, 0, 36.795457, -121.866554, 248.4, 65.40 1539811444, 0, 0, 36.795764, -121.866722, 289.9, 68.78 1539811944, 0, 0, 36.795614, -121.866873, 249.5, 70.38 1539812444, 0, 0, 36.795282, -121.867157, 193.5, 70.32 1539812944, 0, 0, 36.795288, -121.866728, 205.2, 70.49 1539813444, 0, 0, 36.795446, -121.866768, 259.3, 70.41 1539813944, 0, 0, 36.795404, -121.866719, 198.0, 70.49 1539814444, 0, 0, 36.795376, -121.866847, 212.8, 70.49 1539814944, 0, 0, 36.795240, -121.867862, 233.9, 70.28 1539815444, 0, 0, 36.795779, -121.867842, 241.3, 9.86 rovNav(): 290: 8824 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018290vntaedited.txt 8824 in tList 8824 in {self->{rovT}} 8824 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1539809670 & 1539809820 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 69.7087779013762 rovGDCListRefs(): dStats->sample_range = 79.927876612039 rovGDCListRefs(): returning (1st elements): 1539806962 36.795670 -121.863295 33.2 2.77928100122316 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.79544900 hash{lon} = -121.86670700 latMin = 30.795449 latMax = 42.795449 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.795449 AND 42.795449 AND Longitude BETWEEN -127.866707 AND -115.866707 Dive lat = 36.79544900, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -121.86670700 & lat = 36.79544900 Using olon = -122 & olat = 36 bin\geopdvc_perseuframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/290/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/290/accesses.txt at bin\geopdvc_perseus.pl line 629. frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/vnta4152: Bad file descriptor at bin\geopdvc_perseus.pl line 629. s.pl: Calling makeROVorig... inline_name = vnta4152rov_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/vnta4152lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 1146 shipNav(): $#{$self->{shipLat}}[last] = 36.796709 Position subsampling set to 7 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 = 8825 makeTracks(): Looping through 1146 point of ship position data... makeTracks(): posSubsample = 7 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4152tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2018/vnta/vnta4152mergedCtdNav.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 '10/17/2018 8:09:20 PM' AND '10/17/2018 10:36:27 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '10/17/2018 8:09:20 PM' AND '10/17/2018 10:36:27 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/vnta4152... 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 '10/17/2018 8:09:20 PM' AND '10/17/2018 10:36:27 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2018/vnta/vnta4152.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',6421,'/3Dreplay/3D.asp?dives=vnta4152','vnta4152','','','',4152 Executing sql: UPDATE Dive SET DiveLatMid = 36.7954, DiveLonMid = -121.8667, DiveDepthMid = -69.7 WHERE RovName = 'vnta' AND DiveNumber = 4152