Running bin\geopdvc.pl at Sat Jan 9 03:00:54 2010 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3450 bin\geopdvc.pl: Getting Expedition object for diveno = 3450 and rname = vnta set_expd(): rov = vnta, diveno = 3450 set_expd(): $self->{EndDDD} = 315 set_expd(): $self->{StartEsecs} = 1257969253 set_expd(): $self->{EndEsecs} = 1257978171 set_expd(): $self->{EndDtg} = 11/11/2009 10:02:51 PM _readLogr(): Reading videologr data from 2009315datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1257969253 & 1257978171 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1257978177, self->{EndEsecs} = 1257978171 _readLogr(): #LOGHOST_SYSTEM_UTC = 891 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1257969255 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1257978167 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1257969255 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1257978167 refineStartAndEndEsecs(): setting StartEsecs to 1257969253 refineStartAndEndEsecs(): setting EndEsecs to 1257970415 refineStartAndEndEsecs(): numMinBack = 2.63333333333333, numMinForward = 16.9333333333333 refineStartAndEndEsecs(): Refined StartEsecs = 1257970295, Refined EndEsecs = 1257977987 _readLogr(): Reading videologr data from 2009315datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1257970295 & 1257977987 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1257977997, self->{EndEsecs} = 1257977987 _readLogr(): #LOGHOST_SYSTEM_UTC = 768 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1257970305 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1257977987 bin\geopdvc.pl: expdid = 4208 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 = 315 (looping to 315) Does file exist?: \\tornado\TempNav\2009\vnta\nav2009315vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\tornado\TempNav\2009\vnta\nav2009315vnta.txt esecs, east, north, lat, lon, head, pres 1257970621, 0, 0, 36.747527, -122.105345, 12.1, 12.40 1257971122, 0, 0, 36.747083, -122.105833, 21.7, 215.49 1257971623, 0, 0, 36.746973, -122.106108, 37.8, 394.66 1257972124, 0, 0, 36.746833, -122.106085, 37.9, 563.40 1257972625, 0, 0, 36.747022, -122.105718, 22.2, 666.91 1257973126, 0, 0, 36.747032, -122.105657, 22.4, 786.74 1257973627, 0, 0, 36.747973, -122.104920, 17.1, 761.06 1257974128, 0, 0, 36.748005, -122.105005, 17.1, 798.04 1257974629, 0, 0, 36.748087, -122.104858, 11.4, 682.63 1257975130, 0, 0, 36.746958, -122.106650, 268.6, 534.54 1257975631, 0, 0, 36.746390, -122.108040, 254.2, 350.48 1257976132, 0, 0, 36.745308, -122.108630, 340.3, 188.22 1257976633, 0, 0, 36.743988, -122.108742, 339.4, 10.56 rovNav(): 315: 6467 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009315vnta.txt 6467 in tList 6467 in {self->{rovT}} 6467 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1257970665 & 1257973830 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 497.579389249701 rovGDCListRefs(): dStats->sample_range = 844.793345199245 rovGDCListRefs(): returning (1st elements): 1257970456 36.747818 -122.054692 339.8 2.36240127557027 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 315 (looping to 315) Does file exist?: \\tornado\TempNav\2009\vnta\nav2009315vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\tornado\TempNav\2009\vnta\nav2009315vntaedited.txt esecs, east, north, lat, lon, head, pres 1257970621, 0, 0, 36.747531, -122.105351, 12.1, 12.40 1257971122, 0, 0, 36.747079, -122.105845, 21.7, 215.49 1257971623, 0, 0, 36.746990, -122.106123, 37.8, 394.66 1257972124, 0, 0, 36.746837, -122.106046, 37.9, 563.40 1257972625, 0, 0, 36.747039, -122.105696, 22.2, 666.91 1257973126, 0, 0, 36.747076, -122.105551, 22.4, 786.74 1257973627, 0, 0, 36.747970, -122.104973, 17.1, 761.06 1257974128, 0, 0, 36.747965, -122.104970, 17.1, 798.04 1257974629, 0, 0, 36.748062, -122.104885, 11.4, 682.63 1257975130, 0, 0, 36.746993, -122.106572, 268.6, 534.54 1257975631, 0, 0, 36.746477, -122.107775, 254.2, 350.48 1257976132, 0, 0, 36.745325, -122.108589, 340.3, 188.22 1257976633, 0, 0, 36.744015, -122.108812, 339.4, 10.56 rovNav(): 315: 6467 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009315vntaedited.txt rovNav(): Initial # seconds to fill at beginning of dive = 161 starting at StartEsecs = 1257970295 rovNav(): Initial # seconds to fill at end of dive = 745 ending at EndEsecs =1257977987 rovNav(): LOGHOST_SYSTEM_UTC[0] = 1257970305 rovNav(): $LOGHOST_SYSTEM_UTC[end] = 1257977987 rovNav(): numMinBack = 2.46666666666667, numMinForward = 16.9333333333333 rovNav(): Refined StartEsecs = 1257970295, Refined EndEsecs = 1257977987 rovNav(): Refined # seconds to fill at beginning of dive = 161 starting at StartEsecs = 1257970295 rovNav(): Refined # seconds to fill at end of dive = 745 ending at EndEsecs =1257977987 rovNav(): num tList = 6467 rovNav(): num eList = 6467 rovNav(): Adding data to begining of dive from logr indices 0 .. 15 rovNav(): Adding data to end of dive from logr indices 694 .. 768 rovNav(): num in tList now = 6558 rovNav(): num in eList now = 6558 6558 in tList 6558 in {self->{rovT}} 6558 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1257970665 & 1257973830 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 488.801103479707 rovGDCListRefs(): dStats->sample_range = 851.788470133862 rovGDCListRefs(): returning (1st elements): 1257970305 36.747203 -122.105063 310.9 -5 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.74705200 hash{lon} = -122.10573200 latMin = 30.747052 latMax = 42.747052 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.747052 AND 42.747052 AND Longitude BETWEEN -128.105732 AND -116.105732 Dive lat = 36.74705200, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.10573200 & lat = 36.74705200 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3450rov_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 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/315/accesses.txt at bin\geopdvc.pl line 2382 0 World = geo2009/vnta/vnta3450lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = ptlo shipNav(): $#{$self->{shipLat}} = 768 shipNav(): $#{$self->{shipLat}}[last] = 36.744873 Position subsampling set to 6 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = 0.3770 0.3216 0.0000 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = 0 0 1 setROVcolorlines(): Assigning color line for Sal... varColors = SalColors index0 = 1.0000 1.0000 0.0284 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0.6958 0.3042 0.0000 makeTracks(): n = 6559 makeTracks(): Looping through 768 point of ship position data... makeTracks(): posSubsample = 6 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3450tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2009/vnta/vnta3450mergedCtdNav.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 = 'Point Lobos') AND (RecordedDate BETWEEN '11/11/2009 8:14:13 PM' AND '11/11/2009 10:02:51 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '11/11/2009 8:14:13 PM' AND '11/11/2009 10:02:51 PM') _findIndex(): Looking for epoch secs 1257972705 ... Found time 1257972708 after 6 iterations. >>> p = 2202: annotations(): 2202, 1257972705, 11/11/09 20:51:45, V3450-01HD, 02:29:35:10, object, , 680.460021972656, descend, reki, o, 20038802 _findIndex(): Looking for epoch secs 1257972969 ... Found time 1257972966 after 2 iterations. >>> p = 2459: annotations(): 2459, 1257972969, 11/11/09 20:56:09, V3450-01HD, 02:34:09:03, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3450/02_34_09_03.jpg, 745.119995117188, descend, ventana, o, 20038803 _findIndex(): Looking for epoch secs 1257973040 ... Found time 1257973042 after 7 iterations. >>> p = 2535: annotations(): 2535, 1257973040, 11/11/09 20:57:20, V3450-01HD, 02:35:18:08, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3450/02_35_18_08.jpg, 759.489990234375, descend, ventana, o, 20038804 _findIndex(): Looking for epoch secs 1257973231 ... Found time 1257973234 after 8 iterations. >>> p = 2727: annotations(): 2727, 1257973231, 11/11/09 21:00:31, V3450-01HD, 02:38:23:28, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3450/02_38_23_28.jpg, 780.219970703125, descend, ventana, o, 20038805 _findIndex(): Looking for epoch secs 1257974646 ... Found time 1257974646 after 8 iterations. >>> p = 4136: annotations(): 4136, 1257974646, 11/11/09 21:24:06, V3450-01HD, 03:00:20:20, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3450/03_00_20_20.jpg, 680.590026855469, descend, ventana, o, 20038806 _findIndex(): Looking for epoch secs 1257974656 ... Found time 1257974659 after 6 iterations. >>> p = 4149: annotations(): 4149, 1257974656, 11/11/09 21:24:16, V3450-01HD, 03:00:30:19, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3450/03_00_30_19.jpg, 680.580017089844, descend, ventana, o, 20038807 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta3450anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... placeAnnotations(): Placing annotation 2: physical object Ancillary data = ["physical object", "P: 752.4 db", "T: 4.927 C", "S: 34.292", "O: 0.157 ml/l", "L: 87.75 %"] placeAnnotations(): Placing annotation 4: physical object Ancillary data = ["physical object", "P: 789.5 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/315/accesses.txt at bin\geopdvc.pl line 625 db", "T: 4.582 C", "S: 34.331", "O: 0.151 ml/l", "L: 87.87 %"] placeAnnotations(): Placing annotation 6: Ancillary data = ["", "P: 688 db", "T: 5.236 C", "S: 34.259", "O: 0.184 ml/l", "L: 87.64 %"] inline_name = vnta3450anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: physical object Ancillary data = ["physical object", "P: 688.3 db", "T: 5.235 C", "S: 34.258", "O: 0.195 ml/l", "L: 87.67 %"] placeAnnotations(): Placing annotation 2: physical object Ancillary data = ["physical object", "P: 752.4 db", "T: 4.927 C", "S: 34.292", "O: 0.157 ml/l", "L: 87.75 %"] placeAnnotations(): Placing annotation 3: physical object Ancillary data = ["physical object", "P: 767.6 db", "T: 4.739 C", "S: 34.305", "O: 0.155 ml/l", "L: 87.72 %"] placeAnnotations(): Placing annotation 4: physical object Ancillary data = ["physical object", "P: 789.5 db", "T: 4.582 C", "S: 34.331", "O: 0.151 ml/l", "L: 87.87 %"] placeAnnotations(): Placing annotation 5: physical object Ancillary data = ["physical object", "P: 686.9 db", "T: 5.236 C", "S: 34.259", "O: 0.184 ml/l", "L: 87.66 %"] placeAnnotations(): Placing annotation 6: Ancillary data = ["", "P: 688 db", "T: 5.236 C", "S: 34.259", "O: 0.184 ml/l", "L: 87.64 %"] inline_name = vnta3450anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/vnta3450... frameGrabs(): matched 02_34_09_03 in [IMG] 02_34_09_03.jpg 13-Nov-2009 00:11 56k frameGrabs(): matched 02_35_18_08 in [IMG] 02_35_18_08.jpg 13-Nov-2009 00:11 53k frameGrabs(): matched 02_38_23_28 in [IMG] 02_38_23_28.jpg 13-Nov-2009 00:11 71k frameGrabs(): matched 03_00_20_20 in [IMG] 03_00_20_20.jpg 13-Nov-2009 00:11 63k frameGrabs(): matched 03_00_30_19 in [IMG] 03_00_30_19.jpg 13-Nov-2009 00:11 52k iList = 02_34_09_03.jpg 02_35_18_08.jpg 02_38_23_28.jpg 03_00_20_20.jpg 03_00_30_19.jpg _findIndex(): Looking for epoch secs 1257972969 ... Found time 1257972966 after 2 iterations. >>> p = 2459: frameGrabs(): index = 2459 EXPD::frameGrabs(): 2459: Time=1257972960, Depth=745.5, Lat= 36.747093, Lon=-122.105552, Pres=752.4, Temp=4.927, Sal=34.292, O2=0.157, Light=87.75 _findIndex(): Looking for epoch secs 1257973040 ... Found time 1257973042 after 7 iterations. >>> p = 2535: frameGrabs(): index = 2535 EXPD::frameGrabs(): 2535: Time=1257973035, Depth=760.53, Lat= 36.747116, Lon=-122.105573, Pres=767.6, Temp=4.739, Sal=34.305, O2=0.155, Light=87.72 _findIndex(): Looking for epoch secs 1257973231 ... Found time 1257973234 after 8 iterations. >>> p = 2727: frameGrabs(): index = 2727 EXPD::frameGrabs(): 2727: Time=1257973230, Depth=782.19, Lat= 36.747331, Lon=-122.105293, Pres=789.5, Temp=4.582, Sal=34.331, O2=0.151, Light=87.87 _findIndex(): Looking for epoch secs 1257974646 ... Found time 1257974646 after 8 iterations. >>> p = 4136: frameGrabs(): index = 4136 EXPD::frameGrabs(): 4136: Time=1257974640, Depth=680.71, Lat= 36.748047, Lon=-122.104888, Pres=686.9, Temp=5.236, Sal=34.259, O2=0.184, Light=87.66 _findIndex(): Looking for epoch secs 1257974656 ... Found time 1257974659 after 6 iterations. >>> p = 4149: frameGrabs(): index = 4149 EXPD::frameGrabs(): 4149: Time=1257974655, Depth=681.8, Lat= 36.748020, Lon=-122.104892, Pres=688, Temp=5.236, Sal=34.259, O2=0.184, Light=87.64 bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 5 bin\geopdvc.pl: Calling placeImages with every 10 image... placeImages(): Placing image 0 02_34_09_03.jpg 1257972969 fw= 0.0 cm XplaceImages(): indx = 2459, geoPosition = 36.747093, -122.105552, -744.263138279519, rovDepth = 744.263138279519 inline_name = vnta3450fg10.wrl bin\geopdvc.pl: Calling placeImages with every 2 image... placeImages(): Placing image 0 02_34_09_03.jpg 1257972969 fw= 0.0 cm XplaceImages(): indx = 2459, geoPosition = 36.747093, -122.105552, -744.263138279519, rovDepth = 744.263138279519 placeImages(): Placing image 2 02_38_23_28.jpg 1257973231 fw= 0.0 cm XplaceImages(): indx = 2727, geoPosition = 36.747331, -122.105293, -780.111753588135, rovDepth = 780.111753588135 placeImages(): Placing image 4 03_00_30_19.jpg 1257974656 fw= 0.0 cm XplaceImages(): indx = 4149, geoPosition = 36.748020, -122.104892, -680.768549594595, rovDepth = 680.768549594595 inline_name = vnta3450fg02.wrl bin\geopdvc.pl: Calling placeImages with every 1 image... placeImages(): Placing image 0 02_34_09_03.jpg 1257972969 fw= 0.0 cm XplaceImages(): indx = 2459, geoPosition = 36.747093, -122.105552, -744.263138279519, rovDepth = 744.263138279519 placeImages(): Placing image 1 02_35_18_08.jpg 1257973040 fw= 0.0 cm XplaceImages(): indx = 2535, geoPosition = 36.747116, -122.105573, -759.720839951099, rovDepth = 759.720839951099 placeImages(): Placing image 2 02_38_23_28.jpg 1257973231 fw= 0.0 cm XplaceImages(): indx = 2727, geoPosition = 36.747331, -122.105293, -780.111753588135, rovDepth = 780.111753588135 placeImages(): Placing image 3 03_00_20_20.jpg 1257974646 fw= 0.0 cm XplaceImages(): indx = 4136, geoPosition = 36.748047, -122.104888, -680.422286555746, rovDepth = 680.422286555746 placeImages(): Placing image 4 03_00_30_19.jpg 1257974656 fw= 0.0 cm XplaceImages(): indx = 4149, geoPosition = 36.748020, -122.104892, -680.768549594595, rovDepth = 680.768549594595 inline_name = vnta3450fg01.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 '11/11/2009 8:14:13 PM' AND '11/11/2009 10:02:51 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2009/vnta/vnta3450.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',4208,'/3Dreplay/3D.asp?dives=vnta3450','vnta3450','','','',3450 Executing sql: UPDATE Dive SET DiveLatMid = 36.7471, DiveLonMid = -122.1057, DiveDepthMid = -488.8 WHERE RovName = 'vnta' AND DiveNumber = 3450