Running bin\geopdvc.pl at Mon Jun 26 03:00:03 2017 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 4027 bin\geopdvc.pl: Getting Expedition object for diveno = 4027 and rname = vnta set_expd(): rov = vnta, diveno = 4027 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 = 4027 AND RovName = 'vnta' RS->Fields(0)->Value= 5943 RS->Fields(1)->Value= 1493410560 RS->Fields(2)->Value= 1493417626 RS->Fields(3)->Value= 4/28/2017 8:16:00 PM RS->Fields(4)->Value= 4/28/2017 10:13:46 PM set_expd(): $self->{EndDDD} = 118 set_expd(): $self->{StartEsecs} = 1493409360 set_expd(): $self->{EndEsecs} = 1493418826 set_expd(): $self->{EndDtg} = 4/28/2017 10:13:46 PM _readLogr(): Reading videologr data from 2017118datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1493409360 & 1493418826 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1493418831, self->{EndEsecs} = 1493418826 _readLogr(): #LOGHOST_SYSTEM_UTC = 945 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1493409370 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1493418821 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1493409370 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1493418821 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1493409240, Refined EndEsecs = 1493418946 _readLogr(): Reading videologr data from 2017118datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1493409240 & 1493418946 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1493418951, self->{EndEsecs} = 1493418946 _readLogr(): #LOGHOST_SYSTEM_UTC = 969 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1493409250 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1493418941 bin\geopdvc.pl: expdid = 5943 bin\geopdvc.pl: Calling rovNavCTDO to get raw nav data... rovnavCTDO(): calcUTM = 0 rovnavCTDO(): getRaw = 1 rovNav(): 1, calcUTM = 0 rovNav(): 2, getRaw = 1 rovNav(): calcUTM = 0 rovNav(): DDD = 118 (looping to 118) Does file exist?: \\atlas\RovNavEdit\2017\vnta\nav2017118vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2017\vnta\nav2017118vnta.txt esecs, east, north, lat, lon, head, pres 1493411060, 0, 0, 36.836238, -121.864987, 1.9, 48.44 1493411561, 0, 0, 36.836943, -121.864487, 8.7, 52.50 1493412062, 0, 0, 36.839068, -121.867103, -37.9, 47.48 1493412563, 0, 0, 36.841298, -121.865523, -35.0, 45.26 1493413063, 0, 0, 36.838348, -121.866070, -56.4, 48.83 1493413564, 0, 0, 36.840242, -121.866563, -54.4, 44.21 1493414065, 0, 0, 36.839357, -121.868352, -55.1, 55.69 1493414566, 0, 0, 36.837773, -121.864178, -54.8, 55.67 1493415067, 0, 0, 36.839318, -121.870210, -61.7, 53.64 1493415568, 0, 0, 36.838623, -121.866087, -82.4, 53.08 1493416068, 0, 0, 36.839818, -121.868845, -111.2, 52.26 1493416569, 0, 0, 36.839625, -121.869067, -99.3, 50.72 1493417070, 0, 0, 36.841222, -121.866365, -128.7, 51.22 1493417571, 0, 0, 36.835198, -121.861247, -53.8, 8.74 rovNav(): 118: 7053 in tList after reading from \\atlas\RovNavEdit\2017\vnta\nav2017118vnta.txt 7053 in tList 7053 in {self->{rovT}} 7053 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1493414865 & 1493412585 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 51.1126556775472 rovGDCListRefs(): dStats->sample_range = 54.5454556053482 rovGDCListRefs(): returning (1st elements): 1493410560 36.705783 -122.065812 9.3 2.68004292858977 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 118 (looping to 118) Does file exist?: \\atlas\RovNavEdit\2017\vnta\nav2017118vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2017\vnta\nav2017118vntaedited.txt esecs, east, north, lat, lon, head, pres 1493411060, 0, 0, 36.837707, -121.865904, 1.9, 48.44 1493411561, 0, 0, 36.836856, -121.865497, 8.7, 52.50 1493412062, 0, 0, 36.838856, -121.867281, 322.1, 47.48 1493412563, 0, 0, 36.838827, -121.866939, 325.0, 45.26 1493413063, 0, 0, 36.838337, -121.866418, 303.6, 48.83 1493413564, 0, 0, 36.839506, -121.866140, 305.6, 44.21 1493414065, 0, 0, 36.839526, -121.868200, 304.9, 55.69 1493414566, 0, 0, 36.839159, -121.866767, 305.2, 55.67 1493415067, 0, 0, 36.839536, -121.866921, 298.3, 53.64 1493415568, 0, 0, 36.839203, -121.865871, 277.6, 53.08 1493416068, 0, 0, 36.839809, -121.867114, 248.8, 52.26 1493416569, 0, 0, 36.840139, -121.868553, 260.7, 50.72 1493417070, 0, 0, 36.840725, -121.868125, 231.3, 51.22 1493417571, 0, 0, 36.839173, -121.867111, 306.2, 8.74 rovNav(): 118: 7053 in tList after reading from \\atlas\RovNavEdit\2017\vnta\nav2017118vntaedited.txt 7053 in tList 7053 in {self->{rovT}} 7053 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1493414865 & 1493412585 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX........................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 51.112652733923 rovGDCListRefs(): dStats->sample_range = 54.5454937954599 rovGDCListRefs(): returning (1st elements): 1493410560 36.838777 -121.867842 9.3 2.68001139398219 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.83909850 hash{lon} = -121.86735000 latMin = 30.8390985 latMax = 42.8390985 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.8390985 AND 42.8390985 AND Longitude BETWEEN -127.86735 AND -115.86735 Dive lat = 36.83909850, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint loframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/118/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/118/accesses.txt at bin\geopdvc.pl line 625 frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/vnta4027: Bad file descriptor at bin\geopdvc.pl line 625 n = -121.86735000 & lat = 36.83909850 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta4027rov_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 = geo2017/vnta/vnta4027lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 969 shipNav(): $#{$self->{shipLat}}[last] = 36.819036 Position subsampling set to 6 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = 0.6173 0.5173 0.0000 setROVcolorlines(): Assigning color line for O2... varColors = O2Colors index0 = 0 0 1 setROVcolorlines(): Assigning color line for Sal... varColors = SalColors index0 = 1.0000 0.8780 0.0000 setROVcolorlines(): Assigning color line for Temp... varColors = TempColors index0 = 0.2216 0.7784 0.0000 makeTracks(): n = 7054 makeTracks(): Looping through 969 point of ship position data... makeTracks(): posSubsample = 6 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta4027tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2017/vnta/vnta4027mergedCtdNav.txt... bin\geopdvc.pl: Annotations: annotations(): Executing sql: SELECT DISTINCT DateDiff(ss, '01/01/70', RecordedDate) AS Esecs, CONVERT(CHAR(8), RecordedDate, 1) + ' ' + SUBSTRING(CONVERT(CHAR(19), RecordedDate, 120), 12, 8) AS DateTime, VideoArchiveName AS TapeNum, TapeTimeCode, ConceptName, Image AS StillImageURL, Depth, Latitude, Longitude, CameraDirection AS Direction, ISNULL(Observer, '') AS Observer, AnnotationMode, ObservationID_FK AS ObservationID FROM dbo.Annotations WHERE (ShipName = '') AND (RecordedDate BETWEEN '4/28/2017 8:16:00 PM' AND '4/28/2017 10:13:46 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '4/28/2017 8:16:00 PM' AND '4/28/2017 10:13:46 PM') bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2017/vnta4027... iList = bin\geopdvc.pl: Number of images returned from expd->frameGrabs(every=>1)} = 0 bin\geopdvc.pl: Calling placeImages with every 10 image... bin\geopdvc.pl: Calling placeImages with every 2 image... bin\geopdvc.pl: Calling placeImages with every 1 image... bin\geopdvc.pl: Samples: samples(): Executing sql: SELECT DateDiff(ss, '01/01/70', CollectionEventDtg) AS Esecs, CollectionVIMSConcept, FrameGrabImageURL, SampleID, CollectionRefName FROM vwCollSamplePerson WHERE (CollectionEventDTG BETWEEN '4/28/2017 8:16:00 PM' AND '4/28/2017 10:13:46 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2017/vnta/vnta4027.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5943,'/3Dreplay/3D.asp?dives=vnta4027','vnta4027','','','',4027 Executing sql: UPDATE Dive SET DiveLatMid = 36.8391, DiveLonMid = -121.8674, DiveDepthMid = -51.1 WHERE RovName = 'vnta' AND DiveNumber = 4027