Running bin\geopdvc.pl at Thu Dec 25 03:00:28 2014 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3809 bin\geopdvc.pl: Getting Expedition object for diveno = 3809 and rname = vnta set_expd(): rov = vnta, diveno = 3809 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 = 3809 AND RovName = 'vnta' RS->Fields(0)->Value= 5136 RS->Fields(1)->Value= 1414436100 RS->Fields(2)->Value= 1414442964 RS->Fields(3)->Value= 10/27/2014 6:55:00 PM RS->Fields(4)->Value= 10/27/2014 8:49:24 PM set_expd(): $self->{EndDDD} = 300 set_expd(): $self->{StartEsecs} = 1414434900 set_expd(): $self->{EndEsecs} = 1414444164 set_expd(): $self->{EndDtg} = 10/27/2014 8:49:24 PM _readLogr(): Reading videologr data from 2014300datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1414434900 & 1414444164 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1414444173, self->{EndEsecs} = 1414444164 _readLogr(): #LOGHOST_SYSTEM_UTC = 926 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1414434902 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1414444163 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1414434902 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1414444163 refineStartAndEndEsecs(): numMinBack = 22, numMinForward = 22 refineStartAndEndEsecs(): Refined StartEsecs = 1414434780, Refined EndEsecs = 1414444284 _readLogr(): Reading videologr data from 2014300datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1414434780 & 1414444284 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1414444293, self->{EndEsecs} = 1414444284 _readLogr(): #LOGHOST_SYSTEM_UTC = 950 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1414434782 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1414444283 bin\geopdvc.pl: expdid = 5136 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 = 300 (looping to 300) Does file exist?: \\atlas\RovNavEdit\2014\vnta\nav2014300vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2014\vnta\nav2014300vnta.txt esecs, east, north, lat, lon, head, pres 1414434940, 0, 0, 36.735798, -121.932167, 307.6, 2.84 1414435441, 0, 0, 36.735798, -121.932167, 331.2, 2.83 1414436311, 0, 0, 36.803672, -122.124835, 48.9, 89.60 1414436812, 0, 0, 36.803827, -122.124428, 4.6, 199.55 1414437312, 0, 0, 36.804327, -122.125552, 287.9, 198.74 1414437813, 0, 0, 36.804378, -122.127693, 303.9, 210.64 1414438314, 0, 0, 36.804950, -122.129992, 304.3, 221.71 1414438815, 0, 0, 36.805448, -122.132348, 303.9, 236.34 1414439316, 0, 0, 36.806813, -122.133305, 7.3, 239.53 1414439817, 0, 0, 36.808940, -122.132757, 13.5, 215.54 1414440317, 0, 0, 36.810585, -122.132082, 32.6, 205.75 1414440818, 0, 0, 36.812137, -122.131103, 26.4, 205.29 1414441319, 0, 0, 36.813512, -122.131188, 292.4, 200.81 1414441820, 0, 0, 36.813582, -122.133627, 276.8, 200.34 1414442321, 0, 0, 36.813295, -122.133818, 323.0, 119.51 1414442822, 0, 0, 36.812565, -122.132492, 319.6, 8.22 rovNav(): 300: 8064 in tList after reading from \\atlas\RovNavEdit\2014\vnta\nav2014300vnta.txt 8064 in tList 8064 in {self->{rovT}} 8064 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1414436355 & 1414441020 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 200.407793842266 rovGDCListRefs(): dStats->sample_range = 243.000787052182 rovGDCListRefs(): returning (1st elements): 1414434780 36.735798 -121.932167 308.3 2.82892565780957 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 300 (looping to 300) Does file exist?: \\atlas\RovNavEdit\2014\vnta\nav2014300vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\atlas\RovNavEdit\2014\vnta\nav2014300vntaedited.txt esecs, east, north, lat, lon, head, pres 1414434940, 0, 0, 36.780516, -122.051260, 307.6, 2.84 1414435441, 0, 0, 36.780517, -122.051261, 331.2, 2.83 1414436311, 0, 0, 36.803768, -122.124731, 48.9, 89.60 1414436812, 0, 0, 36.803784, -122.124405, 4.6, 199.55 1414437312, 0, 0, 36.804329, -122.125563, 287.9, 198.74 1414437813, 0, 0, 36.804389, -122.127712, 303.9, 210.64 1414438314, 0, 0, 36.804945, -122.129995, 304.3, 221.71 1414438815, 0, 0, 36.805448, -122.132354, 303.9, 236.34 1414439316, 0, 0, 36.806785, -122.133309, 7.3, 239.53 1414439817, 0, 0, 36.808957, -122.132752, 13.5, 215.54 1414440317, 0, 0, 36.810581, -122.132092, 32.6, 205.75 1414440818, 0, 0, 36.812190, -122.131028, 26.4, 205.29 1414441319, 0, 0, 36.813552, -122.131216, 292.4, 200.81 1414441820, 0, 0, 36.813584, -122.133603, 276.8, 200.34 1414442321, 0, 0, 36.812332, -122.131233, 323.0, 119.51 1414442822, 0, 0, 36.812513, -122.132399, 319.6, 8.22 rovNav(): 300: 8064 in tList after reading from \\atlas\RovNavEdit\2014\vnta\nav2014300vntaedited.txt 8064 in tList 8064 in {self->{rovT}} 8064 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1414436355 & 1414441020 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.......................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 200.407793682638 rovGDCListRefs(): dStats->sample_range = 243.000785377658 rovGDCListRefs(): returning (1st elements): 1414434780 36.780516 -122.051260 308.3 2.82891446714434 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.80614300 hash{lon} = -122.13087300 latMin = 30.806143 latMax = 42.806143 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.806143 AND 42.806143 AND Longitude BETWEEN -128.130873 AND -116.130873 Dive lat = 36.80614300, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -122.13087300 & lat = 36.80614300 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3809rov_oframeGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2014/300/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2014/300/accesses.txt at bin\geopdvc.pl line 625 frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2014/vnta3809: Bad file descriptor at bin\geopdvc.pl line 625 rig.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 = geo2014/vnta/vnta3809lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = rcsn shipNav(): WARNING: no match for ShipName = rcsn shipNav(): $#{$self->{shipLat}} = 950 shipNav(): $#{$self->{shipLat}}[last] = 36.803690 Position subsampling set to 7 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 = 8065 makeTracks(): Looping through 950 point of ship position data... makeTracks(): posSubsample = 7 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3809tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2014/vnta/vnta3809mergedCtdNav.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 '10/27/2014 6:55:00 PM' AND '10/27/2014 8:49:24 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '10/27/2014 6:55:00 PM' AND '10/27/2014 8:49:24 PM') _findIndex(): Looking for epoch secs 1414439586 ... Found time 1414439581 after 8 iterations. >>> p = 4425: annotations(): 4425, 1414439586, 10/27/14 19:53:06, V3800-02HD, 11:26:50:17, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3800/11_26_50_17.jpg, , descend, whpa, u, 20056309 _findIndex(): Looking for epoch secs 1414439587 ... Found time 1414439589 after 9 iterations. >>> p = 4433: annotations(): 4433, 1414439587, 10/27/14 19:53:07, V3800-02HD, 11:26:51:17, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3800/11_26_51_17.jpg, , descend, whpa, u, 20056310 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta3809anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... placeAnnotations(): Placing annotation 2: Ancillary data = ["", "P: 221.7 db", "T: 9.059 C", "S: 33.956", "O: 2.112 ml/l", "L: 85.95 %"] inline_name = vnta3809anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: physical object Ancillary data = ["physical object", "P: 222.4 db", "T: 9.057 C", "S: 33.957", "O: 2.118 ml/l", "L: 85.93 %"] placeAnnotations(): Placing annotation 2: Ancillary data = ["", "P: 221.7 db", "T: 9.059 C", "S: 33.956", "O: 2.112 ml/l", "L: 85.95 %"] inline_name = vnta3809anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2014/vnta3809... 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 '10/27/2014 6:55:00 PM' AND '10/27/2014 8:49:24 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2014/vnta/vnta3809.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',5136,'/3Dreplay/3D.asp?dives=vnta3809','vnta3809','','','',3809 Executing sql: UPDATE Dive SET DiveLatMid = 36.8061, DiveLonMid = -122.1309, DiveDepthMid = -200.4 WHERE RovName = 'vnta' AND DiveNumber = 3809