Running bin\geopdvc_perseus.pl at Sun Nov 17 03:00:02 2019 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4213 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4213 and rname = vnta set_expd(): rov = vnta, diveno = 4213 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 = 4213 AND RovName = 'vnta' RS->Fields(0)->Value= 6725 RS->Fields(1)->Value= 1568909631 RS->Fields(2)->Value= 1568928785 RS->Fields(3)->Value= 9/19/2019 4:13:51 PM RS->Fields(4)->Value= 9/19/2019 9:33:05 PM set_expd(): $self->{EndDDD} = 262 set_expd(): $self->{StartEsecs} = 1568908431 set_expd(): $self->{EndEsecs} = 1568929985 set_expd(): $self->{EndDtg} = 9/19/2019 9:33:05 PM _readLogr(): Reading videologr data from 2019262datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1568908431 & 1568929985 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1568929986, self->{EndEsecs} = 1568929985 _readLogr(): #LOGHOST_SYSTEM_UTC = 2154 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1568908436 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1568929976 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1568908436 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1568929976 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1568908311, Refined EndEsecs = 1568930105 _readLogr(): Reading videologr data from 2019262datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1568908311 & 1568930105 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1568930106, self->{EndEsecs} = 1568930105 _readLogr(): #LOGHOST_SYSTEM_UTC = 2178 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1568908316 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1568930096 bin\geopdvc_perseus.pl: expdid = 6725 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 = 262 (looping to 262) Does file exist?: \\atlas\RovNavEdit\2019\vnta\nav2019262vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2019\vnta\nav2019262vnta.txt esecs, east, north, lat, lon, head, pres 1568910131, 0, 0, 36.699603, -122.047517, -101.2, 150.31 1568910631, 0, 0, 36.699005, -122.047438, -103.7, 338.33 1568911131, 0, 0, 36.698787, -122.047463, -91.2, 456.85 1568911632, 0, 0, 36.698895, -122.047330, 103.0, 587.69 1568912132, 0, 0, 36.698870, -122.047613, -101.5, 646.78 1568912632, 0, 0, 36.698428, -122.047573, -153.9, 767.19 1568913132, 0, 0, 36.698265, -122.047573, -91.6, 890.46 1568913632, 0, 0, 36.698245, -122.047485, -42.9, 1010.30 1568914132, 0, 0, 36.698445, -122.047345, -30.1, 989.23 1568914632, 0, 0, 36.698663, -122.047383, -60.0, 991.78 1568915132, 0, 0, 36.698727, -122.047517, -97.6, 978.02 1568915632, 0, 0, 36.698633, -122.047817, -38.4, 963.00 1568916132, 0, 0, 36.698972, -122.047727, -18.8, 958.16 1568916632, 0, 0, 36.698890, -122.047292, 93.9, 930.97 1568917133, 0, 0, 36.699053, -122.046807, 10.6, 906.57 1568917633, 0, 0, 36.699183, -122.046555, 53.3, 878.94 1568918133, 0, 0, 36.699558, -122.046375, 17.4, 857.79 1568918633, 0, 0, 36.699725, -122.045898, 23.6, 831.83 1568919133, 0, 0, 36.699658, -122.044683, 97.1, 773.71 1568919633, 0, 0, 36.699843, -122.043497, 75.5, 721.76 1568920133, 0, 0, 36.700398, -122.042735, 53.0, 680.44 1568920633, 0, 0, 36.700523, -122.042500, 43.0, 656.56 1568921133, 0, 0, 36.700220, -122.042563, 62.1, 653.66 1568921633, 0, 0, 36.700033, -122.041525, 92.0, 587.51 1568922134, 0, 0, 36.700490, -122.039920, 67.3, 479.54 1568922634, 0, 0, 36.700538, -122.039562, 124.2, 479.59 1568923134, 0, 0, 36.700142, -122.038782, 74.6, 458.74 1568923634, 0, 0, 36.700173, -122.038307, 76.8, 417.33 1568924134, 0, 0, 36.700163, -122.037838, 127.9, 373.52 1568924634, 0, 0, 36.699655, -122.037732, 73.4, 374.02 1568925134, 0, 0, 36.699617, -122.037602, -173.9, 368.29 1568925634, 0, 0, 36.699217, -122.037470, -137.8, 365.97 1568926134, 0, 0, 36.698752, -122.037927, -131.0, 360.51 1568926634, 0, 0, 36.698370, -122.038233, -53.7, 335.94 1568927135, 0, 0, 36.698322, -122.038620, -58.9, 277.26 1568927635, 0, 0, 36.697813, -122.038175, 100.5, 270.97 1568928135, 0, 0, 36.697358, -122.038208, -102.3, 211.82 1568928635, 0, 0, 36.697492, -122.036070, -101.6, 50.86 rovNav(): 262: 19149 in tList after reading from \\atlas\RovNavEdit\2019\vnta\nav2019262vnta.txt 19149 in tList 19149 in {self->{rovT}} 19149 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1568927355 & 1568914320 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 622.863295967174 rovGDCListRefs(): dStats->sample_range = 998.265978290699 rovGDCListRefs(): returning (1st elements): 1568909632 36.699768 -122.047897 -24.4 2.68004435380229 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 262 (looping to 262) Does file exist?: \\atlas\RovNavEdit\2019\vnta\nav2019262vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2019\vnta\nav2019262vntaedited.txt esecs, east, north, lat, lon, head, pres 1568910131, 0, 0, 36.699601, -122.047517, 258.8, 150.31 1568910631, 0, 0, 36.699000, -122.047444, 256.3, 338.33 1568911131, 0, 0, 36.698794, -122.047469, 268.8, 456.85 1568911632, 0, 0, 36.698889, -122.047388, 103.0, 587.69 1568912132, 0, 0, 36.698906, -122.047626, 258.5, 646.78 1568912632, 0, 0, 36.698418, -122.047578, 206.1, 767.19 1568913132, 0, 0, 36.698263, -122.047571, 268.4, 890.46 1568913632, 0, 0, 36.698243, -122.047450, 317.1, 1010.30 1568914132, 0, 0, 36.698426, -122.047350, 329.9, 989.23 1568914632, 0, 0, 36.698655, -122.047396, 300.0, 991.78 1568915132, 0, 0, 36.698763, -122.047491, 262.4, 978.02 1568915632, 0, 0, 36.698631, -122.047814, 321.6, 963.00 1568916132, 0, 0, 36.698902, -122.047783, 341.2, 958.16 1568916632, 0, 0, 36.698931, -122.047255, 93.9, 930.97 1568917133, 0, 0, 36.698939, -122.046967, 10.6, 906.57 1568917633, 0, 0, 36.699175, -122.046523, 53.3, 878.94 1568918133, 0, 0, 36.699552, -122.046360, 17.4, 857.79 1568918633, 0, 0, 36.699692, -122.045924, 23.6, 831.83 1568919133, 0, 0, 36.699659, -122.044670, 97.1, 773.71 1568919633, 0, 0, 36.699861, -122.043469, 75.5, 721.76 1568920133, 0, 0, 36.700399, -122.042724, 53.0, 680.44 1568920633, 0, 0, 36.700509, -122.042545, 43.0, 656.56 1568921133, 0, 0, 36.700233, -122.042562, 62.1, 653.66 1568921633, 0, 0, 36.700029, -122.041536, 92.0, 587.51 1568922134, 0, 0, 36.700496, -122.039911, 67.3, 479.54 1568922634, 0, 0, 36.700539, -122.039557, 124.2, 479.59 1568923134, 0, 0, 36.700144, -122.038790, 74.6, 458.74 1568923634, 0, 0, 36.700172, -122.038292, 76.8, 417.33 1568924134, 0, 0, 36.700168, -122.037814, 127.9, 373.52 1568924634, 0, 0, 36.699748, -122.037743, 73.4, 374.02 1568925134, 0, 0, 36.699682, -122.037540, 186.1, 368.29 1568925634, 0, 0, 36.699212, -122.037428, 222.2, 365.97 1568926134, 0, 0, 36.698752, -122.037876, 229.0, 360.51 1568926634, 0, 0, 36.698377, -122.038246, 306.3, 335.94 1568927135, 0, 0, 36.698302, -122.038637, 301.1, 277.26 1568927635, 0, 0, 36.697885, -122.038338, 100.5, 270.97 1568928135, 0, 0, 36.697368, -122.038198, 257.7, 211.82 1568928635, 0, 0, 36.697079, -122.038157, 258.4, 50.86 rovNav(): 262: 19149 in tList after reading from \\atlas\RovNavEdit\2019\vnta\nav2019262vntaedited.txt 19149 in tList 19149 in {self->{rovT}} 19149 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1568928660 & 1568909700 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX...........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 622.863291342057 rovGDCListRefs(): dStats->sample_range = 998.265978469859 rovGDCListRefs(): returning (1st elements): 1568909632 36.699777 -122.047891 335.6 2.68004435166987 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.69900400 hash{lon} = -122.04444950 latMin = 30.699004 latMax = 42.699004 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.699004 AND 42.699004 AND Longitude BETWEEN -128.0444495 AND -116.0444495 Dive lat = 36.69900400, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.04444950 & lat = 36.69900400 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... inline_name = vnta4213rov_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 = geo2019/vnta/vnta4213lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 2178 shipNavframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2019/262/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2019/262/accesses.txt at bin\geopdvc_perseus.pl line 629. (): $#{$self->{shipLat}}[last] = 36.711811 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 index0 = 1 1 .1 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0 0 1 makeTracks(): n = 19150 makeTracks(): Looping through 2178 point of ship position data... makeTracks(): posSubsample = 15 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4213tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2019/vnta/vnta4213mergedCtdNav.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/19/2019 4:13:51 PM' AND '9/19/2019 9:33:05 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '9/19/2019 4:13:51 PM' AND '9/19/2019 9:33:05 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/2019/vnta4213... 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/19/2019 4:13:51 PM' AND '9/19/2019 9:33:05 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2019/vnta/vnta4213.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',6725,'/3Dreplay/3D.asp?dives=vnta4213','vnta4213','','','',4213 Executing sql: UPDATE Dive SET DiveLatMid = 36.6990, DiveLonMid = -122.0444, DiveDepthMid = -622.9 WHERE RovName = 'vnta' AND DiveNumber = 4213