Running bin\geopdvc.pl at Sun May 21 03:00:03 2017 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 4013 bin\geopdvc.pl: Getting Expedition object for diveno = 4013 and rname = vnta set_expd(): rov = vnta, diveno = 4013 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 = 4013 AND RovName = 'vnta' RS->Fields(0)->Value= 5839 RS->Fields(1)->Value= 1490281260 RS->Fields(2)->Value= 1490285055 RS->Fields(3)->Value= 3/23/2017 3:01:00 PM RS->Fields(4)->Value= 3/23/2017 4:04:15 PM set_expd(): $self->{EndDDD} = 082 set_expd(): $self->{StartEsecs} = 1490280060 set_expd(): $self->{EndEsecs} = 1490286255 set_expd(): $self->{EndDtg} = 3/23/2017 4:04:15 PM _readLogr(): Reading videologr data from 2017082datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1490280060 & 1490286255 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1490286256, self->{EndEsecs} = 1490286255 _readLogr(): #LOGHOST_SYSTEM_UTC = 618 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1490280065 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1490286246 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1490280065 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1490286246 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1490279940, Refined EndEsecs = 1490286375 _readLogr(): Reading videologr data from 2017082datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1490279940 & 1490286375 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1490286376, self->{EndEsecs} = 1490286375 _readLogr(): #LOGHOST_SYSTEM_UTC = 642 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1490279945 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1490286366 bin\geopdvc.pl: expdid = 5839 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 = 082 (looping to 082) Does file exist?: \\atlas\RovNavEdit\2017\vnta\nav2017082vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2017\vnta\nav2017082vnta.txt esecs, east, north, lat, lon, head, pres 1490281761, 0, 0, 36.750655, -121.838968, 340.2, 26.82 1490282262, 0, 0, 36.751953, -121.838677, 347.6, 29.38 1490282763, 0, 0, 36.751893, -121.838672, 318.8, 29.24 1490283264, 0, 0, 36.751978, -121.838678, 12.4, 29.28 1490283764, 0, 0, 36.751977, -121.838645, 7.4, 29.19 1490284265, 0, 0, 36.751985, -121.838628, 32.1, 28.98 1490284766, 0, 0, 36.749903, -121.838553, 164.3, 7.19 rovNav(): 082: 3785 in tList after reading from \\atlas\RovNavEdit\2017\vnta\nav2017082vnta.txt 3785 in tList 3785 in {self->{rovT}} 3785 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1490282355 & 1490284545 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXX rovGDCListRefs(): dMedian = 28.7638307392386 rovGDCListRefs(): dStats->sample_range = 27.2549285705371 rovGDCListRefs(): returning (1st elements): 1490281261 36.751467 -121.838447 291.1 2.58077228322457 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 082 (looping to 082) Does file exist?: \\atlas\RovNavEdit\2017\vnta\nav2017082vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2017\vnta\nav2017082vntaedited.txt esecs, east, north, lat, lon, head, pres 1490281761, 0, 0, 36.751543, -121.838604, 340.2, 26.82 1490282262, 0, 0, 36.751892, -121.838680, 347.6, 29.38 1490282763, 0, 0, 36.751866, -121.838641, 318.8, 29.24 1490283264, 0, 0, 36.751730, -121.838540, 12.4, 29.28 1490283764, 0, 0, 36.751975, -121.838653, 7.4, 29.19 1490284265, 0, 0, 36.751989, -121.838657, 32.1, 28.98 1490284766, 0, 0, 36.751132, -121.838584, 164.3, 7.19 rovNav(): 082: 3785 in tList after reading from \\atlas\RovNavEdit\2017\vnta\nav2017082vntaedited.txt 3785 in tList 3785 in {self->{rovT}} 3785 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1490282355 & 1490284545 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXX............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXX rovGDCListframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/082/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/082/accesses.txt at bin\geopdvc.pl line 625 Refs(): dMedian = 28.7638310051195 rovGDCListRefs(): dStats->sample_range = 27.254928332136 rovGDCListRefs(): returning (1st elements): 1490281261 36.751730 -121.838310 291.1 2.58077222318622 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.75186250 hash{lon} = -121.83864700 latMin = 30.7518625 latMax = 42.7518625 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.7518625 AND 42.7518625 AND Longitude BETWEEN -127.838647 AND -115.838647 Dive lat = 36.75186250, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -121.83864700 & lat = 36.75186250 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta4013rov_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 = geo2017/vnta/vnta4013lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 642 shipNav(): $#{$self->{shipLat}}[last] = 36.776128 Position subsampling set to 3 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = 0.4033 0.3427 0.0000 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = 0 0 1 setROVcolorlines(): Assigning color line for Sal... varColors = SalColors index0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0.6602 0.3398 0.0000 makeTracks(): n = 3786 makeTracks(): Looping through 642 point of ship position data... makeTracks(): posSubsample = 3 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4013tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2017/vnta/vnta4013mergedCtdNav.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 '3/23/2017 3:01:00 PM' AND '3/23/2017 4:04:15 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '3/23/2017 3:01:00 PM' AND '3/23/2017 4:04:15 PM') _findIndex(): Looking for epoch secs 1490283594 ... Found time 1490283592 after 8 iterations. >>> p = 2327: annotations(): 2327, 1490283594, 03/23/17 15:39:54, V4013-01HD, 06:08:11:04, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/4013/06_08_11_04.jpg, 29.0799999237061, descend, ventana, u, 20066417 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta4013anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... inline_name = vnta4013anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: Ancillary data = ["", "P: 31.1 db", "T: 11.903 C", "S: 33.221", "O: 5.747 ml/l", "L: 60.72 %"] inline_name = vnta4013anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/vnta4013... frameGrabs(): matched 06_08_11_04 in [IMG]06_08_11_04.jpg 2017-03-28 00:36 173K  iList = 06_08_11_04.jpg _findIndex(): Looking for epoch secs 1490283594 ... Found time 1490283592 after 8 iterations. >>> p = 2327: frameGrabs(): index = 2327 EXPD::frameGrabs(): 2327: Time=1490283585, Depth=30.87, Lat= 36.751966, Lon=-121.838611, Pres=31.1, Temp=11.903, Sal=33.221, O2=5.747, Light=60.72 bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 1 bin\geopdvc.pl: Calling placeImages with every 10 image... placeImages(): Placing image 0 06_08_11_04.jpg 1490283594 fw= 0.0 cm XplaceImages(): indx = 2327, geoPosition = 36.751966, -121.838611, -29.2104423237542, rovDepth = 29.2104423237542 bin\geopdvc.pl: Calling placeImages with every 2 image... placeImages(): Placing image 0 06_08_11_04.jpg 1490283594 fw= 0.0 cm XplaceImages(): indx = 2327, geoPosition = 36.751966, -121.838611, -29.2104423237542, rovDepth = 29.2104423237542 bin\geopdvc.pl: Calling placeImages with every 1 image... placeImages(): Placing image 0 06_08_11_04.jpg 1490283594 fw= 0.0 cm XplaceImages(): indx = 2327, geoPosition = 36.751966, -121.838611, -29.2104423237542, rovDepth = 29.2104423237542 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 '3/23/2017 3:01:00 PM' AND '3/23/2017 4:04:15 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2017/vnta/vnta4013.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5839,'/3Dreplay/3D.asp?dives=vnta4013','vnta4013','','','',4013 Executing sql: UPDATE Dive SET DiveLatMid = 36.7519, DiveLonMid = -121.8386, DiveDepthMid = -28.8 WHERE RovName = 'vnta' AND DiveNumber = 4013