Exemplo n.º 1
0
                'BED00158.nc', 'BED00159.nc', 'BED00160.nc', 'BED00161.nc',
                'BED00162.nc', 'BED00163.nc', 'BED00164.nc', 'BED00166.nc',
                'BED00167.nc', 'BED00169.nc', 'BED00170.nc', 'BED00172.nc',
                'BED00173.nc', 'BED00174.nc', 'BED00175.nc', 'BED00176.nc',
                'BED00177.nc', 'BED00178.nc', 'BED00179.nc', 'BED00180.nc',
                'BED00181.nc', 'BED00182.nc', 'BED00183.nc', 'BED00185.nc',
                'BED00186.nc', 'BED00197.nc', 'BED00198.nc', 'BED00200.nc',
                'BED00203.nc', 'BED00204.nc', 'BED00205.nc', 'BED00206.nc',
                'BED00207.nc', 'BED00211.nc', 'BED00212.nc', 'BED00213.nc',
                'BED00214.nc', 'BED00215.nc', 'BED00216.nc', 'BED00217.nc',
                'BED00218.nc', 'BED00219.nc', 'BED00220.nc', 'BED00221.nc',
                'BED00222.nc', 'BED00223.nc', 'BED00224.nc', 'BED00227.nc',
                'BED00229.nc', 'BED00230.nc', 'BED00231.nc']

##bl.bed_parms = ['XA', 'XR', 'PRESS', 'BED_DEPTH']
bl.bed_parms = ['XA', 'YA', 'ZA', 'XR', 'YR', 'ZR', 'PRESS', 'BED_DEPTH']


# Execute the load
bl.process_command_line()

if bl.args.test:
    bl.loadBEDS(stride=10)

elif bl.args.optimal_stride:
    bl.loadBEDS(stride=1)

else:
    bl.stride = bl.args.stride
    bl.loadBEDS()
Exemplo n.º 2
0
        },
    },
    # Do not check in .grd files to the repository, keep them in the loaders directory
    grdTerrain=os.path.join(parentDir, 'MontereyCanyonBeds_1m+5m.grd'),
)

# Base OPeNDAP server
bl.bed_base = 'http://elvis64.shore.mbari.org/opendap/data/beds/CanyonEvents/20130601/BED1/netcdf/'
# Copied from ProjectLibrary to Hyrax server on elvis with:
#   rsync -r /mbari/ProjectLibrary/901006.BEDS/BEDS.Data/CanyonEvents /var/www/dods_html/data/beds

##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'MX', 'MY', 'MZ', 'ROT', 'PRESS', 'BED_DEPTH']   # For timeSeries
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'MX', 'MY', 'MZ', 'ROT']
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROT', 'ROTRATE']
bl.bed_parms = [
    'XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROTRATE', 'ROTCOUNT', 'P'
]

bl.bed_files = [
    'BED01_1_June_2013.nc',
    ##                'bed03/30100046_partial_decimated10.nc',
]
bl.bed_platforms = [
    'BED01',
    ##                     'BED03',
]

bl.bed_depths = [
    303,
    ##
]
Exemplo n.º 3
0
                                        'speed': '1.0',
                                        'zNear': '100.0',
                                        'zFar': '30000.0',
                                    },
                                 },
                                 # Do not check in .grd files to the repository, keep them in the loaders directory
                                 grdTerrain=os.path.join(parent_dir, 'MontereyCanyonBeds_1m+5m.grd'),
               )

# Base OPeNDAP server
bl.bed_base = 'http://elvis64.shore.mbari.org/opendap/data/CCE_Processed/BEDs/'

# Copied from ProjectLibrary to BEDs SVN working dir for netCDF conversion, and then copied to elvis.
# See BEDs/BEDs/Visualization/py/makeBEDNetCDF_CCE.sh

bl.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
##bl.bed_files = [('CanyonEvents/BED3/20151001_20160115/{}.nc').format(n) for n in range(30200078, 30200081)]
##bl.bed_platforms = ['BED03'] * len(bl.bed_files)
##bl.bed_depths = [201] * len(bl.bed_files)

# Just the event files for the CCE
bl.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',
               ]
bl.bed_platforms = ['BED05', 'BED03', 'BED06', 'BED03']
Exemplo n.º 4
0
                                 grdTerrain=os.path.join(parentDir, 'MontereyCanyonBeds_1m+5m.grd'),

               )

# Base OPeNDAP server
bl.tdsBase = 'http://odss-test.shore.mbari.org/thredds/'
bl.dodsBase = bl.tdsBase + 'dodsC/'       

# Files created by bed2netcdf.py from the BEDS SVN BEDS repository
bl.bed_base = bl.dodsBase + 'BEDS/'
# Copied from ProjectLibrary to Hyrax server on elvis with:
#   rsync -r /mbari/ProjectLibrary/901006.BEDS/BEDS.Data/CanyonEvents /var/www/dods_html/data/beds
bl.bed_base = 'http://elvis.shore.mbari.org/opendap/hyrax/data/beds/CanyonEvents/20130601/BED1/netcdf/'
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'MX', 'MY', 'MZ', 'ROT', 'PRESS', 'BED_DEPTH']   # For timeSeries
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'MX', 'MY', 'MZ', 'ROT']
bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROT', 'ROTRATE']

bl.bed_files = ['BED01_1_June_2013.nc',
##                'bed03/30100046_partial_decimated10.nc',
               ]
bl.bed_platforms = [ 'BED01',
##                     'BED03',
                   ]

bl.bed_depths = [ 303,
##
                ]

# Execute the load
bl.process_command_line()
Exemplo n.º 5
0
               )

# Base OPeNDAP server
bl.tdsBase = 'http://odss-test.shore.mbari.org/thredds/'
bl.dodsBase = bl.tdsBase + 'dodsC/'       

# Files created by bed2netcdf.py from the BEDS SVN BEDS repository
bl.bed_base = bl.dodsBase + 'BEDS/'
# Copied from ProjectLibrary to Hyrax server on elvis with:
#   rsync -r /mbari/ProjectLibrary/901006.BEDS/BEDS.Data/CanyonEvents /var/www/dods_html/data/beds
bl.bed_base = 'http://elvis.shore.mbari.org/opendap/hyrax/data/beds/CanyonEvents/20130601/BED1/netcdf/'
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'MX', 'MY', 'MZ', 'ROT', 'PRESS', 'BED_DEPTH']   # For timeSeries
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'MX', 'MY', 'MZ', 'ROT']
##bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROT', 'ROTRATE']
bl.bed_parms = ['XA', 'YA', 'ZA', 'A', 'XR', 'YR', 'ZR', 'ROTRATE', 'ROTCOUNT']

bl.bed_files = ['BED01_1_June_2013.nc',
##                'bed03/30100046_partial_decimated10.nc',
               ]
bl.bed_platforms = [ 'BED01',
##                     'BED03',
                   ]

bl.bed_depths = [ 303,
##
                ]

# Execute the load
bl.process_command_line()