Running bin\geopdvc.pl at Fri Dec 18 03:02:02 2009 on host solstice Command line: bin\geopdvc.pl -rov vnta -dive 3438 bin\geopdvc.pl: Getting Expedition object for diveno = 3438 and rname = vnta set_expd(): rov = vnta, diveno = 3438 set_expd(): $self->{EndDDD} = 293 set_expd(): $self->{StartEsecs} = 1256070449 set_expd(): $self->{EndEsecs} = 1256077367 set_expd(): $self->{EndDtg} = 10/20/2009 10:02:47 PM _readLogr(): Reading videologr data from 2009293datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1256070449 & 1256077367 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1256077377, self->{EndEsecs} = 1256077367 _readLogr(): #LOGHOST_SYSTEM_UTC = 691 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1256070456 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1256077367 set_expd(): Calling _refineStartAndEndEsecs... refineStartAndEndEsecs(): LOGHOST_SYSTEM_UTC[0] = 1256070456 refineStartAndEndEsecs(): $LOGHOST_SYSTEM_UTC[end] = 1256077367 refineStartAndEndEsecs(): setting StartEsecs to 1256070449 refineStartAndEndEsecs(): setting EndEsecs to 1256071626 refineStartAndEndEsecs(): numMinBack = 2.38333333333333, numMinForward = 9.33333333333333 refineStartAndEndEsecs(): Refined StartEsecs = 1256071506, Refined EndEsecs = 1256076727 _readLogr(): Reading videologr data from 2009293datavislogr.dat.gz. _readLogr(): Expedition start & stop times are 1256071506 & 1256076727 _readLogr(): Flushing variable names: _readLogr(): esecs of file line[0] = 1256076737, self->{EndEsecs} = 1256076727 _readLogr(): #LOGHOST_SYSTEM_UTC = 521 _readLogr(): $LOGHOST_SYSTEM_UTC[beg] = 1256071516 _readLogr(): $LOGHOST_SYSTEM_UTC[end] = 1256076727 bin\geopdvc.pl: expdid = 4198 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 = 293 (looping to 293) Does file exist?: \\tornado\TempNav\2009\vnta\nav2009293vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\tornado\TempNav\2009\vnta\nav2009293vnta.txt esecs, east, north, lat, lon, head, pres 1256072099, 0, 0, 36.778725, -121.951337, 34.8, 140.27 1256072600, 0, 0, 36.778528, -121.952052, 34.4, 386.14 1256073101, 0, 0, 36.778277, -121.952480, 34.9, 446.19 1256073602, 0, 0, 36.778038, -121.952743, 81.2, 392.36 1256074103, 0, 0, 36.777840, -121.953325, 110.0, 381.45 1256074604, 0, 0, 36.777652, -121.953707, 105.3, 453.74 1256075105, 0, 0, 36.777507, -121.954410, 255.0, 299.75 1256075606, 0, 0, 36.777327, -121.955092, 277.5, 200.89 1256076107, 0, 0, 36.778318, -121.954840, 237.6, 10.40 rovNav(): 293: 4366 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009293vnta.txt 4366 in tList 4366 in {self->{rovT}} 4366 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1256073795 & 1256072595 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): ....................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 373.226338678629 rovGDCListRefs(): dStats->sample_range = 449.736680172265 rovGDCListRefs(): returning (1st elements): 1256071752 36.781648 -121.936092 69.1 2.02491100008175 geopdcv.pl(): editedNav flag = 1 Using mbnavedit edited Navigation. rovnavCTDO(): calcUTM = 0 rovNav(): 1, calcUTM = 0 rovNav(): calcUTM = 0 rovNav(): DDD = 293 (looping to 293) Does file exist?: \\tornado\TempNav\2009\vnta\nav2009293vntaedited.txt yes. EXPD.pm: editNav flag = rovNav(): Opening ROV nav data from \\tornado\TempNav\2009\vnta\nav2009293vntaedited.txt esecs, east, north, lat, lon, head, pres 1256072099, 0, 0, 36.778722, -121.951349, 34.8, 140.27 1256072600, 0, 0, 36.778546, -121.952026, 34.4, 386.14 1256073101, 0, 0, 36.778278, -121.952468, 34.9, 446.19 1256073602, 0, 0, 36.778044, -121.952732, 81.2, 392.36 1256074103, 0, 0, 36.777859, -121.953336, 110.0, 381.45 1256074604, 0, 0, 36.777638, -121.953711, 105.3, 453.74 1256075105, 0, 0, 36.777483, -121.954377, 255.0, 299.75 1256075606, 0, 0, 36.777308, -121.955060, 277.5, 200.89 1256076107, 0, 0, 36.778048, -121.954838, 237.6, 10.40 rovNav(): 293: 4366 in tList after reading from \\tornado\TempNav\2009\vnta\nav2009293vntaedited.txt rovNav(): Initial # seconds to fill at beginning of dive = 246 starting at StartEsecs = 1256071506 rovNav(): Initial # seconds to fill at end of dive = 559 ending at EndEsecs =1256076727 rovNav(): LOGHOST_SYSTEM_UTC[0] = 1256071516 rovNav(): $LOGHOST_SYSTEM_UTC[end] = 1256076727 rovNav(): numMinBack = 2.21666666666667, numMinForward = 9.33333333333333 rovNav(): Refined StartEsecs = 1256071506, Refined EndEsecs = 1256076727 rovNav(): Refined # seconds to fill at beginning of dive = 246 starting at StartEsecs = 1256071506 rovNav(): Refined # seconds to fill at end of dive = 559 ending at EndEsecs =1256076727 rovNav(): num tList = 4366 rovNav(): num eList = 4366 rovNav(): Adding data to begining of dive from logr indices 0 .. 23 rovNav(): Adding data to end of dive from logr indices 466 .. 521 rovNav(): num in tList now = 4446 rovNav(): num in eList now = 4446 4446 in tList 4446 in {self->{rovT}} 4446 in {self->{rovH}} rovCTDO(): ROV CTDO start & stop times are 1256073795 & 1256072595 rovNavCTDO(): Looking up ROVCTDO data ('.'found, 'X' exceeds max iter.): XXXXXXXXXXXXXXXXXXXXXXXXXXXX..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................XXXXXXXX rovGDCListRefs(): dMedian = 372.02744789004 rovGDCListRefs(): dStats->sample_range = 456.731813095671 rovGDCListRefs(): returning (1st elements): 1256071516 36.777745 -121.950898 312.5 -5 bin\geopdvc.pl: ------------------------------------------------------------------------------- hash{lat} = 36.77793200 hash{lon} = -121.95323400 latMin = 30.777932 latMax = 42.777932 Executing sql: SELECT Area, Latitude, Longitude FROM GeoOrigin WHERE Latitude BETWEEN 30.777932 AND 42.777932 AND Longitude BETWEEN -127.953234 AND -115.953234 Dive lat = 36.77793200, area = cencal bin\geopdvc.pl: Found area = cencal in GeoOrigin For midpoint lon = -121.95323400 & lat = 36.77793200 Using olon = -122 & olat = 36 bin\geopdvc.pl: Calling makeROVorig... inline_name = vnta3438rov_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 = geo2009/vnta/vnta3438lookup.wrl bin\geopdvc.pl: Getting ship nav... shipNav(): selecting for ShipName = ptlo shipNav(): $#{$self->{shipLat}} = 521 shipNav(): $#{$self->{shipLat}}[last] = 36.779327 Position subsampling set to 4 setROVcolorlines(): Assigning color line for Light... varColors = LightColors index0 = 0.2500 0.2200 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 1.0000 0.0570 setROVcolorlines(): Assigning color line for Temp..frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/293/accesses.txt at bin\geopdvc.pl line 2382 frameGrabs(): Can't get http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/293/accesses.txt at bin\geopdvc.pl line 625 frameGrabs(): Can't read dir http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/vnta3438: Bad file descriptor at bin\geopdvc.pl line 625 . varColors = TempColors index0 = 1 0 0 makeTracks(): n = 4447 makeTracks(): Looping through 521 point of ship position data... makeTracks(): posSubsample = 4 makeTracks(): Writing tracks file... makeTracks(): INFO $sname = inline_name = vnta3438tracks.wrl writeCtdPosFile(): Writing merged CTD Nav data to geo2009/vnta/vnta3438mergedCtdNav.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 = 'Point Lobos') AND (RecordedDate BETWEEN '10/20/2009 8:47:29 PM' AND '10/20/2009 10:02:47 PM') OR (RovName = 'Ventana') AND (RecordedDate BETWEEN '10/20/2009 8:47:29 PM' AND '10/20/2009 10:02:47 PM') _findIndex(): Looking for epoch secs 1256074066 ... Found time 1256074066 after 5 iterations. >>> p = 2292: annotations(): 2292, 1256074066, 10/20/09 21:27:46, V3437-01HD, 03:25:30:19, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3437/03_25_30_19.jpg, , ascend, etp3, o, 20038357 _findIndex(): Looking for epoch secs 1256074263 ... Found time 1256074265 after 8 iterations. >>> p = 2491: annotations(): 2491, 1256074263, 10/20/09 21:31:03, V3437-01HD, 03:28:47:10, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3437/03_28_47_10.jpg, , ascend, etp3, o, 20038358 _findIndex(): Looking for epoch secs 1256075252 ... Found time 1256075249 after 4 iterations. >>> p = 3473: annotations(): 3473, 1256075252, 10/20/09 21:47:32, V3437-01HD, 03:45:15:06, physical object, http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/images/3437/03_45_15_06.jpg, , ascend, etp3, o, 20038359 bin\geopdvc.pl: Calling placeAnnotations with every 10 annotation... inline_name = vnta3438anno10.wrl bin\geopdvc.pl: Calling placeAnnotations with every 2 annotation... placeAnnotations(): Placing annotation 2: physical object Ancillary data = ["physical object", "P: 396.1 db", "T: 7.095 C", "S: 34.159", "O: 0.586 ml/l", "L: 85.61 %"] inline_name = vnta3438anno02.wrl bin\geopdvc.pl: Calling placeAnnotations with every 1 annotation... placeAnnotations(): Placing annotation 1: physical object Ancillary data = ["physical object", "P: 387.8 db", "T: 7.094 C", "S: 34.158", "O: 0.57 ml/l", "L: 86.12 %"] placeAnnotations(): Placing annotation 2: physical object Ancillary data = ["physical object", "P: 396.1 db", "T: 7.095 C", "S: 34.159", "O: 0.586 ml/l", "L: 85.61 %"] placeAnnotations(): Placing annotation 3: Ancillary data = ["", "P: 257.7 db", "T: 8.508 C", "S: 34.041", "O: 1.252 ml/l", "L: 85.79 %"] inline_name = vnta3438anno01.wrl frameGrabs(): Getting images from http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2009/vnta3438... 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/20/2009 8:47:29 PM' AND '10/20/2009 10:02:47 PM') AND ROVName = 'Ventana' ORDER BY CollectionEventDTG bin\geopdvc.pl: World = geo2009/vnta/vnta3438.wrl Adding record to ExpeditionData table... Executing sql: exec insertExpeditionData '3Dreplay','','',4198,'/3Dreplay/3D.asp?dives=vnta3438','vnta3438','','','',3438 Executing sql: UPDATE Dive SET DiveLatMid = 36.7779, DiveLonMid = -121.9532, DiveDepthMid = -372.0 WHERE RovName = 'vnta' AND DiveNumber = 3438