Running bin\geopdvc.pl at Mon Jan 16 03:00:04 2017 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3989 bin\geopdvc.pl: Getting Expedition object for diveno = 3989 and rname = vnta set_expd(): rov = vnta, diveno = 3989 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 = 3989 AND RovName = 'vnta' RS->Fields(0)->Value= 5760 RS->Fields(1)->Value= 1479492645 RS->Fields(2)->Value= 1479510945 RS->Fields(3)->Value= 11/18/2016 6:10:45 PM RS->Fields(4)->Value= 11/18/2016 11:15:45 PM set_expd(): $self->{EndDDD} = 323 set_expd(): $self->{StartEsecs} = 1479491445 set_expd(): $self->{EndEsecs} = 1479512145 set_expd(): $self->{EndDtg} = 11/18/2016 11:15:45 PM _readLogr(): Reading videologr data from 2016323datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1479491445 & 1479512145 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1479512149, self->{EndEsecs} = 1479512145 _readLogr(): #LOGHOST_SYSTEM_UTC = 2069 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1479491446 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1479512139 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1479491446 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1479512139 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1479491325, Refined EndEsecs = 1479512265 _readLogr(): Reading videologr data from 2016323datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1479491325 & 1479512265 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1479512269, self->{EndEsecs} = 1479512265 _readLogr(): #LOGHOST_SYSTEM_UTC = 2093 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1479491326 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1479512259 bin\geopdvc.pl: expdid = 5760 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 = 323 (looping to 323) Does file exist?: \\atlas\RovNavEdit\2016\vnta\nav2016323vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2016\vnta\nav2016323vnta.txt esecs, east, north, lat, lon, head, pres 1479492878, 0, 0, 36.802608, -121.887553, 187.6, 73.57 1479493379, 0, 0, 36.802015, -121.887650, 165.5, 230.84 1479493880, 0, 0, 36.802033, -121.887732, 252.0, 233.70 1479494381, 0, 0, 36.802070, -121.887697, 151.4, 232.47 1479494882, 0, 0, 36.802052, -121.887687, 163.9, 232.31 1479495383, 0, 0, 36.802070, -121.887695, 163.8, 232.37 1479495884, 0, 0, 36.802050, -121.887683, 163.7, 232.30 1479496385, 0, 0, 36.801840, -121.887745, 188.8, 236.59 1479496885, 0, 0, 36.801722, -121.887933, 210.5, 234.62 1479497386, 0, 0, 36.801722, -121.887942, 296.1, 234.78 1479497887, 0, 0, 36.801920, -121.888157, 301.1, 225.16 1479498388, 0, 0, 36.801822, -121.888030, 301.3, 230.16 1479498889, 0, 0, 36.801903, -121.887620, 74.5, 238.48 1479499390, 0, 0, 36.802510, -121.885592, 38.0, 248.59 1479499891, 0, 0, 36.802488, -121.885562, 16.7, 248.53 1479500392, 0, 0, 36.802507, -121.885613, 16.1, 249.26 1479500892, 0, 0, 36.802897, -121.885615, 357.0, 233.66 1479501393, 0, 0, 36.803033, -121.885605, 356.6, 227.22 1479501894, 0, 0, 36.802862, -121.885582, 356.8, 236.95 1479502395, 0, 0, 36.803080, -121.885577, 356.9, 224.18 1479502896, 0, 0, 36.802623, -121.885563, 357.3, 246.44 1479503397, 0, 0, 36.803282, -121.885542, 357.0, 214.94 1479503897, 0, 0, 36.802862, -121.885538, 358.2, 235.72 1479504398, 0, 0, 36.802513, -121.885600, 356.6, 249.76 1479504899, 0, 0, 36.803148, -121.885603, 358.1, 219.76 1479505400, 0, 0, 36.802980, -121.885578, 358.1, 229.97 1479505901, 0, 0, 36.802685, -121.885568, 357.9, 244.69 1479506402, 0, 0, 36.803355, -121.885558, 357.5, 212.10 1479506902, 0, 0, 36.802815, -121.885563, 357.8, 239.23 1479507403, 0, 0, 36.802515, -121.885597, 355.4, 249.35 1479507904, 0, 0, 36.802517, -121.885570, 352.1, 249.26 1479508405, 0, 0, 36.802518, -121.885577, 352.4, 249.00 1479508906, 0, 0, 36.802510, -121.885603, 352.3, 249.68 1479509406, 0, 0, 36.802508, -121.885583, 353.1, 248.95 1479509907, 0, 0, 36.802512, -121.885595, 350.7, 249.74 1479510408, 0, 0, 36.802578, -121.886077, 279.7, 98.11 1479510909, 0, 0, 36.802352, -121.885645, 274.2, 11.93 rovNav(): 323: 18390 in tList after reading from \\atlas\RovNavEdit\2016\vnta\nav2016323vnta.txt 18390 in tList 18390 in {self->{rovT}} 18390 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1479507120 & 1479501540 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 231.70127586964 rovGDCListRefs(): dStats->sample_range = 245.657793561592 rovGDCListRefs(): returning (1st elements): 1479491919 36.818203 -121.840875 142.5 2.58075704334403 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 323 (looping to 323) Does file exist?: \\atlas\RovNavEdit\2016\vnta\nav2016323vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2016\vnta\nav2016323vntaedited.txt esecs, east, north, lat, lon, head, pres 1479492878, 0, 0, 36.802608, -121.887553, 187.6, 73.57 1479493379, 0, 0, 36.802015, -121.887650, 165.5, 230.84 1479493880, 0, 0, 36.802033, -121.887732, 252.0, 233.70 1479494381, 0, 0, 36.802070, -121.887697, 151.4, 232.47 1479494882, 0, 0, 36.802052, -121.887687, 163.9, 232.31 1479495383, 0, 0, 36.802070, -121.887695, 163.8, 232.37 1479495884, 0, 0, 36.802050, -121.887683, 163.7, 232.30 1479496385, 0, 0, 36.801840, -121.887745, 188.8, 236.59 1479496885, 0, 0, 36.801722, -121.887933, 210.5, 234.62 1479497386, 0, 0, 36.801722, -121.887942, 296.1, 234.78 1479497887, 0, 0, 36.801920, -121.888157, 301.1, 225.16 1479498388, 0, 0, 36.801822, -121.888030, 301.3, 230.16 1479498889, 0, 0, 36.801903, -121.887620, 74.5, 238.48 1479499390, 0, 0, 36.802510, -121.885592, 38.0, 248.59 1479499891, 0, 0, 36.802488, -121.885562, 16.7, 248.53 1479500392, 0, 0, 36.802507, -121.885613, 16.1, 249.26 1479500892, 0, 0, 36.802897, -121.885615, 357.0, 233.66 1479501393, 0, 0, 36.803033, -121.885605, 356.6, 227.22 1479501894, 0, 0, 36.802862, -121.885582, 356.8, 236.95 1479502395, 0, 0, 36.803080, -121.885577, 356.9, 224.18 1479502896, 0, 0, 36.802623, -121.885563, 357.3, 246.44 1479503397, 0, 0, 36.803282, -121.885542, 357.0, 214.94 1479503897, 0, 0, 36.802862, -121.885538, 358.2, 235.72 1479504398, 0, 0, 36.802513, -121.885600, 356.6, 249.76 1479504899, 0, 0, 36.803148, -121.885603, 358.1, 219.76 1479505400, 0, 0, 36.802980, -121.885578, 358.1, 229.97 1479505901, 0, 0, 36.802685, -121.885568, 357.9, 244.69 1479506402, 0, 0, 36.803355, -121.885558, 357.5, 212.10 1479506902, 0, 0, 36.802815, -121.885563, 357.8, 239.23 1479507403, 0, 0, 36.802515, -121.885597, 355.4, 249.35 1479507904, 0, 0, 36.802517, -121.885570, 352.1, 249.26 1479508405, 0, 0, 36.802518, -121.885577, 352.4, 249.00 1479508906, 0, 0, 36.802511, -121.885596, 352.3, 249.68 1479509406, 0, 0, 36.802508, -121.885583, 353.1, 248.95 1479509907, 0, 0, 36.802511, -121.885589, 350.7, 249.74 1479510408, 0, 0, 36.802594, -121.886071, 279.7, 98.11 1479510909, 0, 0, 36.802362, -121.885666, 274.2, 11.93 rovNav(): 323: 18390 in tList after reading from \\atlas\RovNavEdit\2016\vnta\nav2016323vntaedited.txt 18390 in tList 18390 in {self->{rovT}} 18390 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1479507120 & 1479501540 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/323/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/323/accesses.txt at bin\geopdvc.pl line 625 frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/vnta3989: Bad file descriptor at bin\geopdvc.pl line 625 ..............................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 231.70127586964 rovGDCListRefs(): dStats->sample_range = 245.657793561592 rovGDCListRefs(): returning (1st elements): 1479491919 36.818203 -121.840875 142.5 2.58075704334403 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.80251200 hash{lon} = -121.88560200 latMin = 30.802512 latMax = 42.802512 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.802512 AND 42.802512 AND Longitude BETWEEN -127.885602 AND -115.885602 Dive lat = 36.80251200, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -121.88560200 & lat = 36.80251200 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3989rov_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/vnta3989lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 2093 shipNav(): $#{$self->{shipLat}}[last] = 36.799825 Position subsampling set to 15 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = .8 .7 0 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = 1 1 1 setROVcolorlines(): Assigning color line for Sal... varColors = SalColors index0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0 0 1 makeTracks(): n = 18391 makeTracks(): Looping through 2093 point of ship position data... makeTracks(): posSubsample = 15 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3989tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2016/vnta/vnta3989mergedCtdNav.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 '11/18/2016 6:10:45 PM' AND '11/18/2016 11:15:45 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '11/18/2016 6:10:45 PM' AND '11/18/2016 11:15:45 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/vnta3989... 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 '11/18/2016 6:10:45 PM' AND '11/18/2016 11:15:45 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2016/vnta/vnta3989.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5760,'/3Dreplay/3D.asp?dives=vnta3989','vnta3989','','','',3989 Executing sql: UPDATE Dive SET DiveLatMid = 36.8025, DiveLonMid = -121.8856, DiveDepthMid = -231.7 WHERE RovName = 'vnta' AND DiveNumber = 3989