Running bin\geopdvc_perseus.pl at Wed Jul 24 16:43:50 2019 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4146 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4146 and rname = vnta set_expd(): rov = vnta, diveno = 4146 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 = 4146 AND RovName = 'vnta' RS->Fields(0)->Value= 6382 RS->Fields(1)->Value= 1537884102 RS->Fields(2)->Value= 1537902132 RS->Fields(3)->Value= 9/25/2018 2:01:42 PM RS->Fields(4)->Value= 9/25/2018 7:02:12 PM set_expd(): $self->{EndDDD} = 268 set_expd(): $self->{StartEsecs} = 1537882902 set_expd(): $self->{EndEsecs} = 1537903332 set_expd(): $self->{EndDtg} = 9/25/2018 7:02:12 PM _readLogr(): Reading videologr data from 2018268datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1537882902 & 1537903332 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1537903333, self->{EndEsecs} = 1537903332 _readLogr(): #LOGHOST_SYSTEM_UTC = 2042 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1537882903 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1537903323 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1537882903 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1537903323 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1537882782, Refined EndEsecs = 1537903452 _readLogr(): Reading videologr data from 2018268datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1537882782 & 1537903452 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1537903453, self->{EndEsecs} = 1537903452 _readLogr(): #LOGHOST_SYSTEM_UTC = 2066 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1537882783 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1537903443 bin\geopdvc_perseus.pl: expdid = 6382 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): getRaw = 1 rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): 2, getRaw = 1 rovNav(): calcUTM = 0 rovNav(): DDD = 268 (looping to 268) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018268vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018268vnta.txt esecs, east, north, lat, lon, head, pres 1537884332, 0, 0, 36.391740, -122.307737, 97.8, 85.41 1537884832, 0, 0, 36.392152, -122.306525, 96.9, 270.58 1537885332, 0, 0, 36.392293, -122.305583, 87.0, 454.94 1537885832, 0, 0, 36.392375, -122.304538, 79.4, 639.72 1537886332, 0, 0, 36.392397, -122.304603, 54.5, 819.43 1537886832, 0, 0, 36.392397, -122.304520, -179.4, 843.52 1537887332, 0, 0, 36.392590, -122.304643, -176.5, 845.91 1537887832, 0, 0, 36.393003, -122.304510, -177.1, 844.64 1537888333, 0, 0, 36.392460, -122.304498, -175.0, 841.44 1537888833, 0, 0, 36.393110, -122.304440, -174.1, 844.18 1537889333, 0, 0, 36.392460, -122.304427, -176.7, 841.35 1537889833, 0, 0, 36.392895, -122.303818, -176.1, 843.67 1537890333, 0, 0, 36.392903, -122.304368, -178.8, 844.67 1537890833, 0, 0, 36.392682, -122.304382, -178.4, 843.74 1537891333, 0, 0, 36.392775, -122.304380, -179.5, 844.76 1537891833, 0, 0, 36.392837, -122.304283, -178.3, 844.55 1537892333, 0, 0, 36.392583, -122.304288, -174.4, 843.84 1537892833, 0, 0, 36.392980, -122.304245, -178.4, 842.54 1537893334, 0, 0, 36.392473, -122.304233, -178.9, 837.04 1537893834, 0, 0, 36.393153, -122.304207, -177.0, 843.38 1537894334, 0, 0, 36.392433, -122.304163, -179.4, 838.73 1537894834, 0, 0, 36.392952, -122.304125, -178.0, 844.00 1537895334, 0, 0, 36.392615, -122.304095, -178.8, 843.66 1537895834, 0, 0, 36.392800, -122.304058, -177.2, 843.19 1537896334, 0, 0, 36.392782, -122.304040, -179.1, 840.92 1537896834, 0, 0, 36.392673, -122.304025, -177.4, 843.72 1537897334, 0, 0, 36.392868, -122.303923, -178.6, 843.58 1537897835, 0, 0, 36.392448, -122.303880, -177.3, 836.13 1537898335, 0, 0, 36.393067, -122.303892, -179.1, 843.82 1537898835, 0, 0, 36.393202, -122.304133, 175.9, 846.61 1537899335, 0, 0, 36.394297, -122.304277, -5.3, 730.72 1537899835, 0, 0, 36.394803, -122.303253, 75.6, 564.76 1537900335, 0, 0, 36.395532, -122.302843, 95.4, 394.56 1537900835, 0, 0, 36.396362, -122.303427, 112.4, 179.43 1537901335, 0, 0, 36.397257, -122.303713, -9.8, 12.80 1537901835, 0, 0, 36.397348, -122.301990, -140.1, 12.71 rovNav(): 268: 18026 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018268vnta.txt 18026 in tList 18026 in {self->{rovT}} 18026 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1537894530 & 1537892355 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 834.774108080054 rovGDCListRefs(): dStats->sample_range = 837.363574550432 rovGDCListRefs(): returning (1st elements): 1537884103 36.419125 -122.302152 68.5 2.58084801936737 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 268 (looping to 268) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018268vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018268vntaedited.txt esecs, east, north, lat, lon, head, pres 1537884332, 0, 0, 36.391736, -122.307704, 97.8, 85.41 1537884832, 0, 0, 36.392156, -122.306528, 96.9, 270.58 1537885332, 0, 0, 36.392310, -122.305578, 87.0, 454.94 1537885832, 0, 0, 36.392366, -122.304568, 79.4, 639.72 1537886332, 0, 0, 36.392414, -122.304613, 54.5, 819.43 1537886832, 0, 0, 36.392406, -122.304535, 180.6, 843.52 1537887332, 0, 0, 36.392613, -122.304594, 183.5, 845.91 1537887832, 0, 0, 36.392997, -122.304511, 182.9, 844.64 1537888333, 0, 0, 36.392463, -122.304497, 185.0, 841.44 1537888833, 0, 0, 36.393114, -122.304445, 185.9, 844.18 1537889333, 0, 0, 36.392460, -122.304457, 183.3, 841.35 1537889833, 0, 0, 36.392979, -122.304434, 183.9, 843.67 1537890333, 0, 0, 36.392900, -122.304384, 181.2, 844.67 1537890833, 0, 0, 36.392689, -122.304374, 181.6, 843.74 1537891333, 0, 0, 36.392778, -122.304364, 180.5, 844.76 1537891833, 0, 0, 36.392832, -122.304300, 181.7, 844.55 1537892333, 0, 0, 36.392592, -122.304282, 185.6, 843.84 1537892833, 0, 0, 36.392982, -122.304234, 181.6, 842.54 1537893334, 0, 0, 36.392455, -122.304236, 181.1, 837.04 1537893834, 0, 0, 36.393121, -122.304203, 183.0, 843.38 1537894334, 0, 0, 36.392437, -122.304171, 180.6, 838.73 1537894834, 0, 0, 36.392952, -122.304119, 182.0, 844.00 1537895334, 0, 0, 36.392608, -122.304098, 181.2, 843.66 1537895834, 0, 0, 36.392797, -122.304052, 182.8, 843.19 1537896334, 0, 0, 36.392763, -122.304021, 180.9, 840.92 1537896834, 0, 0, 36.392665, -122.304044, 182.6, 843.72 1537897334, 0, 0, 36.392903, -122.303953, 181.4, 843.58 1537897835, 0, 0, 36.392478, -122.303931, 182.7, 836.13 1537898335, 0, 0, 36.393069, -122.303907, 180.9, 843.82 1537898835, 0, 0, 36.393214, -122.304130, 175.9, 846.61 1537899335, 0, 0, 36.394284, -122.304287, 354.7, 730.72 1537899835, 0, 0, 36.394809, -122.303240, 75.6, 564.76 1537900335, 0, 0, 36.395537, -122.302851, 95.4, 394.56 1537900835, 0, 0, 36.396354, -122.303440, 112.4, 179.43 1537901335, 0, 0, 36.397252, -122.303710, 350.2, 12.80 1537901835, 0, 0, 36.398241, -122.302860, 219.9, 12.71 rovNav(): 268: 18026 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018268vntaedited.txt 18026 in tList 18026 in {self->{rovT}} 18026 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1537901415 & 1537891215 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX..............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/268/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/268/accesses.txt at bin\geopdvc_perseus.pl line 629. frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/vnta4146: Bad file descriptor at bin\geopdvc_perseus.pl line 629. ................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 834.774106241266 rovGDCListRefs(): dStats->sample_range = 837.363569625389 rovGDCListRefs(): returning (1st elements): 1537884103 36.391615 -122.307559 68.5 2.58085427654836 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.39279700 hash{lon} = -122.30427400 latMin = 30.392797 latMax = 42.392797 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.392797 AND 42.392797 AND Longitude BETWEEN -128.304274 AND -116.304274 Dive lat = 36.39279700, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.30427400 & lat = 36.39279700 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4146rov_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 = geo2018/vnta/vnta4146lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 2066 shipNav(): $#{$self->{shipLat}}[last] = 36.385939 Position subsampling set to 14 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 = 18027 makeTracks(): Looping through 2066 point of ship position data... makeTracks(): posSubsample = 14 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4146tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2018/vnta/vnta4146mergedCtdNav.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 '9/25/2018 2:01:42 PM' AND '9/25/2018 7:02:12 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '9/25/2018 2:01:42 PM' AND '9/25/2018 7:02:12 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/2018/vnta4146... 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 '9/25/2018 2:01:42 PM' AND '9/25/2018 7:02:12 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2018/vnta/vnta4146.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',6382,'/3Dreplay/3D.asp?dives=vnta4146','vnta4146','','','',4146 Executing sql: UPDATE Dive SET DiveLatMid = 36.3928, DiveLonMid = -122.3043, DiveDepthMid = -834.8 WHERE RovName = 'vnta' AND DiveNumber = 4146