Running bin\geopdvc_perseus.pl at Wed Jul 24 16:49:19 2019 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4160 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4160 and rname = vnta set_expd(): rov = vnta, diveno = 4160 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 = 4160 AND RovName = 'vnta' RS->Fields(0)->Value= 6444 RS->Fields(1)->Value= 1541610882 RS->Fields(2)->Value= 1541628261 RS->Fields(3)->Value= 11/7/2018 5:14:42 PM RS->Fields(4)->Value= 11/7/2018 10:04:21 PM set_expd(): $self->{EndDDD} = 311 set_expd(): $self->{StartEsecs} = 1541609682 set_expd(): $self->{EndEsecs} = 1541629461 set_expd(): $self->{EndDtg} = 11/7/2018 10:04:21 PM _readLogr(): Reading videologr data from 2018311datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1541609682 & 1541629461 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1541629463, self->{EndEsecs} = 1541629461 _readLogr(): #LOGHOST_SYSTEM_UTC = 1976 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1541609692 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1541629453 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1541609692 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1541629453 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1541609562, Refined EndEsecs = 1541629581 _readLogr(): Reading videologr data from 2018311datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1541609562 & 1541629581 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1541629583, self->{EndEsecs} = 1541629581 _readLogr(): #LOGHOST_SYSTEM_UTC = 2000 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1541609572 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1541629573 bin\geopdvc_perseus.pl: expdid = 6444 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): getRaw = 1 rovnavCTDO(): calcUTM = 0 rovNav(): 1, getRaw = 1 rovNav(): 2, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 311 (looping to 311) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018311vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018311vnta.txt esecs, east, north, lat, lon, head, pres 1541611381, 0, 0, 36.746938, -122.051440, -17.9, 186.57 1541611881, 0, 0, 36.746623, -122.051438, -19.8, 405.90 1541612381, 0, 0, 36.746318, -122.051673, 81.1, 612.93 1541612881, 0, 0, 36.746272, -122.051405, -15.1, 636.24 1541613381, 0, 0, 36.746137, -122.051755, -149.6, 639.74 1541613881, 0, 0, 36.745945, -122.051620, -135.4, 641.32 1541614382, 0, 0, 36.746277, -122.051498, -15.4, 637.68 1541614882, 0, 0, 36.745950, -122.051462, -164.8, 639.88 1541615382, 0, 0, 36.746280, -122.051440, -0.5, 637.83 1541615882, 0, 0, 36.746320, -122.051475, 15.1, 637.01 1541616382, 0, 0, 36.745818, -122.051735, 157.1, 642.35 1541616882, 0, 0, 36.745792, -122.051207, 124.4, 636.43 1541617382, 0, 0, 36.746285, -122.051472, 12.8, 637.73 1541617882, 0, 0, 36.746083, -122.051692, 16.0, 636.14 1541618382, 0, 0, 36.746322, -122.051460, -176.2, 636.97 1541618883, 0, 0, 36.745915, -122.051772, -140.1, 642.72 1541619383, 0, 0, 36.746345, -122.051575, -176.5, 636.81 1541619883, 0, 0, 36.746282, -122.051585, 162.7, 636.10 1541620383, 0, 0, 36.745877, -122.051497, 117.8, 640.14 1541620883, 0, 0, 36.745697, -122.051955, 130.3, 644.76 1541621383, 0, 0, 36.745698, -122.051957, 68.7, 645.67 1541621883, 0, 0, 36.745673, -122.052063, 58.5, 645.30 1541622383, 0, 0, 36.745555, -122.052142, 58.9, 645.17 1541622883, 0, 0, 36.745730, -122.052030, 109.8, 645.51 1541623384, 0, 0, 36.745663, -122.052052, 47.9, 645.19 1541623884, 0, 0, 36.745658, -122.052007, 81.8, 645.33 1541624384, 0, 0, 36.745673, -122.051020, 129.1, 632.44 1541624884, 0, 0, 36.745615, -122.051028, 127.1, 630.82 1541625384, 0, 0, 36.745722, -122.051028, 89.1, 629.64 1541625884, 0, 0, 36.746315, -122.051547, 106.2, 633.08 1541626384, 0, 0, 36.746260, -122.052588, -89.8, 542.98 1541626884, 0, 0, 36.745918, -122.050963, -32.1, 350.44 1541627384, 0, 0, 36.745567, -122.051267, -34.5, 162.51 1541627885, 0, 0, 36.745045, -122.050390, 0.1, 17.51 rovNav(): 311: 17376 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018311vnta.txt 17376 in tList 17376 in {self->{rovT}} 17376 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1541617980 & 1541619435 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ...............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 631.296837118859 rovGDCListRefs(): dStats->sample_range = 637.56222590396 rovGDCListRefs(): returning (1st elements): 1541610882 36.419125 -122.302152 -18.9 2.68011075023673 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 311 (looping to 311) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018311vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018311vntaedited.txt esecs, east, north, lat, lon, head, pres 1541611381, 0, 0, 36.745680, -122.050648, 342.1, 186.57 1541611881, 0, 0, 36.746319, -122.051585, 340.2, 405.90 1541612381, 0, 0, 36.746342, -122.051658, 81.1, 612.93 1541612881, 0, 0, 36.746257, -122.051454, 344.9, 636.24 1541613381, 0, 0, 36.746174, -122.051706, 210.4, 639.74 1541613881, 0, 0, 36.746072, -122.051710, 224.6, 641.32 1541614382, 0, 0, 36.746266, -122.051501, 344.6, 637.68 1541614882, 0, 0, 36.745986, -122.051464, 195.2, 639.88 1541615382, 0, 0, 36.746298, -122.051477, 359.5, 637.83 1541615882, 0, 0, 36.746270, -122.051474, 15.1, 637.01 1541616382, 0, 0, 36.745836, -122.051718, 157.1, 642.35 1541616882, 0, 0, 36.745767, -122.051264, 124.4, 636.43 1541617382, 0, 0, 36.746256, -122.051482, 12.8, 637.73 1541617882, 0, 0, 36.746089, -122.051701, 16.0, 636.14 1541618382, 0, 0, 36.746333, -122.051478, 183.8, 636.97 1541618883, 0, 0, 36.745897, -122.051737, 219.9, 642.72 1541619383, 0, 0, 36.746325, -122.051518, 183.5, 636.81 1541619883, 0, 0, 36.746252, -122.051573, 162.7, 636.10 1541620383, 0, 0, 36.745897, -122.051521, 117.8, 640.14 1541620883, 0, 0, 36.745702, -122.051957, 130.3, 644.76 1541621383, 0, 0, 36.745685, -122.051961, 68.7, 645.67 1541621883, 0, 0, 36.745692, -122.052001, 58.5, 645.30 1541622383, 0, 0, 36.745619, -122.052042, 58.9, 645.17 1541622883, 0, 0, 36.745728, -122.052031, 109.8, 645.51 1541623384, 0, 0, 36.745688, -122.052044, 47.9, 645.19 1541623884, 0, 0, 36.745690, -122.052027, 81.8, 645.33 1541624384, 0, 0, 36.745690, -122.051029, 129.1, 632.44 1541624884, 0, 0, 36.745651, -122.051071, 127.1, 630.82 1541625384, 0, 0, 36.745535, -122.051049, 89.1, 629.64 1541625884, 0, 0, 36.746355, -122.051637, 106.2, 633.08 1541626384, 0, 0, 36.746256, -122.052578, 270.2, 542.98 1541626884, 0, 0, 36.746215, -122.051978, 327.9, 350.44 1541627384, 0, 0, 36.745555, -122.051270, 325.5, 162.51 1541627885, 0, 0, 36.745017, -122.050454, 0.1, 17.51 rovNav(): 311: 17376 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018311vntaedited.txt 17376 in tList 17376 in {self->{rovT}} 17376 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1541622375 & 1541616075 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/311/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/311/accesses.txt at bin\geopdvc_perseus.pl line 629. frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/vnta4160: Bad file descriptor at bin\geopdvc_perseus.pl line 629. ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 631.296838849726 rovGDCListRefs(): dStats->sample_range = 637.562226192745 rovGDCListRefs(): returning (1st elements): 1541610882 36.746844 -122.051470 341.1 2.68003319709889 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.74599400 hash{lon} = -122.05155600 latMin = 30.745994 latMax = 42.745994 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.745994 AND 42.745994 AND Longitude BETWEEN -128.051556 AND -116.051556 Dive lat = 36.74599400, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.05155600 & lat = 36.74599400 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4160rov_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/vnta4160lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 2000 shipNav(): $#{$self->{shipLat}}[last] = 36.748129 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 = 17377 makeTracks(): Looping through 2000 point of ship position data... makeTracks(): posSubsample = 14 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4160tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2018/vnta/vnta4160mergedCtdNav.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 '11/7/2018 5:14:42 PM' AND '11/7/2018 10:04:21 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '11/7/2018 5:14:42 PM' AND '11/7/2018 10:04:21 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/vnta4160... 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 '11/7/2018 5:14:42 PM' AND '11/7/2018 10:04:21 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2018/vnta/vnta4160.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',6444,'/3Dreplay/3D.asp?dives=vnta4160','vnta4160','','','',4160 Executing sql: UPDATE Dive SET DiveLatMid = 36.7460, DiveLonMid = -122.0516, DiveDepthMid = -631.3 WHERE RovName = 'vnta' AND DiveNumber = 4160