Running bin\geopdvc.pl at Thu Jun 1 03:00:04 2017 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 4015 bin\geopdvc.pl: Getting Expedition object for diveno = 4015 and rname = vnta set_expd(): rov = vnta, diveno = 4015 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 = 4015 AND RovName = 'vnta' RS->Fields(0)->Value= 5894 RS->Fields(1)->Value= 1491238153 RS->Fields(2)->Value= 1491241142 RS->Fields(3)->Value= 4/3/2017 4:49:13 PM RS->Fields(4)->Value= 4/3/2017 5:39:02 PM set_expd(): $self->{EndDDD} = 093 set_expd(): $self->{StartEsecs} = 1491236953 set_expd(): $self->{EndEsecs} = 1491242342 set_expd(): $self->{EndDtg} = 4/3/2017 5:39:02 PM _readLogr(): Reading videologr data from 2017093datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1491236953 & 1491242342 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1491242348, self->{EndEsecs} = 1491242342 _readLogr(): #LOGHOST_SYSTEM_UTC = 538 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1491236957 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1491242338 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1491236957 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1491242338 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1491236833, Refined EndEsecs = 1491242462 _readLogr(): Reading videologr data from 2017093datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1491236833 & 1491242462 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1491242468, self->{EndEsecs} = 1491242462 _readLogr(): #LOGHOST_SYSTEM_UTC = 562 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1491236837 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1491242458 bin\geopdvc.pl: expdid = 5894 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 = 093 (looping to 093) Does file exist?: \\atlas\RovNavEdit\2017\vnta\nav2017093vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2017\vnta\nav2017093vnta.txt esecs, east, north, lat, lon, head, pres 1491238654, 0, 0, 36.698872, -122.051893, 30.5, 24.91 1491239155, 0, 0, 36.697698, -122.051778, 90.9, 24.98 1491239655, 0, 0, 36.696650, -122.050810, 90.2, 25.10 1491240156, 0, 0, 36.695745, -122.050103, 89.7, 25.15 1491240657, 0, 0, 36.692762, -122.050050, 90.8, 25.10 rovNav(): 093: 2983 in tList after reading from \\atlas\RovNavEdit\2017\vnta\nav2017093vnta.txt 2983 in tList 2983 in {self->{rovT}} 2983 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1491238605 & 1491239700 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 24.8734382593657 rovGDCListRefs(): dStats->sample_range = 23.1362596254416 rovGDCListRefs(): returning (1st elements): 1491238154 36.699220 -122.052277 32.6 2.58078420707529 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 093 (looping to 093) Does file exist?: \\atlas\RovNavEdit\2017\vnta\nav2017093vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2017\vnta\nav2017093vntaedited.txt esecs, east, north, lat, lon, head, pres 1491238654, 0, 0, 36.698864, -122.051893, 30.5, 24.91 1491239155, 0, 0, 36.697659, -122.051767, 90.9, 24.98 1491239655, 0, 0, 36.696646, -122.050810, 90.2, 25.10 1491240156, 0, 0, 36.695658, -122.050102, 89.7, 25.15 1491240657, 0, 0, 36.692757, -122.050022, 90.8, 25.10 rovNav(): 093: 2983 in tList after reading from \\atlas\RovNavEdit\2017\vnta\nav2017093vntaedited.txt 2983 in tList 2983 in {self->{rovT}} 2983 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1491238605 & 1491239700 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXX..........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 24.8734382241842 rovGDCListRefs(): dStats->sample_range = 23.1362597605552 rovGDCListRefs(): returning (1st elements): 1491238154 36.699583 -122.051813 32.6 2.58078412425341 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.69665900 hash{lon} = -122.05082200 latMin = 30.696659 latMax = 42.696659 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.696659 AND 42.696659 AND Longitude BETWEEN -128.050822 AND -116.050822 Dive lat = 36.69665900, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.05082200 & lat = 36.69665900 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta4015rov_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/vnta4015lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 562 shipNav(): $#{$self->{shipLat}}[last] = 36.701872 Position subsampling set to 3 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = .8 .7 0 setROVcolorlines(): Assigning color line for O2... varColors = O2CoframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/093/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/093/accesses.txt at bin\geopdvc.pl line 625 lors 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 = 2984 makeTracks(): Looping through 562 point of ship position data... makeTracks(): posSubsample = 3 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4015tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2017/vnta/vnta4015mergedCtdNav.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 '4/3/2017 4:49:13 PM' AND '4/3/2017 5:39:02 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '4/3/2017 4:49:13 PM' AND '4/3/2017 5:39:02 PM') _findIndex(): Looking for epoch secs 1491239028 ... Found time 1491239027 after 7 iterations. >>> p = 872: annotations(): 872, 1491239028, 04/03/17 17:03:48, V4015-01HD, 00:24:04:04, equipment, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/4015/00_24_04_04.jpg, 25.0300006866455, descend, svonthun, u, 20066489 _findIndex(): Looking for epoch secs 1491239298 ... Found time 1491239297 after 6 iterations. >>> p = 1141: annotations(): 1141, 1491239298, 04/03/17 17:08:18, V4015-01HD, 00:28:33:11, equipment, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/4015/00_28_33_11.jpg, 25, descend, svonthun, u, 20066490 _findIndex(): Looking for epoch secs 1491240699 ... Found time 1491240697 after 6 iterations. >>> p = 2539: annotations(): 2539, 1491240699, 04/03/17 17:31:39, V4015-01HD, 00:51:52:29, equipment, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/4015/00_51_52_29.jpg, 24.8299999237061, descend, svonthun, u, 20066491 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta4015anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... placeAnnotations(): Placing annotation 2: equipment Ancillary data = ["equipment", "P: 26.8 db", "T: 10.413 C", "S: 33.52", "O: 4.564 ml/l", "L: 78.68 %"] inline_name = vnta4015anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: equipment Ancillary data = ["equipment", "P: 26.7 db", "T: 10.433 C", "S: 33.516", "O: 4.587 ml/l", "L: 78.73 %"] placeAnnotations(): Placing annotation 2: equipment Ancillary data = ["equipment", "P: 26.8 db", "T: 10.413 C", "S: 33.52", "O: 4.564 ml/l", "L: 78.68 %"] placeAnnotations(): Placing annotation 3: Ancillary data = ["", "P: 26.9 db", "T: 10.274 C", "S: 33.554", "O: 4.132 ml/l", "L: 80 %"] inline_name = vnta4015anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/vnta4015... frameGrabs(): matched 00_24_04_04 in [IMG]00_24_04_04.jpg 2017-04-11 00:36 276K  frameGrabs(): matched 00_28_33_11 in [IMG]00_28_33_11.jpg 2017-04-11 00:36 275K  frameGrabs(): matched 00_51_52_29 in [IMG]00_51_52_29.jpg 2017-04-11 00:36 264K  iList = 00_24_04_04.jpg 00_28_33_11.jpg 00_51_52_29.jpg _findIndex(): Looking for epoch secs 1491239028 ... Found time 1491239027 after 7 iterations. >>> p = 872: frameGrabs(): index = 872 EXPD::frameGrabs(): 872: Time=1491239025, Depth=26.5, Lat= 36.697953, Lon=-122.051905, Pres=26.7, Temp=10.433, Sal=33.516, O2=4.587, Light=78.73 _findIndex(): Looking for epoch secs 1491239298 ... Found time 1491239297 after 6 iterations. >>> p = 1141: frameGrabs(): index = 1141 EXPD::frameGrabs(): 1141: Time=1491239295, Depth=26.6, Lat= 36.697360, Lon=-122.051495, Pres=26.8, Temp=10.413, Sal=33.52, O2=4.564, Light=78.68 _findIndex(): Looking for epoch secs 1491240699 ... Found time 1491240697 after 6 iterations. >>> p = 2539: frameGrabs(): index = 2539 EXPD::frameGrabs(): 2539: Time=1491240690, Depth=26.7, Lat= 36.692659, Lon=-122.049933, Pres=26.9, Temp=10.274, Sal=33.554, O2=4.132, Light=80 bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 3 bin\geopdvc.pl: Calling placeImages with every 10 image... placeImages(): Placing image 0 00_24_04_04.jpg 1491239028 fw= 0.0 cm XplaceImages(): indx = 872, geoPosition = 36.697953, -122.051905, -25.0322271293875, rovDepth = 25.0322271293875 inline_name = vnta4015fg10.wrl bin\geopdvc.pl: Calling placeImages with every 2 image... placeImages(): Placing image 0 00_24_04_04.jpg 1491239028 fw= 0.0 cm XplaceImages(): indx = 872, geoPosition = 36.697953, -122.051905, -25.0322271293875, rovDepth = 25.0322271293875 placeImages(): Placing image 2 00_51_52_29.jpg 1491240699 fw= 0.0 cm .placeImages(): indx = 2539, geoPosition = 36.692659, -122.049933, -24.774190249604, rovDepth = 24.774190249604 inline_name = vnta4015fg02.wrl bin\geopdvc.pl: Calling placeImages with every 1 image... placeImages(): Placing image 0 00_24_04_04.jpg 1491239028 fw= 0.0 cm XplaceImages(): indx = 872, geoPosition = 36.697953, -122.051905, -25.0322271293875, rovDepth = 25.0322271293875 placeImages(): Placing image 1 00_28_33_11.jpg 1491239298 fw= 0.0 cm XplaceImages(): indx = 1141, geoPosition = 36.697360, -122.051495, -24.8436545789892, rovDepth = 24.8436545789892 placeImages(): Placing image 2 00_51_52_29.jpg 1491240699 fw= 0.0 cm XplaceImages(): indx = 2539, geoPosition = 36.692659, -122.049933, -24.774190249604, rovDepth = 24.774190249604 inline_name = vnta4015fg01.wrl 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 '4/3/2017 4:49:13 PM' AND '4/3/2017 5:39:02 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2017/vnta/vnta4015.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5894,'/3Dreplay/3D.asp?dives=vnta4015','vnta4015','','','',4015 Executing sql: UPDATE Dive SET DiveLatMid = 36.6967, DiveLonMid = -122.0508, DiveDepthMid = -24.9 WHERE RovName = 'vnta' AND DiveNumber = 4015