_readLogr(): Cannot open \\atlas\Shipdata\logger\2021\rcsn\2021351datavislogr.dat.gz _readLogr(): Cannot open \\atlas\Shipdata\logger\2021\rcsn\2021351datavislogr.dat.gz Running bin\geopdvc_perseus.pl at Mon Feb 14 03:00:02 2022 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4385 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4385 and rname = vnta set_expd(): rov = vnta, diveno = 4385 set_expd(): Executing sql: SELECT ExpeditionID_FK, DateDiff(ss, '01/01/70', DiveStartDtg), DateDiff(ss, '01/01/70', DiveEndDtg), DiveStartDtg, DiveEndDtg FROM Dive WHERE DiveNumber = 4385 AND RovName = 'vnta' RS->Fields(0)->Value= 7449 RS->Fields(1)->Value= 1639755423 RS->Fields(2)->Value= 1639774683 RS->Fields(3)->Value= 12/17/2021 3:37:03 PM RS->Fields(4)->Value= 12/17/2021 8:58:03 PM set_expd(): $self->{EndDDD} = 351 set_expd(): $self->{StartEsecs} = 1639754223 set_expd(): $self->{EndEsecs} = 1639775883 set_expd(): $self->{EndDtg} = 12/17/2021 8:58:03 PM _readLogr(): Reading videologr data from 2021351datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1639754223 & 1639775883 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1639754103, Refined EndEsecs = 1639776003 _readLogr(): Reading videologr data from 2021351datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1639754103 & 1639776003 bin\geopdvc_perseus.pl: expdid = 7449 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): calcUTM = 0 rovnavCTDO(): getRaw = 1 rovNav(): 1, getRaw = 1 rovNav(): 2, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 351 (looping to 351) Does file exist?: \\atlas\RovNavEdit\2021\vnta\nav2021351vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2021\vnta\nav2021351vnta.txt esecs, east, north, lat, lon, head, pres 1639755919, 0, 0, 36.763680, -122.004845, 118.4, 199.80 1639756419, 0, 0, 36.763828, -122.004250, 119.4, 407.60 1639756919, 0, 0, 36.763960, -122.003885, 118.5, 611.52 1639757419, 0, 0, 36.763872, -122.003897, -94.7, 667.43 1639757919, 0, 0, 36.764035, -122.005173, 92.4, 661.12 1639758419, 0, 0, 36.764230, -122.004828, 114.6, 660.26 1639758919, 0, 0, 36.764225, -122.004775, 27.8, 660.21 1639759419, 0, 0, 36.764370, -122.004728, 45.3, 660.06 1639759919, 0, 0, 36.764125, -122.004292, 21.8, 663.03 1639760419, 0, 0, 36.764387, -122.004715, -57.8, 657.40 1639760919, 0, 0, 36.764293, -122.004538, 119.0, 659.88 1639761419, 0, 0, 36.764487, -122.004758, 114.6, 657.26 1639761919, 0, 0, 36.764483, -122.004750, 128.8, 655.92 1639762419, 0, 0, 36.764428, -122.004770, 127.5, 657.06 1639762919, 0, 0, 36.764482, -122.004715, 128.4, 656.93 1639763419, 0, 0, 36.764470, -122.005060, 116.5, 656.18 1639763919, 0, 0, 36.763662, -122.004172, 118.2, 669.34 1639764419, 0, 0, 36.763702, -122.004530, 80.6, 667.24 1639764919, 0, 0, 36.763792, -122.004370, 135.4, 666.18 1639765419, 0, 0, 36.763740, -122.004385, 48.4, 666.81 1639765919, 0, 0, 36.763728, -122.004363, 125.7, 667.42 1639766419, 0, 0, 36.763718, -122.004298, 124.7, 667.26 1639766919, 0, 0, 36.763680, -122.004413, 125.4, 667.73 1639767419, 0, 0, 36.763725, -122.004390, 92.9, 667.73 1639767919, 0, 0, 36.763777, -122.004317, 124.8, 667.55 1639768419, 0, 0, 36.763718, -122.004380, 123.8, 666.47 1639768919, 0, 0, 36.763727, -122.004392, 104.5, 667.68 1639769419, 0, 0, 36.763772, -122.004447, 36.4, 667.03 1639769919, 0, 0, 36.763880, -122.004272, 59.7, 664.87 1639770419, 0, 0, 36.763943, -122.004240, 67.4, 664.93 1639770919, 0, 0, 36.764067, -122.004515, 32.4, 661.98 1639771419, 0, 0, 36.763940, -122.004532, 18.3, 665.99 1639771919, 0, 0, 36.763948, -122.004472, 22.8, 665.97 1639772419, 0, 0, 36.763955, -122.004547, 33.9, 663.92 1639772919, 0, 0, 36.763917, -122.004620, -60.2, 663.65 1639773419, 0, 0, 36.763993, -122.005022, 92.8, 462.20 1639773919, 0, 0, 36.764087, -122.005172, 105.1, 236.50 1639774419, 0, 0, 36.763972, -122.005178, 179.4, 30.67 rovNav(): 351: 19259 in tList after reading from \\atlas\RovNavEdit\2021\vnta\nav2021351vnta.txt 19259 in tList 19259 in {self->{rovT}} 19259 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1639770300 & 1639765995 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 657.240305060409 rovGDCListRefs(): dStats->sample_range = 662.832277249144 rovGDCListRefs(): returning (1st elements): 1639755424 36.802970 -121.785447 117.5 2.52120488022589 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 351 (looping to 351) Does file exist?: \\atlas\RovNavEdit\2021\vnta\nav2021351vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2021\vnta\nav2021351vntaedited.txt esecs, east, north, lat, lon, head, pres 1639755919, 0, 0, 36.763751, -122.004788, 118.4, 199.80 1639756419, 0, 0, 36.763827, -122.004231, 119.4, 407.60 1639756919, 0, 0, 36.763967, -122.003918, 118.5, 611.52 1639757419, 0, 0, 36.763910, -122.003925, 265.3, 667.43 1639757919, 0, 0, 36.764034, -122.005171, 92.4, 661.12 1639758419, 0, 0, 36.764231, -122.004850, 114.6, 660.26 1639758919, 0, 0, 36.764234, -122.004730, 27.8, 660.21 1639759419, 0, 0, 36.764367, -122.004735, 45.3, 660.06 1639759919, 0, 0, 36.764125, -122.004315, 21.8, 663.03 1639760419, 0, 0, 36.764396, -122.004719, 302.2, 657.40 1639760919, 0, 0, 36.764278, -122.004546, 119.0, 659.88 1639761419, 0, 0, 36.764455, -122.004747, 114.6, 657.26 1639761919, 0, 0, 36.764467, -122.004741, 128.8, 655.92 1639762419, 0, 0, 36.764466, -122.004754, 127.5, 657.06 1639762919, 0, 0, 36.764471, -122.004735, 128.4, 656.93 1639763419, 0, 0, 36.764476, -122.005063, 116.5, 656.18 1639763919, 0, 0, 36.763660, -122.004175, 118.2, 669.34 1639764419, 0, 0, 36.763684, -122.004577, 80.6, 667.24 1639764919, 0, 0, 36.763780, -122.004353, 135.4, 666.18 1639765419, 0, 0, 36.763738, -122.004411, 48.4, 666.81 1639765919, 0, 0, 36.763713, -122.004354, 125.7, 667.42 1639766419, 0, 0, 36.763705, -122.004355, 124.7, 667.26 1639766919, 0, 0, 36.763709, -122.004383, 125.4, 667.73 1639767419, 0, 0, 36.763727, -122.004395, 92.9, 667.73 1639767919, 0, 0, 36.763746, -122.004368, 124.8, 667.55 1639768419, 0, 0, 36.763725, -122.004385, 123.8, 666.47 1639768919, 0, 0, 36.763714, -122.004384, 104.5, 667.68 1639769419, 0, 0, 36.763753, -122.004428, 36.4, 667.03 1639769919, 0, 0, 36.763927, -122.004258, 59.7, 664.87 1639770419, 0, 0, 36.763944, -122.004246, 67.4, 664.93 1639770919, 0, 0, 36.764083, -122.004524, 32.4, 661.98 1639771419, 0, 0, 36.763954, -122.004536, 18.3, 665.99 1639771919, 0, 0, 36.763969, -122.004507, 22.8, 665.97 1639772419, 0, 0, 36.763958, -122.004541, 33.9, 663.92 1639772919, 0, 0, 36.763919, -122.004611, 299.8, 663.65 1639773419, 0, 0, 36.763986, -122.005030, 92.8, 462.20 1639773919, 0, 0, 36.764091, -122.005158, 105.1, 236.50 1639774419, 0, 0, 36.763984, -122.005159, 179.4, 30.67 rovNav(): 351: 19259 in tList after reading from \\atlas\RovNavEdit\2021\vnta\nav2021351vntaedited.txt 19259 in tList 19259 in {self->{rovT}} 19259 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1639762710 & 1639773165 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 657.240305729013 rovGDCListRefs(): dStats->sample_range = 662.832268756098 rovGDCListRefs(): returning (1st elements): 1639755424 36.763681 -122.004740 117.5 2.52121364510911 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.76395200 hash{lon} = -122.00452500 latMin = 30.763952 latMax = 42.763952 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.763952 AND 42.763952 AND Longitude BETWEEN -128.004525 AND -116.004525 Dive lat = 36.76395200, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.00452500 & lat = 36.76395200 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4385rov_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 = geo2021/vnta/vnta4385lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = -1 shipNav(): $#{$self->{shipLat}}[last] = Position subsampling set to 15 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 indexframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/351/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/351/accesses.txt at bin\geopdvc_perseus.pl line 629. frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/vnta4385: Bad file descriptor at bin\geopdvc_perseus.pl line 629. 0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0 0 1 makeTracks(): n = 19260 makeTracks(): Looping through -1 point of ship position data... makeTracks(): posSubsample = 15 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4385tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2021/vnta/vnta4385mergedCtdNav.txt... bin\geopdvc_perseus.pl: Annotations: annotations(): Executing sql: SELECT DISTINCT DateDiff(ss, '01/01/70', RecordedDate) AS Esecs, CONVERT(CHAR(8), RecordedDate, 1) + ' ' + SUBSTRING(CONVERT(CHAR(19), RecordedDate, 120), 12, 8) AS DateTime, VideoArchiveName AS TapeNum, TapeTimeCode, ConceptName, Image AS StillImageURL, Depth, Latitude, Longitude, CameraDirection AS Direction, ISNULL(Observer, '') AS Observer, AnnotationMode, ObservationID_FK AS ObservationID FROM dbo.Annotations WHERE (ShipName = '') AND (RecordedDate BETWEEN '12/17/2021 3:37:03 PM' AND '12/17/2021 8:58:03 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '12/17/2021 3:37:03 PM' AND '12/17/2021 8:58:03 PM') bin\geopdvc_perseus.pl: Calling placeAnnotations with every 10 annotation... bin\geopdvc_perseus.pl: Calling placeAnnotations with every 2 annotation... bin\geopdvc_perseus.pl: Calling placeAnnotations with every 1 annotation... frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2021/vnta4385... iList = bin\geopdvc_perseus.pl: Number of images returned from expd->frameGrabs(every=>1)} = 0 bin\geopdvc_perseus.pl: Calling placeImages with every 10 image... bin\geopdvc_perseus.pl: Calling placeImages with every 2 image... bin\geopdvc_perseus.pl: Calling placeImages with every 1 image... bin\geopdvc_perseus.pl: Samples: samples(): Executing sql: SELECT DateDiff(ss, '01/01/70', CollectionEventDtg) AS Esecs, CollectionVIMSConcept, FrameGrabImageURL, SampleID, CollectionRefName FROM vwCollSamplePerson WHERE (CollectionEventDTG BETWEEN '12/17/2021 3:37:03 PM' AND '12/17/2021 8:58:03 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2021/vnta/vnta4385.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',7449,'/3Dreplay/3D.asp?dives=vnta4385','vnta4385','','','',4385 Executing sql: UPDATE Dive SET DiveLatMid = 36.7640, DiveLonMid = -122.0045, DiveDepthMid = -657.2 WHERE RovName = 'vnta' AND DiveNumber = 4385