Running bin\geopdvc.pl at Sat Jan 9 03:00:12 2010 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3449 bin\geopdvc.pl: Getting Expedition object for diveno = 3449 and rname = vnta set_expd(): rov = vnta, diveno = 3449 set_expd(): $self->{EndDDD} = 315 set_expd(): $self->{StartEsecs} = 1257957978 set_expd(): $self->{EndEsecs} = 1257969193 set_expd(): $self->{EndDtg} = 11/11/2009 7:33:13 PM _readLogr(): Reading videologr data from 2009315datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1257957978 & 1257969193 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1257969195, self->{EndEsecs} = 1257969193 _readLogr(): #LOGHOST_SYSTEM_UTC = 1120 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1257957982 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1257969185 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1257957982 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1257969185 refineStartAndEndEsecs(): setting StartEsecs to 1257957978 refineStartAndEndEsecs(): setting EndEsecs to 1257958963 refineStartAndEndEsecs(): numMinBack = 5.58333333333333, numMinForward = 7.03333333333333 refineStartAndEndEsecs(): Refined StartEsecs = 1257958843, Refined EndEsecs = 1257968415 _readLogr(): Reading videologr data from 2009315datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1257958843 & 1257968415 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1257968425, self->{EndEsecs} = 1257968415 _readLogr(): #LOGHOST_SYSTEM_UTC = 956 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1257958853 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1257968415 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 1257960091, 0, 0, 36.747882, -122.053368, 141.4, 53.82 1257960592, 0, 0, 36.747432, -122.053100, 133.7, 252.05 1257961093, 0, 0, 36.747417, -122.053028, 122.4, 477.70 1257961594, 0, 0, 36.747010, -122.053260, 82.3, 665.71 1257962095, 0, 0, 36.747195, -122.052715, 95.4, 665.55 1257962596, 0, 0, 36.747173, -122.052648, 129.1, 665.98 1257963097, 0, 0, 36.747175, -122.052762, 102.0, 665.77 1257963597, 0, 0, 36.747175, -122.052762, 184.7, 664.57 1257964098, 0, 0, 36.747188, -122.052702, 219.1, 664.43 1257964599, 0, 0, 36.747225, -122.052657, 214.6, 665.61 1257965100, 0, 0, 36.747272, -122.052683, 213.7, 665.13 1257965601, 0, 0, 36.747178, -122.052630, 220.0, 665.19 1257966102, 0, 0, 36.747215, -122.052603, 175.3, 665.21 1257966603, 0, 0, 36.747203, -122.053755, 269.9, 546.15 1257967104, 0, 0, 36.747237, -122.054117, 269.2, 285.88 1257967605, 0, 0, 36.747455, -122.054802, 268.8, 98.85 rovNav(): 315: 8395 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009315vnta.txt 8395 in tList 8395 in {self->{rovT}} 8395 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1257959835 & 1257962130 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .XX..........................................................................................................................................................XXXXXXXXXXXXXXXXXX.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 658.547330326761 rovGDCListRefs(): dStats->sample_range = 667.465269012151 rovGDCListRefs(): returning (1st elements): 1257959130 36.802120 -121.787092 11.5 2.84876091316614 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 1257960091, 0, 0, 36.747865, -122.053358, 141.4, 53.82 1257960592, 0, 0, 36.747401, -122.053136, 133.7, 252.05 1257961093, 0, 0, 36.747506, -122.053095, 122.4, 477.70 1257961594, 0, 0, 36.747062, -122.053297, 82.3, 665.71 1257962095, 0, 0, 36.747215, -122.052677, 95.4, 665.55 1257962596, 0, 0, 36.747213, -122.052703, 129.1, 665.98 1257963097, 0, 0, 36.747169, -122.052743, 102.0, 665.77 1257963597, 0, 0, 36.747161, -122.052718, 184.7, 664.57 1257964098, 0, 0, 36.747213, -122.052706, 219.1, 664.43 1257964599, 0, 0, 36.747208, -122.052673, 214.6, 665.61 1257965100, 0, 0, 36.747219, -122.052681, 213.7, 665.13 1257965601, 0, 0, 36.747213, -122.052655, 220.0, 665.19 1257966102, 0, 0, 36.747209, -122.052650, 175.3, 665.21 1257966603, 0, 0, 36.747172, -122.053753, 269.9, 546.15 1257967104, 0, 0, 36.747255, -122.054102, 269.2, 285.88 1257967605, 0, 0, 36.747492, -122.054813, 268.8, 98.85 rovNav(): 315: 8395 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009315vntaedited.txt rovNav(): Initial # seconds to fill at beginning of dive = 287 starting at StartEsecs = 1257958843 rovNav(): Initial # seconds to fill at end of dive = 148 ending at EndEsecs =1257968415 rovNav(): LOGHOST_SYSTEM_UTC[0] = 1257958853 rovNav(): $LOGHOST_SYSTEM_UTC[end] = 1257968415 rovNav(): numMinBack = 5.41666666666667, numMinForward = 7.03333333333333 rovNav(): Refined StartEsecs = 1257958843, Refined EndEsecs = 1257968415 rovNav(): Refined # seconds to fill at beginning of dive = 287 starting at StartEsecs = 1257958843 rovNav(): Refined # seconds to fill at end of dive = 148 ending at EndEsecs =1257968415 rovNav(): num tList = 8395 rovNav(): num eList = 8395 rovNav(): Adding data to begining of dive from logr indices 0 .. 27 rovNav(): Adding data to end of dive from logr indices 942 .. 956 rovNav(): num in tList now = 8438 rovNav(): num in eList now = 8438 8438 in tList 8438 in {self->{rovT}} 8438 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1257959835 & 1257962130 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX......................................................................................................XXXXXXXXXXXXXXXXXX.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 658.487967259548 rovGDCListRefs(): dStats->sample_range = 672.105680616979 rovGDCListRefs(): returning (1st elements): 1257958853 36.746442 -122.052808 248.7 -5 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.74721500 hash{lon} = -122.05274900 latMin = 30.747215 latMax = 42.747215 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.747215 AND 42.747215 AND Longitude BETWEEN -128.052749 AND -116.052749 Dive lat = 36.74721500, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.05274900 & lat = 36.74721500 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3449rov_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, cframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/315/accesses.txt at bin\geopdvc.pl line 2382 olor = .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 = geo2009/vnta/vnta3449lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = ptlo shipNav(): $#{$self->{shipLat}} = 956 shipNav(): $#{$self->{shipLat}}[last] = 36.747363 Position subsampling set to 7 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = .8 .7 0 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = 1 1 1 setROVcolorlines(): Assigning color line for Sal... varColors = SalColors index0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0 0 1 makeTracks(): n = 8439 makeTracks(): Looping through 956 point of ship position data... makeTracks(): posSubsample = 7 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3449tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2009/vnta/vnta3449mergedCtdNav.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 5:06:18 PM' AND '11/11/2009 7:33:13 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '11/11/2009 5:06:18 PM' AND '11/11/2009 7:33:13 PM') _findIndex(): Looking for epoch secs 1257961671 ... Found time 1257961676 after 1 iterations. >>> p = 2109: annotations(): 2109, 1257961671, 11/11/09 17:47:51, V3449-01HD, 00:00:36:04, object, , 665.539978027344, descend, whpa, o, 20038793 _findIndex(): Looking for epoch secs 1257961968 ... Found time 1257961972 after 7 iterations. >>> p = 2405: annotations(): 2405, 1257961968, 11/11/09 17:52:48, V3449-01HD, 00:05:33:15, object, , 663.219970703125, descend, reki, o, 20038794 _findIndex(): Looking for epoch secs 1257962050 ... Found time 1257962055 after 8 iterations. >>> p = 2487: annotations(): 2487, 1257962050, 11/11/09 17:54:10, V3449-01HD, 00:00:00:00, object, , 659.72998046875, descend, reki, o, 20038795 _findIndex(): Looking for epoch secs 1257962050 ... Found time 1257962055 after 8 iterations. >>> p = 2487: annotations(): 2487, 1257962050, 11/11/09 17:54:10, V3449-01HD, 00:00:00:00, object, , 659.72998046875, descend, reki, o, 20038796 _findIndex(): Looking for epoch secs 1257962274 ... Found time 1257962270 after 6 iterations. >>> p = 2702: annotations(): 2702, 1257962274, 11/11/09 17:57:54, V3449-01HD, 00:10:38:16, Allocentrotus, , 659.650024414063, descend, reki, o, 20038797 _findIndex(): Looking for epoch secs 1257962809 ... Found time 1257962814 after 8 iterations. >>> p = 3245: annotations(): 3245, 1257962809, 11/11/09 18:06:49, V3449-01HD, 00:19:33:29, Allocentrotus, , 659.52001953125, descend, reki, o, 20038798 _findIndex(): Looking for epoch secs 1257963143 ... Found time 1257963145 after 8 iterations. >>> p = 3575: annotations(): 3575, 1257963143, 11/11/09 18:12:23, V3449-01HD, 00:25:07:00, Allocentrotus, , 659.890014648438, descend, reki, o, 20038799 _findIndex(): Looking for epoch secs 1257963224 ... Found time 1257963228 after 7 iterations. >>> p = 3658: annotations(): 3658, 1257963224, 11/11/09 18:13:44, V3449-01HD, 00:26:28:04, Allocentrotus, , 659.919982910156, descend, reki, o, 20038800 _findIndex(): Looking for epoch secs 1257963388 ... Found time 1257963393 after 5 iterations. >>> p = 3823: annotations(): 3823, 1257963388, 11/11/09 18:16:28, V3449-01HD, 00:29:12:04, Allocentrotus, , 659.869995117188, descend, reki, o, 20038801frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/315/accesses.txt at bin\geopdvc.pl line 625 frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/vnta3449: Bad file descriptor at bin\geopdvc.pl line 625 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta3449anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... placeAnnotations(): Placing annotation 2: object Ancillary data = ["object", "P: 667.2 db", "T: 5.16 C", "S: 34.286", "O: 0.276 ml/l", "L: 84.96 %"] placeAnnotations(): Placing annotation 4: Allocentrotus Ancillary data = ["Allocentrotus", "P: 667.4 db", "T: 5.149 C", "S: 34.286", "O: 0.275 ml/l", "L: 85.07 %"] placeAnnotations(): Placing annotation 6: Allocentrotus Ancillary data = ["Allocentrotus", "P: 666.9 db", "T: 5.152 C", "S: 34.286", "O: 0.275 ml/l", "L: 85.11 %"] placeAnnotations(): Placing annotation 8: Allocentrotus Ancillary data = ["Allocentrotus", "P: 667.1 db", "T: 5.165 C", "S: 34.285", "O: 0.277 ml/l", "L: 85.06 %"] inline_name = vnta3449anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: object Ancillary data = ["object", "P: 673.4 db", "T: 5.163 C", "S: 34.285", "O: 0.274 ml/l", "L: 85.11 %"] placeAnnotations(): Placing annotation 2: object Ancillary data = ["object", "P: 667.2 db", "T: 5.16 C", "S: 34.286", "O: 0.276 ml/l", "L: 84.96 %"] placeAnnotations(): Placing annotation 3: object Ancillary data = ["object", "P: 667.4 db", "T: 5.149 C", "S: 34.286", "O: 0.275 ml/l", "L: 85.07 %"] placeAnnotations(): Placing annotation 4: Allocentrotus Ancillary data = ["Allocentrotus", "P: 667.4 db", "T: 5.149 C", "S: 34.286", "O: 0.275 ml/l", "L: 85.07 %"] placeAnnotations(): Placing annotation 5: Allocentrotus Ancillary data = ["Allocentrotus", "P: 667.2 db", "T: 5.143 C", "S: 34.287", "O: 0.274 ml/l", "L: 85.02 %"] placeAnnotations(): Placing annotation 6: Allocentrotus Ancillary data = ["Allocentrotus", "P: 666.9 db", "T: 5.152 C", "S: 34.286", "O: 0.275 ml/l", "L: 85.11 %"] placeAnnotations(): Placing annotation 7: Allocentrotus Ancillary data = ["Allocentrotus", "P: 667.1 db", "T: 5.157 C", "S: 34.286", "O: 0.276 ml/l", "L: 85.11 %"] placeAnnotations(): Placing annotation 8: Allocentrotus Ancillary data = ["Allocentrotus", "P: 667.1 db", "T: 5.165 C", "S: 34.285", "O: 0.277 ml/l", "L: 85.06 %"] placeAnnotations(): Placing annotation 9: Ancillary data = ["", "P: 667 db", "T: 5.17 C", "S: 34.285", "O: 0.277 ml/l", "L: 85.17 %"] inline_name = vnta3449anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/vnta3449... iList = bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 0 bin\geopdvc.pl: Calling placeImages with every 10 image... bin\geopdvc.pl: Calling placeImages with every 2 image... bin\geopdvc.pl: Calling placeImages with every 1 image... bin\geopdvc.pl: Samples: samples(): Executing sql: SELECT DateDiff(ss, '01/01/70', CollectionEventDtg) AS Esecs, CollectionVIMSConcept, FrameGrabImageURL, SampleID, CollectionRefName FROM vwCollSamplePerson WHERE (CollectionEventDTG BETWEEN '11/11/2009 5:06:18 PM' AND '11/11/2009 7:33:13 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2009/vnta/vnta3449.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',4208,'/3Dreplay/3D.asp?dives=vnta3449','vnta3449','','','',3449 Executing sql: UPDATE Dive SET DiveLatMid = 36.7472, DiveLonMid = -122.0527, DiveDepthMid = -658.5 WHERE RovName = 'vnta' AND DiveNumber = 3449