Running bin\geopdvc.pl at Thu Jul 16 03:00:59 2009 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3366 bin\geopdvc.pl: Getting Expedition object for diveno = 3366 and rname = vnta set_expd(): rov = vnta, diveno = 3366 set_expd(): $self->{EndDDD} = 138 set_expd(): $self->{StartEsecs} = 1242671490 set_expd(): $self->{EndEsecs} = 1242684435 set_expd(): $self->{EndDtg} = 5/18/2009 9:47:15 PM _readLogr(): Reading videologr data from 2009138datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1242671490 & 1242684435 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1242684437, self->{EndEsecs} = 1242684435 _readLogr(): #LOGHOST_SYSTEM_UTC = 1293 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1242671494 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1242684427 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1242671494 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1242684427 refineStartAndEndEsecs(): setting StartEsecs to 1242671490 refineStartAndEndEsecs(): setting EndEsecs to 1242671504 refineStartAndEndEsecs(): numMinBack = 21.7666666666667, numMinForward = 9.03333333333333 refineStartAndEndEsecs(): Refined StartEsecs = 1242671384, Refined EndEsecs = 1242683777 _readLogr(): Reading videologr data from 2009138datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1242671384 & 1242683777 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1242683787, self->{EndEsecs} = 1242683777 _readLogr(): #LOGHOST_SYSTEM_UTC = 1238 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1242671394 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1242683777 bin\geopdvc.pl: expdid = 4073 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 = 138 (looping to 138) Does file exist?: \\tornado\TempNav\2009\vnta\nav2009138vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\tornado\TempNav\2009\vnta\nav2009138vnta.txt esecs, east, north, lat, lon, head, pres 1242672774, 0, 0, 36.744095, -122.102803, 15.1, 38.33 1242673275, 0, 0, 36.743998, -122.103308, 14.8, 269.49 1242673776, 0, 0, 36.744252, -122.103777, 14.9, 332.41 1242674277, 0, 0, 36.744757, -122.103982, 15.2, 436.21 1242674778, 0, 0, 36.745862, -122.104122, 8.1, 502.17 1242675279, 0, 0, 36.746727, -122.104030, 352.7, 604.28 1242675780, 0, 0, 36.747410, -122.103665, 352.8, 687.99 1242676282, 0, 0, 36.746590, -122.104115, 226.2, 714.84 1242676782, 0, 0, 36.745933, -122.104892, 260.1, 689.66 1242677283, 0, 0, 36.745633, -122.105422, 277.1, 674.56 1242677784, 0, 0, 36.744993, -122.105947, 235.6, 641.35 1242678285, 0, 0, 36.744125, -122.107063, 240.8, 594.27 1242678786, 0, 0, 36.743967, -122.107277, 223.6, 572.35 1242679287, 0, 0, 36.743530, -122.108178, 241.3, 560.27 1242679788, 0, 0, 36.742852, -122.110055, 235.4, 580.06 1242680289, 0, 0, 36.742467, -122.111838, 230.0, 679.47 1242680790, 0, 0, 36.742305, -122.113393, 243.6, 694.64 1242681291, 0, 0, 36.741427, -122.115155, 261.2, 587.00 1242681792, 0, 0, 36.741520, -122.116908, 263.4, 537.78 1242682293, 0, 0, 36.742005, -122.115810, 247.4, 385.10 1242682794, 0, 0, 36.742703, -122.115073, 268.8, 176.02 rovNav(): 138: 10618 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009138vnta.txt 10618 in tList 10618 in {self->{rovT}} 10618 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1242676785 & 1242674085 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXX rovGDCListRefs(): dMedian = 571.59835772608 rovGDCListRefs(): dStats->sample_range = 712.457003043204 rovGDCListRefs(): returning (1st elements): 1242671389 36.745882 -122.106363 321.2 2.04476943866343 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 138 (looping to 138) Does file exist?: \\tornado\TempNav\2009\vnta\nav2009138vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\tornado\TempNav\2009\vnta\nav2009138vntaedited.txt esecs, east, north, lat, lon, head, pres 1242672774, 0, 0, 36.744141, -122.102809, 15.1, 38.33 1242673275, 0, 0, 36.744146, -122.103272, 14.8, 269.49 1242673776, 0, 0, 36.744272, -122.103722, 14.9, 332.41 1242674277, 0, 0, 36.744743, -122.103957, 15.2, 436.21 1242674778, 0, 0, 36.745834, -122.104101, 8.1, 502.17 1242675279, 0, 0, 36.746288, -122.105059, 352.7, 604.28 1242675780, 0, 0, 36.747286, -122.103651, 352.8, 687.99 1242676282, 0, 0, 36.746565, -122.104182, 226.2, 714.84 1242676782, 0, 0, 36.745905, -122.104888, 260.1, 689.66 1242677283, 0, 0, 36.745696, -122.105424, 277.1, 674.56 1242677784, 0, 0, 36.745004, -122.105916, 235.6, 641.35 1242678285, 0, 0, 36.744156, -122.107005, 240.8, 594.27 1242678786, 0, 0, 36.743929, -122.107346, 223.6, 572.35 1242679287, 0, 0, 36.743541, -122.108206, 241.3, 560.27 1242679788, 0, 0, 36.742886, -122.110086, 235.4, 580.06 1242680289, 0, 0, 36.742469, -122.111720, 230.0, 679.47 1242680790, 0, 0, 36.742244, -122.113389, 243.6, 694.64 1242681291, 0, 0, 36.741423, -122.115244, 261.2, 587.00 1242681792, 0, 0, 36.741512, -122.116823, 263.4, 537.78 1242682293, 0, 0, 36.742003, -122.115769, 247.4, 385.10 1242682794, 0, 0, 36.742702, -122.115072, 268.8, 176.02 rovNav(): 138: 10618 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009138vntaedited.txt rovNav(): Initial # seconds to fill at beginning of dive = 5 starting at StartEsecs = 1242671384 rovNav(): Initial # seconds to fill at end of dive = 441 ending at EndEsecs =1242683777 rovNav(): LOGHOST_SYSTEM_UTC[0] = 1242671394 rovNav(): $LOGHOST_SYSTEM_UTC[end] = 1242683777 rovNav(): numMinBack = 21.6, numMinForward = 9.03333333333333 rovNav(): Refined StartEsecs = 1242671384, Refined EndEsecs = 1242683777 rovNav(): Refined # seconds to fill at beginning of dive = 5 starting at StartEsecs = 1242671384 rovNav(): Refined # seconds to fill at end of dive = 441 ending at EndEsecs =1242683777 rovNav(): num tList = 10618 rovNav(): num eList = 10618 rovNav(): Adding data to begining of dive from logr indices 0 .. 0 rovNav(): Adding data to end of dive from logr indices 1194 .. 1238 rovNav(): num in tList now = 10664 rovNav(): num in eList now = 10664 10664 in tList 10664 in {self->{rovT}} 10664 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1242676785 & 1242674085 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXX rovGDCListRefs(): dMedian = 571.370695328904 rovGDCListRefs(): dStats->sample_range = 719.452138734355 rovGDCListRefs(): returning (1st elements): 1242671394 36.745562 -122.106697 359.4 -5 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.74413600 haframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/138/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/138/accesses.txt at bin\geopdvc.pl line 625 sh{lon} = -122.10629300 latMin = 30.744136 latMax = 42.744136 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.744136 AND 42.744136 AND Longitude BETWEEN -128.106293 AND -116.106293 Dive lat = 36.74413600, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.10629300 & lat = 36.74413600 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3366rov_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 = geo2009/vnta/vnta3366lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = ptlo shipNav(): $#{$self->{shipLat}} = 1238 shipNav(): $#{$self->{shipLat}}[last] = 36.745642 Position subsampling set to 9 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 = 10665 makeTracks(): Looping through 1238 point of ship position data... makeTracks(): posSubsample = 9 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3366tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2009/vnta/vnta3366mergedCtdNav.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 '5/18/2009 6:51:30 PM' AND '5/18/2009 9:47:15 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '5/18/2009 6:51:30 PM' AND '5/18/2009 9:47:15 PM') _findIndex(): Looking for epoch secs 1242673215 ... Found time 1242673218 after 9 iterations. >>> p = 592: annotations(): 592, 1242673215, 05/18/09 19:00:15, V3366-01HD, 02:43:16:02, diving, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3366/02_43_16_02.jpg, 240.710006713867, ascend, robs, o, 20034255 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta3366anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... inline_name = vnta3366anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: Ancillary data = ["", "P: 243.4 db", "T: 7.713 C", "S: 34.08", "O: 1.5 ml/l", "L: 89.32 %"] inline_name = vnta3366anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/vnta3366... frameGrabs(): matched 02_43_16_02 in [IMG] 02_43_16_02.jpg 26-May-2009 08:49 61k iList = 02_43_16_02.jpg _findIndex(): Looking for epoch secs 1242673215 ... Found time 1242673218 after 9 iterations. >>> p = 592: frameGrabs(): index = 592 EXPD::frameGrabs(): 592: Time=1242673215, Depth=241.46, Lat= 36.744143, Lon=-122.103146, Pres=243.4, Temp=7.713, Sal=34.08, O2=1.5, Light=89.32 bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 1 bin\geopdvc.pl: Calling placeImages with every 10 image... placeImages(): Placing image 0 02_43_16_02.jpg 1242673215 fw= 0.0 cm XplaceImages(): indx = 592, geoPosition = 36.744143, -122.103146, -241.498103803386, rovDepth = 241.498103803386 bin\geopdvc.pl: Calling placeImages with every 2 image... placeImages(): Placing image 0 02_43_16_02.jpg 1242673215 fw= 0.0 cm XplaceImages(): indx = 592, geoPosition = 36.744143, -122.103146, -241.498103803386, rovDepth = 241.498103803386 bin\geopdvc.pl: Calling placeImages with every 1 image... placeImages(): Placing image 0 02_43_16_02.jpg 1242673215 fw= 0.0 cm XplaceImages(): indx = 592, geoPosition = 36.744143, -122.103146, -241.498103803386, rovDepth = 241.498103803386 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 '5/18/2009 6:51:30 PM' AND '5/18/2009 9:47:15 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2009/vnta/vnta3366.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',4073,'/3Dreplay/3D.asp?dives=vnta3366','vnta3366','','','',3366 Executing sql: UPDATE Dive SET DiveLatMid = 36.7441, DiveLonMid = -122.1063, DiveDepthMid = -571.4 WHERE RovName = 'vnta' AND DiveNumber = 3366