Running bin\geopdvc_perseus.pl at Wed Jul 24 16:44:45 2019 on host draco Command line: bin\geopdvc_perseus.pl -rov vnta -dive 4148 bin\geopdvc_perseus.pl: Getting Expedition object for diveno = 4148 and rname = vnta set_expd(): rov = vnta, diveno = 4148 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 = 4148 AND RovName = 'vnta' RS->Fields(0)->Value= 6419 RS->Fields(1)->Value= 1538582392 RS->Fields(2)->Value= 1538602538 RS->Fields(3)->Value= 10/3/2018 3:59:52 PM RS->Fields(4)->Value= 10/3/2018 9:35:38 PM set_expd(): $self->{EndDDD} = 276 set_expd(): $self->{StartEsecs} = 1538581192 set_expd(): $self->{EndEsecs} = 1538603738 set_expd(): $self->{EndDtg} = 10/3/2018 9:35:38 PM _readLogr(): Reading videologr data from 2018276datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1538581192 & 1538603738 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1538603742, self->{EndEsecs} = 1538603738 _readLogr(): #LOGHOST_SYSTEM_UTC = 2253 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1538581202 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1538603732 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1538581202 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1538603732 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1538581072, Refined EndEsecs = 1538603858 _readLogr(): Reading videologr data from 2018276datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1538581072 & 1538603858 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1538603862, self->{EndEsecs} = 1538603858 _readLogr(): #LOGHOST_SYSTEM_UTC = 2277 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1538581082 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1538603852 bin\geopdvc_perseus.pl: expdid = 6419 bin\geopdvc_perseus.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): calcUTM = 0 rovnavCTDO(): getRaw = 1 rovNav(): 1, getRaw = 1 rovNav(): 2, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 276 (looping to 276) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018276vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018276vnta.txt esecs, east, north, lat, lon, head, pres 1538582892, 0, 0, 36.702222, -122.049722, 172.5, 157.79 1538583392, 0, 0, 36.702512, -122.049307, -178.6, 240.26 1538583892, 0, 0, 36.702868, -122.049047, 178.6, 253.70 1538584392, 0, 0, 36.702825, -122.048918, -178.1, 256.37 1538584892, 0, 0, 36.702983, -122.048845, -178.4, 251.55 1538585392, 0, 0, 36.703085, -122.048450, -146.6, 251.49 1538585893, 0, 0, 36.703173, -122.048188, -147.3, 245.80 1538586393, 0, 0, 36.703233, -122.047918, 144.7, 246.45 1538586893, 0, 0, 36.703313, -122.047655, -156.5, 255.68 1538587393, 0, 0, 36.703240, -122.047333, -117.0, 258.11 1538587893, 0, 0, 36.703202, -122.047003, -151.7, 267.79 1538588393, 0, 0, 36.702928, -122.046815, -155.7, 272.81 1538588893, 0, 0, 36.702247, -122.046672, -176.1, 267.64 1538589393, 0, 0, 36.702408, -122.046445, -141.4, 292.63 1538589893, 0, 0, 36.702180, -122.046538, -139.4, 297.87 1538590393, 0, 0, 36.701510, -122.047173, -153.5, 297.17 1538590894, 0, 0, 36.700965, -122.047310, -146.2, 301.78 1538591394, 0, 0, 36.700777, -122.047432, -138.9, 300.73 1538591894, 0, 0, 36.700393, -122.047835, -145.9, 250.98 1538592394, 0, 0, 36.700217, -122.047722, -155.9, 267.83 1538592894, 0, 0, 36.700312, -122.047952, -132.2, 381.07 1538593394, 0, 0, 36.699775, -122.048498, -143.1, 374.58 1538593894, 0, 0, 36.698952, -122.049383, -144.7, 374.77 1538594394, 0, 0, 36.698103, -122.049983, -146.5, 373.50 1538594894, 0, 0, 36.697252, -122.050458, -159.5, 386.72 1538595394, 0, 0, 36.696200, -122.050637, -171.7, 345.88 1538595895, 0, 0, 36.695443, -122.051500, -161.2, 313.35 1538596395, 0, 0, 36.694617, -122.052297, -157.5, 274.42 1538596895, 0, 0, 36.694558, -122.052558, -160.4, 265.86 1538597395, 0, 0, 36.694562, -122.052760, -163.8, 268.32 1538597895, 0, 0, 36.694423, -122.052963, -174.3, 254.15 1538598395, 0, 0, 36.693985, -122.053175, -175.7, 226.65 1538598895, 0, 0, 36.694123, -122.053488, -139.2, 220.31 1538599395, 0, 0, 36.694525, -122.053330, -164.5, 222.71 1538599895, 0, 0, 36.694430, -122.053123, 163.5, 187.24 1538600396, 0, 0, 36.693437, -122.052492, 156.4, 181.89 1538600896, 0, 0, 36.692773, -122.051567, -174.9, 182.30 1538601396, 0, 0, 36.692325, -122.050505, 164.3, 183.24 1538601896, 0, 0, 36.692770, -122.050672, -151.5, 45.00 1538602396, 0, 0, 36.693158, -122.050170, -120.0, 11.23 rovNav(): 276: 20141 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018276vnta.txt 20141 in tList 20141 in {self->{rovT}} 20141 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1538587020 & 1538595960 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): .......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 255.537280289954 rovGDCListRefs(): dStats->sample_range = 385.658443675818 rovGDCListRefs(): returning (1st elements): 1538582393 36.702897 -122.057015 -72.9 2.58078336811852 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 276 (looping to 276) Does file exist?: \\atlas\RovNavEdit\2018\vnta\nav2018276vntaedited.txt yes. EXPD_perseus.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2018\vnta\nav2018276vntaedited.txt esecs, east, north, lat, lon, head, pres 1538582892, 0, 0, 36.702224, -122.049708, 172.5, 157.79 1538583392, 0, 0, 36.702524, -122.049325, 181.4, 240.26 1538583892, 0, 0, 36.702863, -122.049047, 178.6, 253.70 1538584392, 0, 0, 36.702830, -122.048920, 181.9, 256.37 1538584892, 0, 0, 36.702975, -122.048814, 181.6, 251.55 1538585392, 0, 0, 36.703079, -122.048447, 213.4, 251.49 1538585893, 0, 0, 36.703179, -122.048189, 212.7, 245.80 1538586393, 0, 0, 36.703233, -122.047921, 144.7, 246.45 1538586893, 0, 0, 36.703309, -122.047640, 203.5, 255.68 1538587393, 0, 0, 36.703240, -122.047328, 243.0, 258.11 1538587893, 0, 0, 36.703208, -122.047016, 208.3, 267.79 1538588393, 0, 0, 36.702923, -122.046812, 204.3, 272.81 1538588893, 0, 0, 36.702246, -122.046676, 183.9, 267.64 1538589393, 0, 0, 36.702404, -122.046443, 218.6, 292.63 1538589893, 0, 0, 36.702178, -122.046550, 220.6, 297.87 1538590393, 0, 0, 36.701496, -122.047176, 206.5, 297.17 1538590894, 0, 0, 36.700952, -122.047322, 213.8, 301.78 1538591394, 0, 0, 36.700787, -122.047408, 221.1, 300.73 1538591894, 0, 0, 36.700393, -122.047840, 214.1, 250.98 1538592394, 0, 0, 36.700320, -122.047796, 204.1, 267.83 1538592894, 0, 0, 36.700342, -122.047936, 227.8, 381.07 1538593394, 0, 0, 36.699780, -122.048549, 216.9, 374.58 1538593894, 0, 0, 36.698902, -122.049341, 215.3, 374.77 1538594394, 0, 0, 36.698122, -122.049983, 213.5, 373.50 1538594894, 0, 0, 36.697251, -122.050479, 200.5, 386.72 1538595394, 0, 0, 36.696276, -122.050689, 188.3, 345.88 1538595895, 0, 0, 36.695464, -122.051559, 198.8, 313.35 1538596395, 0, 0, 36.694666, -122.052262, 202.5, 274.42 1538596895, 0, 0, 36.694552, -122.052563, 199.6, 265.86 1538597395, 0, 0, 36.694520, -122.052772, 196.2, 268.32 1538597895, 0, 0, 36.694441, -122.053006, 185.7, 254.15 1538598395, 0, 0, 36.693992, -122.053197, 184.3, 226.65 1538598895, 0, 0, 36.694177, -122.053495, 220.8, 220.31 1538599395, 0, 0, 36.694519, -122.053333, 195.5, 222.71 1538599895, 0, 0, 36.694422, -122.053054, 163.5, 187.24 1538600396, 0, 0, 36.693461, -122.052382, 156.4, 181.89 1538600896, 0, 0, 36.692806, -122.051742, 185.1, 182.30 1538601396, 0, 0, 36.692326, -122.051200, 164.3, 183.24 1538601896, 0, 0, 36.692747, -122.050697, 208.5, 45.00 1538602396, 0, 0, 36.693163, -122.050174, 240.0, 11.23 rovNav(): 276: 20141 in tList after reading from \\atlas\RovNavEdit\2018\vnta\nav2018276vntaedited.txt 20141 in tList 20141 in {self->{rovT}} 20141 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1538595450 & 1538600520 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.............................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/276/accesses.txt at bin\geopdvc_perseus.pl line 2386. frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2018/276/accesses.txt at bin\geopdvc_perseus.pl line 629. .....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 255.537280018855 rovGDCListRefs(): dStats->sample_range = 385.658442491675 rovGDCListRefs(): returning (1st elements): 1538582393 36.701582 -122.050094 287.1 2.58078366815705 bin\geopdvc_perseus.pl: ------------------------------------------------------------------------------- hash{lat} = 36.70039100 hash{lon} = -122.04910750 latMin = 30.700391 latMax = 42.700391 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.700391 AND 42.700391 AND Longitude BETWEEN -128.0491075 AND -116.0491075 Dive lat = 36.70039100, area = cencal bin\geopdvc_perseus.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.04910750 & lat = 36.70039100 Using olon = -122 & olat = 36 bin\geopdvc_perseus.pl: Calling makeROVorig... makeROVorig(): Number of points greater than 20,000. Skipping every other point for .wrl file. inline_name = vnta4148rov_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/vnta4148lookup.wrl bin\geopdvc_perseus.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 2277 shipNav(): $#{$self->{shipLat}}[last] = 36.719696 Position subsampling set to 16 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 = 20142 makeTracks(): Looping through 2277 point of ship position data... makeTracks(): posSubsample = 16 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4148tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2018/vnta/vnta4148mergedCtdNav.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 '10/3/2018 3:59:52 PM' AND '10/3/2018 9:35:38 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '10/3/2018 3:59:52 PM' AND '10/3/2018 9:35:38 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/vnta4148... 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 '10/3/2018 3:59:52 PM' AND '10/3/2018 9:35:38 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc_perseus.pl: World = geo2018/vnta/vnta4148.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',6419,'/3Dreplay/3D.asp?dives=vnta4148','vnta4148','','','',4148 Executing sql: UPDATE Dive SET DiveLatMid = 36.7004, DiveLonMid = -122.0491, DiveDepthMid = -255.5 WHERE RovName = 'vnta' AND DiveNumber = 4148