Running bin\geopdvc.pl at Sat Nov 26 03:00:26 2016 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3959 bin\geopdvc.pl: Getting Expedition object for diveno = 3959 and rname = vnta set_expd(): rov = vnta, diveno = 3959 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 = 3959 AND RovName = 'vnta' RS->Fields(0)->Value= 5695 RS->Fields(1)->Value= 1475086345 RS->Fields(2)->Value= 1475100058 RS->Fields(3)->Value= 9/28/2016 6:12:25 PM RS->Fields(4)->Value= 9/28/2016 10:00:58 PM set_expd(): $self->{EndDDD} = 272 set_expd(): $self->{StartEsecs} = 1475085145 set_expd(): $self->{EndEsecs} = 1475101258 set_expd(): $self->{EndDtg} = 9/28/2016 10:00:58 PM _readLogr(): Reading videologr data from 2016272datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1475085145 & 1475101258 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1475101265, self->{EndEsecs} = 1475101258 _readLogr(): #LOGHOST_SYSTEM_UTC = 1610 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1475085152 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1475101255 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1475085152 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1475101255 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1475085025, Refined EndEsecs = 1475101378 _readLogr(): Reading videologr data from 2016272datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1475085025 & 1475101378 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1475101385, self->{EndEsecs} = 1475101378 _readLogr(): #LOGHOST_SYSTEM_UTC = 1634 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1475085032 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1475101375 bin\geopdvc.pl: expdid = 5695 bin\geopdvc.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 = 272 (looping to 272) Does file exist?: \\atlas\RovNavEdit\2016\vnta\nav2016272vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2016\vnta\nav2016272vnta.txt esecs, east, north, lat, lon, head, pres 1475086841, 0, 0, 36.780098, -121.949538, 282.7, 215.45 1475087342, 0, 0, 36.779832, -121.950000, 244.8, 221.03 1475087843, 0, 0, 36.779418, -121.950820, 239.1, 219.24 1475088344, 0, 0, 36.779023, -121.951263, 229.7, 210.88 1475088845, 0, 0, 36.778822, -121.951887, 60.5, 218.69 1475089345, 0, 0, 36.778773, -121.951403, 242.1, 232.83 1475089846, 0, 0, 36.778438, -121.951677, 242.5, 233.62 1475090347, 0, 0, 36.778375, -121.952345, 227.2, 235.01 1475090848, 0, 0, 36.778340, -121.952467, 165.4, 235.54 1475091349, 0, 0, 36.778307, -121.952733, 255.1, 241.16 1475091850, 0, 0, 36.778423, -121.952442, 5.2, 241.34 1475092350, 0, 0, 36.778405, -121.952317, 164.9, 238.72 1475092851, 0, 0, 36.778372, -121.952283, 264.3, 238.92 1475093352, 0, 0, 36.783003, -121.945935, 263.9, 254.22 1475093853, 0, 0, 36.777652, -121.952677, 140.5, 317.54 1475094354, 0, 0, 36.777112, -121.953500, 241.1, 350.61 1475094854, 0, 0, 36.776073, -121.953345, 114.4, 427.55 1475095355, 0, 0, 36.775757, -121.954003, 90.8, 487.60 1475095856, 0, 0, 36.775320, -121.953635, 101.5, 560.56 1475096357, 0, 0, 36.775398, -121.953293, 237.1, 621.82 1475096858, 0, 0, 36.775470, -121.953130, 173.5, 621.43 1475097359, 0, 0, 36.775448, -121.953222, 164.9, 621.82 1475097859, 0, 0, 36.775457, -121.953170, 179.3, 621.17 1475098360, 0, 0, 36.776242, -121.954037, 309.4, 530.60 1475098861, 0, 0, 36.776445, -121.955508, 309.8, 354.10 1475099362, 0, 0, 36.776110, -121.955365, 310.1, 185.37 1475099863, 0, 0, 36.775988, -121.954418, 310.8, 16.65 rovNav(): 272: 13689 in tList after reading from \\atlas\RovNavEdit\2016\vnta\nav2016272vnta.txt 13689 in tList 13689 in {self->{rovT}} 13689 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1475090160 & 1475098260 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 236.956557863333 rovGDCListRefs(): dStats->sample_range = 615.344879682622 rovGDCListRefs(): returning (1st elements): 1475086347 36.779957 -121.949253 278.2 2.77928486558986 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 272 (looping to 272) Does file exist?: \\atlas\RovNavEdit\2016\vnta\nav2016272vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2016\vnta\nav2016272vntaedited.txt esecs, east, north, lat, lon, head, pres 1475086841, 0, 0, 36.780094, -121.949530, 282.7, 215.45 1475087342, 0, 0, 36.779851, -121.950008, 244.8, 221.03 1475087843, 0, 0, 36.779438, -121.950787, 239.1, 219.24 1475088344, 0, 0, 36.779086, -121.951230, 229.7, 210.88 1475088845, 0, 0, 36.778780, -121.951682, 60.5, 218.69 1475089345, 0, 0, 36.778687, -121.951350, 242.1, 232.83 1475089846, 0, 0, 36.778410, -121.951662, 242.5, 233.62 1475090347, 0, 0, 36.778367, -121.952319, 227.2, 235.01 1475090848, 0, 0, 36.778355, -121.952483, 165.4, 235.54 1475091349, 0, 0, 36.778358, -121.952749, 255.1, 241.16 1475091850, 0, 0, 36.778434, -121.952454, 5.2, 241.34 1475092350, 0, 0, 36.778375, -121.952298, 164.9, 238.72 1475092851, 0, 0, 36.778379, -121.952281, 264.3, 238.92 1475093352, 0, 0, 36.778219, -121.952591, 263.9, 254.22 1475093853, 0, 0, 36.777638, -121.952637, 140.5, 317.54 1475094354, 0, 0, 36.777148, -121.953476, 241.1, 350.61 1475094854, 0, 0, 36.776091, -121.953417, 114.4, 427.55 1475095355, 0, 0, 36.775708, -121.954012, 90.8, 487.60 1475095856, 0, 0, 36.775339, -121.953582, 101.5, 560.56 1475096357, 0, 0, 36.775421, -121.953220, 237.1, 621.82 1475096858, 0, 0, 36.775456, -121.953184, 173.5, 621.43 1475097359, 0, 0, 36.775456, -121.953221, 164.9, 621.82 1475097859, 0, 0, 36.775448, -121.953173, 179.3, 621.17 1475098360, 0, 0, 36.776221, -121.954030, 309.4, 530.60 1475098861, 0, 0, 36.776468, -121.955518, 309.8, 354.10 1475099362, 0, 0, 36.776120, -121.955366, 310.1, 185.37 1475099863, 0, 0, 36.775976, -121.954427, 310.8, 16.65 rovNav(): 272: 13689 in tList after reading from \\atlas\RovNavEdit\2016\vnta\nav2016272vntaedited.txt 13689 in tList 13689 in {self->{rovT}} 13689 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1475090160 & 1475098260 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 236.956557517406 rovGDCListRefs(): dStats->sample_range = 615.344871371711 rovGDCListRefs(): returning (1st elements): 1475086347 36.779986 -121.949175 278.2 2.77928485845834 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.77828100 hash{lon} = -121.95254600 latMin = 30.778281 latMax = 42.778281 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.778281 AND 42.778281 AND Longitude BETWEEN -127.952546 AND -115.952546 Dive lat = 36.77828100, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -121.95254600 & lat = 36.77828100 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3959rov_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 = geo2016/vnta/vnta3959lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 1634 shipNav(): $#{$self->{shipLat}}[last] = 36.785833 Position subsampling set to 11 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(): AssignframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/272/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/272/accesses.txt at bin\geopdvc.pl line 625 frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/vnta3959: Bad file descriptor at bin\geopdvc.pl line 625 ing color line for Sal... varColors = SalColors index0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0 0 1 makeTracks(): n = 13690 makeTracks(): Looping through 1634 point of ship position data... makeTracks(): posSubsample = 11 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3959tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2016/vnta/vnta3959mergedCtdNav.txt... bin\geopdvc.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 '9/28/2016 6:12:25 PM' AND '9/28/2016 10:00:58 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '9/28/2016 6:12:25 PM' AND '9/28/2016 10:00:58 PM') bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/vnta3959... iList = bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 0 bin\geopdvc.pl: Calling placeImages with every 10 image... bin\geopdvc.pl: Calling placeImages with every 2 image... bin\geopdvc.pl: Calling placeImages with every 1 image... bin\geopdvc.pl: Samples: samples(): Executing sql: SELECT DateDiff(ss, '01/01/70', CollectionEventDtg) AS Esecs, CollectionVIMSConcept, FrameGrabImageURL, SampleID, CollectionRefName FROM vwCollSamplePerson WHERE (CollectionEventDTG BETWEEN '9/28/2016 6:12:25 PM' AND '9/28/2016 10:00:58 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2016/vnta/vnta3959.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5695,'/3Dreplay/3D.asp?dives=vnta3959','vnta3959','','','',3959 Executing sql: UPDATE Dive SET DiveLatMid = 36.7783, DiveLonMid = -121.9525, DiveDepthMid = -237.0 WHERE RovName = 'vnta' AND DiveNumber = 3959