Running bin\geopdvc.pl at Sat Nov 26 03:00:03 2016 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3958 bin\geopdvc.pl: Getting Expedition object for diveno = 3958 and rname = vnta set_expd(): rov = vnta, diveno = 3958 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 = 3958 AND RovName = 'vnta' RS->Fields(0)->Value= 5695 RS->Fields(1)->Value= 1475077015 RS->Fields(2)->Value= 1475083531 RS->Fields(3)->Value= 9/28/2016 3:36:55 PM RS->Fields(4)->Value= 9/28/2016 5:25:31 PM set_expd(): $self->{EndDDD} = 272 set_expd(): $self->{StartEsecs} = 1475075815 set_expd(): $self->{EndEsecs} = 1475084731 set_expd(): $self->{EndDtg} = 9/28/2016 5:25:31 PM _readLogr(): Reading videologr data from 2016272datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1475075815 & 1475084731 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1475084732, self->{EndEsecs} = 1475084731 _readLogr(): #LOGHOST_SYSTEM_UTC = 890 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1475075821 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1475084722 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1475075821 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1475084722 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1475075695, Refined EndEsecs = 1475084851 _readLogr(): Reading videologr data from 2016272datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1475075695 & 1475084851 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1475084852, self->{EndEsecs} = 1475084851 _readLogr(): #LOGHOST_SYSTEM_UTC = 914 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1475075701 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1475084842 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 1475077516, 0, 0, 36.755747, -121.941720, 352.4, 103.57 1475078017, 0, 0, 36.755742, -121.941707, 246.7, 102.68 1475078518, 0, 0, 36.755753, -121.941705, 226.0, 102.44 1475079019, 0, 0, 36.755742, -121.941705, 255.6, 104.16 1475079519, 0, 0, 36.755760, -121.941702, 265.5, 102.43 1475080020, 0, 0, 36.755773, -121.941718, 174.5, 102.33 1475080521, 0, 0, 36.755758, -121.941727, 178.2, 102.52 1475081022, 0, 0, 36.755773, -121.941720, 179.7, 102.87 1475081523, 0, 0, 36.755762, -121.941747, 139.3, 102.77 1475082024, 0, 0, 36.755770, -121.941735, 168.1, 102.52 1475082524, 0, 0, 36.755832, -121.941620, 86.9, 94.80 1475083025, 0, 0, 36.755992, -121.939260, 251.9, 82.71 1475083526, 0, 0, 36.755773, -121.939525, 255.8, 4.00 rovNav(): 272: 6504 in tList after reading from \\atlas\RovNavEdit\2016\vnta\nav2016272vnta.txt 6504 in tList 6504 in {self->{rovT}} 6504 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1475082090 & 1475083320 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 101.736993844808 rovGDCListRefs(): dStats->sample_range = 100.783284047177 rovGDCListRefs(): returning (1st elements): 1475077016 36.755898 -121.942208 344.9 2.7792907813158 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 1475077516, 0, 0, 36.755747, -121.941717, 352.4, 103.57 1475078017, 0, 0, 36.755740, -121.941710, 246.7, 102.68 1475078518, 0, 0, 36.755756, -121.941705, 226.0, 102.44 1475079019, 0, 0, 36.755750, -121.941699, 255.6, 104.16 1475079519, 0, 0, 36.755749, -121.941703, 265.5, 102.43 1475080020, 0, 0, 36.755763, -121.941722, 174.5, 102.33 1475080521, 0, 0, 36.755764, -121.941725, 178.2, 102.52 1475081022, 0, 0, 36.755773, -121.941725, 179.7, 102.87 1475081523, 0, 0, 36.755759, -121.941741, 139.3, 102.77 1475082024, 0, 0, 36.755768, -121.941726, 168.1, 102.52 1475082524, 0, 0, 36.755836, -121.941623, 86.9, 94.80 1475083025, 0, 0, 36.755983, -121.939332, 251.9, 82.71 1475083526, 0, 0, 36.755799, -121.939535, 255.8, 4.00 rovNav(): 272: 6504 in tList after reading from \\atlas\RovNavEdit\2016\vnta\nav2016272vntaedited.txt 6504 in tList 6504 in {self->{rovT}} 6504 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1475082090 & 1475083320 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 101.736993871807 rovGDCListRefs(): dStats->sample_range = 100.783283989783 rovGDCListRefs(): returning (1st elements): 1475077016 36.755850 -121.942028 344.9 2.77929079311678 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.75576200 hash{lon} = -121.94171300 latMin = 30.755762 latMax = 42.755762 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.755762 AND 42.755762 AND Longitude BETWEEN -127.941713 AND -115.941713 Dive lat = 36.75576200, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -121.94171300 & lat = 36.75576200 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3958rov_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/vnta3958lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 914 shipNav(): $#{$self->{shipLat}}[last] = 36.770320 Position subsampling set to 6 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = .8 .7 0 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = frameGrabs(): 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 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 = 6505 makeTracks(): Looping through 914 point of ship position data... makeTracks(): posSubsample = 6 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3958tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2016/vnta/vnta3958mergedCtdNav.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 3:36:55 PM' AND '9/28/2016 5:25:31 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '9/28/2016 3:36:55 PM' AND '9/28/2016 5:25:31 PM') _findIndex(): Looking for epoch secs 1475078768 ... Found time 1475078771 after 7 iterations. >>> p = 1752: annotations(): 1752, 1475078768, 09/28/16 16:06:08, V3958-01HD, 00:00:12:09, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3958/00_00_12_09.jpg, 101.599998474121, descend, ventana, u, 20063796 _findIndex(): Looking for epoch secs 1475078776 ... Found time 1475078771 after 7 iterations. >>> p = 1752: annotations(): 1752, 1475078776, 09/28/16 16:06:16, V3958-01HD, 00:00:19:23, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3958/00_00_19_23.jpg, 101.620002746582, descend, ventana, u, 20063797 _findIndex(): Looking for epoch secs 1475078788 ... Found time 1475078784 after 8 iterations. >>> p = 1765: annotations(): 1765, 1475078788, 09/28/16 16:06:28, V3958-01HD, 00:00:31:23, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3958/00_00_31_23.jpg, 101.680000305176, descend, ventana, u, 20063798 _findIndex(): Looking for epoch secs 1475078789 ... Found time 1475078784 after 8 iterations. >>> p = 1765: annotations(): 1765, 1475078789, 09/28/16 16:06:29, V3958-01HD, 00:00:33:08, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3958/00_00_33_08.jpg, 101.540000915527, descend, ventana, u, 20063799 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta3958anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... placeAnnotations(): Placing annotation 2: physical object Ancillary data = ["physical object", "P: 103.8 db", "T: 10.223 C", "S: 33.729", "O: 2.901 ml/l", "L: 81.73 %"] placeAnnotations(): Placing annotation 4: Ancillary data = ["", "P: 103.8 db", "T: 10.222 C", "S: 33.73", "O: 2.905 ml/l", "L: 82.07 %"] inline_name = vnta3958anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: physical object Ancillary data = ["physical object", "P: 103.8 db", "T: 10.223 C", "S: 33.729", "O: 2.901 ml/l", "L: 81.73 %"] placeAnnotations(): Placing annotation 2: physical object Ancillary data = ["physical object", "P: 103.8 db", "T: 10.223 C", "S: 33.729", "O: 2.901 ml/l", "L: 81.73 %"] placeAnnotations(): Placing annotation 3: physical object Ancillary data = ["physical object", "P: 103.8 db", "T: 10.222 C", "S: 33.73", "O: 2.905 ml/l", "L: 82.07 %"] placeAnnotations(): Placing annotation 4: Ancillary data = ["", "P: 103.8 db", "T: 10.222 C", "S: 33.73", "O: 2.905 ml/l", "L: 82.07 %"] inline_name = vnta3958anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2016/vnta3958... frameGrabs(): matched 00_00_12_09 in [IMG]00_00_12_09.jpg11-Oct-2016 00:04 58K frameGrabs(): matched 00_00_19_23 in [IMG]00_00_19_23.jpg11-Oct-2016 00:04 244K frameGrabs(): matched 00_00_31_23 in [IMG]00_00_31_23.jpg11-Oct-2016 00:04 236K frameGrabs(): matched 00_00_33_08 in [IMG]00_00_33_08.jpg11-Oct-2016 00:04 244K iList = 00_00_12_09.jpg 00_00_19_23.jpg 00_00_31_23.jpg 00_00_33_08.jpg _findIndex(): Looking for epoch secs 1475078768 ... Found time 1475078771 after 7 iterations. >>> p = 1752: frameGrabs(): index = 1752 EXPD::frameGrabs(): 1752: Time=1475078775, Depth=103.01, Lat=36.755763, Lon=-121.941702, Pres=103.8, Temp=10.223, Sal=33.729, O2=2.901, Light=81.73 _findIndex(): Looking for epoch secs 1475078776 ... Found time 1475078771 after 7 iterations. >>> p = 1752: frameGrabs(): index = 1752 EXPD::frameGrabs(): 1752: Time=1475078775, Depth=103.01, Lat=36.755763, Lon=-121.941702, Pres=103.8, Temp=10.223, Sal=33.729, O2=2.901, Light=81.73 _findIndex(): Looking for epoch secs 1475078788 ... Found time 1475078784 after 8 iterations. >>> p = 1765: frameGrabs(): index = 1765 EXPD::frameGrabs(): 1765: Time=1475078790, Depth=103.01, Lat= 36.755760, Lon=-121.941701, Pres=103.8, Temp=10.222, Sal=33.73, O2=2.905, Light=82.07 _findIndex(): Looking for epoch secs 1475078789 ... Found time 1475078784 after 8 iterations. >>> p = 1765: frameGrabs(): index = 1765 EXPD::frameGrabs(): 1765: Time=1475078790, Depth=103.01, Lat= 36.755760, Lon=-121.941701, Pres=103.8, Temp=10.222, Sal=33.73, O2=2.905, Light=82.07 bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 4 bin\geopdvc.pl: Calling placeImages with every 10 image... placeImages(): Placing image 0 00_00_12_09.jpg 1475078768 fw= 0.0 cm XplaceImages(): indx = 1752, geoPosition = 36.755763, -121.941702, -101.657624800087, rovDepth = 101.657624800087 inline_name = vnta3958fg10.wrl bin\geopdvc.pl: Calling placeImages with every 2 image... placeImages(): Placing image 0 00_00_12_09.jpg 1475078768 fw= 0.0 cm XplaceImages(): indx = 1752, geoPosition = 36.755763, -121.941702, -101.657624800087, rovDepth = 101.657624800087 placeImages(): Placing image 2 00_00_31_23.jpg 1475078788 fw= 0.0 cm XplaceImages(): indx = 1765, geoPosition = 36.755760, -121.941701, -101.657624827065, rovDepth = 101.657624827065 inline_name = vnta3958fg02.wrl bin\geopdvc.pl: Calling placeImages with every 1 image... placeImages(): Placing image 0 00_00_12_09.jpg 1475078768 fw= 0.0 cm XplaceImages(): indx = 1752, geoPosition = 36.755763, -121.941702, -101.657624800087, rovDepth = 101.657624800087 placeImages(): Placing image 1 00_00_19_23.jpg 1475078776 fw= 0.0 cm XplaceImages(): indx = 1752, geoPosition = 36.755763, -121.941702, -101.657624800087, rovDepth = 101.657624800087 placeImages(): Placing image 2 00_00_31_23.jpg 1475078788 fw= 0.0 cm XplaceImages(): indx = 1765, geoPosition = 36.755760, -121.941701, -101.657624827065, rovDepth = 101.657624827065 placeImages(): Placing image 3 00_00_33_08.jpg 1475078789 fw= 0.0 cm XplaceImages(): indx = 1765, geoPosition = 36.755760, -121.941701, -101.657624827065, rovDepth = 101.657624827065 inline_name = vnta3958fg01.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 '9/28/2016 3:36:55 PM' AND '9/28/2016 5:25:31 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2016/vnta/vnta3958.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5695,'/3Dreplay/3D.asp?dives=vnta3958','vnta3958','','','',3958 Executing sql: UPDATE Dive SET DiveLatMid = 36.7558, DiveLonMid = -121.9417, DiveDepthMid = -101.7 WHERE RovName = 'vnta' AND DiveNumber = 3958