grdTerrain=os.path.join(parentDir, 'MontereyCanyonBeds_1m+5m.grd'), ) # Base OPeNDAP server cl.bed_base = 'http://dods.mbari.org/opendap/data/beds/CanyonEvents/' # Copied from ProjectLibrary to Hyrax server on elvis with: # rsync -r /mbari/ProjectLibrary/901006.BEDS/BEDS.Data/CanyonEvents /var/www/dods_html/data/beds cl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROT_RATE', 'ROT_COUNT', 'P', 'P_ADJUSTED', 'P_RATE', 'P_SPLINE', 'P_SPLINE_RATE', 'ROT_DIST', 'IMPLIED_VELOCITY', 'BED_DEPTH', 'DIST_TOPO', 'TUMBLE_RATE', 'TUMBLE_COUNT', 'TUMBLE_DIST', 'ROT_PLUS_TUMBLE_DIST'] cl.bed_files = [ '20130601/BED1/netcdf/BED01_1_June_2013.nc', '20140218/BED3/netcdf/30100046_trajectory.nc', '20140218/BED3/netcdf/30100048.nc', '20140218/BED3/netcdf/30100049_trajectory.nc', '20140330/BED3/netcdf/30100518_trajectory.nc', ] cl.bed_platforms = [ 'BED01', 'BED03', 'BED03', 'BED03', 'BED03', ] cl.bed_depths = [ 303, 295, 388,
('BED06/MBCCE_BED06_20160222_Event20170109/netcdf/60200219_decim_traj.nc', ''), ('BED03/MBCCE_BED03_20161005_Event20170203/netcdf/30400034_full_traj.nc', ''), ('BED06/MBCCE_BED06_20160222_Event20170203/netcdf/60200236_decim_traj.nc', ''), ('BED06/MBCCE_BED06_20160222_Event20170218/netcdf/60200246_decim_traj.nc', ''), ('BED11/MBCCE_BED11_20161010_Event20170203/netcdf/B0100036_full_traj.nc', ''), ('BED11/MBCCE_BED11_20161010_Event20170203/netcdf/B0100037_full.nc', ''), ] cl.bed_files_framegrabs = cl.bed_files_framegrabs_2015 + cl.bed_files_framegrabs_2016 + cl.bed_files_framegrabs_2017 cl.bed_files = [ffg[0] for ffg in cl.bed_files_framegrabs] cl.bed_framegrabs = [ffg[1] for ffg in cl.bed_files_framegrabs] cl.bed_platforms = [f.split('/')[0] for f in cl.bed_files ] cl.bed_depths = np.round(cl.get_start_bed_depths(), 1) # CCE event start and end times for loading mooring data Event = namedtuple('Event', ['start', 'end']) lores_event_times = [ Event(datetime(2016, 1, 15, 0, 0), datetime(2016, 1, 18, 0, 0)), Event(datetime(2016, 3, 5, 0, 0), datetime(2016, 3, 8, 0, 0)), ] hires_event_times = [ Event(datetime(2016, 1, 15, 21, 0), datetime(2016, 1, 16, 2, 0)), Event(datetime(2016, 3, 6, 0, 0), datetime(2016, 3, 7, 0, 0)), ]
cl.bed_files = [ 'BED05/MBCCE_BED05_20151027_Event20151201/netcdf/50200024_trajectory.nc', 'BED03/20151001_20160115/netcdf/30200078_trajectory.nc', 'BED06/20151001_20160115/netcdf/60100068_trajectory.nc', 'BED03/MBCCE_BED03_20160212_Event20160217/netcdf/30300004_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200054_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200055_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200056_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200057_trajectory.nc', 'BED03/MBCCE_BED03_20160212_Event20160306/netcdf/30300016_trajectory.nc', 'BED04/MBCCE_BED04_20151004_Event20151201/netcdf/40100037_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20160306/netcdf/60200011_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20160306/netcdf/60200012_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20160901/netcdf/60200130_trajectory.nc', 'BED09/MBCCE_BED09_20160408_Event20160901/netcdf/90100096_trajectory.nc', 'BED10/MBCCE_BED10_20160408_Event20160901/netcdf/A0100096_trajectory.nc', 'BED00/Simulated/netcdf/BED00_SIM_rolling_trajectory.nc', ] + [ 'BED09/MBCCE_BED09_20160408_Event20161124/netcdf/901001{}_trajectory.nc'.format(n) for n in range(56, 66) ] + [ 'BED03/MBCCE_BED03_20161005_Event20161124/netcdf/30400015_trajectory.nc', 'BED10/MBCCE_BED10_20160408_Event20161124/netcdf/A0100154_trajectory.nc', ] + [ 'BED09/MBCCE_BED09_20160408_Watch/netcdf/9010000{}.nc'.format(n) for n in range(4, 8) ] + [ 'BED09/MBCCE_BED09_20160408_Event20170109/netcdf/90100196_trajectory.nc', 'BED11/MBCCE_BED11_20161010_Event20170109/netcdf/B0100026_trajectory.nc', 'BED11/MBCCE_BED11_20161010_Event20170109/netcdf/B0100028_trajectory.nc', 'BED00/Simulated/netcdf/BED00_cycle_rot_axes_200_202_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20161124/netcdf/80200014_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20161124/netcdf/80200016_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20161124/netcdf/80200019_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20161124/netcdf/80200020_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20170109/netcdf/80200034_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20170109/netcdf/80200039_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20170203/netcdf/80200046_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20170218/netcdf/80200050_trajectory.nc', 'BED08/MBCCE_BED08_20161005_Event20170218/netcdf/80200052_trajectory.nc', 'BED11/MBCCE_BED11_20161010_Event20161124/netcdf/B0100012_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20170109/netcdf/60200218_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20170109/netcdf/60200219_trajectory.nc', 'BED03/MBCCE_BED03_20161005_Event20170203/netcdf/30400034_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20170203/netcdf/60200236_trajectory.nc', 'BED06/MBCCE_BED06_20160222_Event20170218/netcdf/60200246_trajectory.nc', ]
cl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROT_RATE', 'ROT_COUNT', 'P', 'P_ADJUSTED', 'P_RATE', 'P_SPLINE', 'P_SPLINE_RATE', 'ROT_DIST', 'IMPLIED_VELOCITY', 'BED_DEPTH'] # Several BED files: 30200078 to 3020080 # bed_files, bed_platforms, bed_depths must have same number of items; they are zipped together in the load ##cl.bed_files = [('CanyonEvents/BED3/20151001_20160115/{}.nc').format(n) for n in range(30200078, 30200081)] ##cl.bed_platforms = ['BED03'] * len(cl.bed_files) ##cl.bed_depths = [201] * len(cl.bed_files) # Just the event files for the CCE cl.bed_files = [ 'BED05/MBCCE_BED05_20151027_Event20151201/netcdf/50200024_decimated_trajectory.nc', 'BED03/20151001_20160115/netcdf/30200078_trajectory.nc', 'BED06/20151001_20160115/netcdf/60100068_trajectory.nc', 'BED03/MBCCE_BED03_20160212_Event20160217/netcdf/30300004_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200054_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200055_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200056_trajectory.nc', 'BED05/MBCCE_BED05_20151027_Event20160115/netcdf/50200057_trajectory.nc', 'BED03/MBCCE_BED03_20160212_Event20160306/netcdf/30300016_trajectory.nc', 'BED04/MBCCE_BED04_20151004_Event20151201/netcdf/40100037_trajectory.nc', ] cl.bed_platforms = ['BED05', 'BED03', 'BED06', 'BED03', 'BED05', 'BED05', 'BED05', 'BED05', 'BED03', 'BED04'] cl.bed_depths = [388, 201, 521, 289.3, 413, 420, 430, 433, 308, 294] cl.bed_framegrabs = [ 'http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2015/vnta3873/00_29_56_03.html', 'http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2015/vnta3874/00_21_23_28.html', 'http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2015/vnta3870/00_15_38_23.html', '', '', '', '',
# Copied from ProjectLibrary to BEDs SVN working dir for netCDF conversion, and then copied to elvis. # See BEDs/BEDs/Visualization/py/makeBEDNetCDF_CCE.sh cl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROTRATE', 'ROTCOUNT', 'P', 'P_ADJUSTED', 'DEPTH'] # Several BED files: 30200078 to 3020080 # bed_files, bed_platforms, bed_depths must have same number of items; they are zipped together in the load ##cl.bed_files = [('CanyonEvents/BED3/20151001_20160115/{}.nc').format(n) for n in range(30200078, 30200081)] ##cl.bed_platforms = ['BED03'] * len(cl.bed_files) ##cl.bed_depths = [201] * len(cl.bed_files) # Just the event files for the CCE cl.bed_files = [ 'BED5/MBCCE_BED5_20151027_Event20151201/netcdf/50200024_decimated_trajectory.nc', 'BED3/20151001_20160115/netcdf/30200078_trajectory.nc', 'BED6/20151001_20160115/netcdf/60100068_trajectory.nc', 'BED3/MBCCE_BED3_20160212_Event20170217/netcdf/30300004_trajectory.nc', ] cl.bed_platforms = ['BED05', 'BED03', 'BED06', 'BED03'] cl.bed_depths = [388, 201, 521, 289.3] cl.bed_framegrabs = [ 'http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2015/vnta3873/00_29_56_03.html', 'http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2015/vnta3874/00_21_23_28.html', 'http://search.mbari.org/ARCHIVE/frameGrabs/Ventana/stills/2015/vnta3870/00_15_38_23.html', '', ] # CCE BIN data cl.ccebin_startDatetime = datetime(2016, 1, 15) cl.ccebin_endDatetime = datetime(2016, 1, 18) cl.ccebin_nominaldepth = 1840
''), ('BED06/MBCCE_BED06_20160222_Event20170109/netcdf/60200219_decim_traj.nc', ''), ('BED03/MBCCE_BED03_20161005_Event20170203/netcdf/30400034_full_traj.nc', ''), ('BED06/MBCCE_BED06_20160222_Event20170203/netcdf/60200236_decim_traj.nc', ''), ('BED06/MBCCE_BED06_20160222_Event20170218/netcdf/60200246_decim_traj.nc', ''), ('BED11/MBCCE_BED11_20161010_Event20170203/netcdf/B0100036_full_traj.nc', ''), ('BED11/MBCCE_BED11_20161010_Event20170203/netcdf/B0100037_full.nc', ''), ] cl.bed_files_framegrabs = cl.bed_files_framegrabs_2015 + cl.bed_files_framegrabs_2016 + cl.bed_files_framegrabs_2017 cl.bed_files = [ffg[0] for ffg in cl.bed_files_framegrabs] cl.bed_framegrabs = [ffg[1] for ffg in cl.bed_files_framegrabs] cl.bed_platforms = [f.split('/')[0] for f in cl.bed_files] cl.bed_depths = np.round(cl.get_start_bed_depths(), 1) # CCE event start and end times for loading mooring data Event = namedtuple('Event', ['start', 'end']) lores_event_times = [ Event(datetime(2016, 1, 15, 0, 0), datetime(2016, 1, 18, 0, 0)), Event(datetime(2016, 3, 5, 0, 0), datetime(2016, 3, 8, 0, 0)), ] hires_event_times = [ Event(datetime(2016, 1, 15, 21, 0), datetime(2016, 1, 16, 2, 0)), Event(datetime(2016, 3, 6, 0, 0), datetime(2016, 3, 7, 0, 0)), ]