예제 #1
0
import datetime
os.environ['DJANGO_SETTINGS_MODULE']='settings'
project_dir = os.path.dirname(__file__)
sys.path.insert(0, os.path.join(os.path.dirname(__file__), "../"))  # settings.py is one dir up

from BEDS import BEDSLoader

bl = BEDSLoader('stoqs_beds2013', 'BEDS - 2013', 
                                x3dTerrains= { 
                                    'http://dods.mbari.org/terrain/x3d/MontereyCanyonBeds_1m+5m_1x/MontereyCanyonBeds_1m+5m_1x.x3d': {
                                        'position': '-2706054.97556 -4352297.32558 3798919.71875',
                                        'orientation': '0.92863 -0.26237 -0.26231 1.59089',
                                        'centerOfRotation': '-2700040.0076912297 -4342439.858864189 3798898.2847731174',
                                        'VerticalExaggeration': '1',
                                    },
                                    ##'/stoqs/static/x3d/Monterey25/Monterey25_10x-pop.x3d': {
                                    ##    'position': '-2822317.31255 -4438600.53640 3786150.85474',
                                    ##    'orientation': '0.89575 -0.31076 -0.31791 1.63772',
                                    ##    'centerOfRotation': '-2711557.9403829873 -4331414.329506527 3801353.4691465236',
                                    ##    'VerticalExaggeration': '10',
                                    ##}
                                 }

)

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

# Files created by bed2nc.py from the BEDS SVN BEDS repository
bl.bed_base = bl.dodsBase + 'BEDS_2013/beds01/'
예제 #2
0
parentDir = os.path.join(os.path.dirname(__file__), "../")
sys.path.insert(0, parentDir)  # settings.py is one dir up

from BEDS import BEDSLoader

bl = BEDSLoader(
    'stoqs_beds_canyon_events',
    'BEDS - Canyon Events',
    description=
    'Benthic Event Detector data for significant events in Monterey Canyon',
    x3dTerrains={
        'http://stoqs.mbari.org/terrain/MontereyCanyonBeds_1m+5m_1x_src/MontereyCanyonBeds_1m+5m_1x_src_scene.x3d':
        {
            'position': '2232.80938 10346.25515 3543.76722',
            'orientation': '-0.98394 0.16804 -0.06017 1.25033',
            'centerOfRotation': '0 0 0',
            'VerticalExaggeration': '1',
            'geoOrigin': '36.80, -121.87, -400',
            '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(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
예제 #3
0
bl = BEDSLoader('stoqs_beds_canyon_events', 'BEDS - Canyon Events',
                                description = 'Benthic Event Detector data for significant events in Monterey Canyon',
                                x3dTerrains = { 
                                    'http://dods.mbari.org/terrain/x3d/MontereyCanyonBeds_1m+5m_1x_GeoOrigin_-121_36_0/MontereyCanyonBeds_1m+5m_1x_GeoOrigin_-121_36_0_scene.x3d': {
                                        'position': '-44571.54862 77379.85721 71401.38520',
                                        'orientation': '0.92328 -0.26229 -0.28063 1.50408',
                                        'centerOfRotation': '-39420.23433350699 85753.45910644953 70752.14499748436',
                                        'geoOrigin': '-121 36 0',
                                        'VerticalExaggeration': '1',
                                        'speed': '0.1',
                                        'zNear': '1.0',
                                    },
                                    'http://dods.mbari.org/terrain/x3d/MontereyCanyonBeds_1m+5m_1x/MontereyCanyonBeds_1m+5m_1x_scene.x3d': {
                                        'position': '-44571.54862 77379.85721 71401.38520',
                                        'orientation': '0.92328 -0.26229 -0.28063 1.50408',
                                        'centerOfRotation': '-39420.23433350699 85753.45910644953 70752.14499748436',
                                        'VerticalExaggeration': '1',
                                        'speed': '0.1',
                                    },
                                    ##'/stoqs/static/x3d/Monterey25/Monterey25_10x-pop.x3d': {
                                    ##    'position': '-2822317.31255 -4438600.53640 3786150.85474',
                                    ##    'orientation': '0.89575 -0.31076 -0.31791 1.63772',
                                    ##    'centerOfRotation': '-2711557.9403829873 -4331414.329506527 3801353.4691465236',
                                    ##    'VerticalExaggeration': '10',
                                    ##}
                                 },
                                 # Do not check in .grd files to the repository, keep them in the loaders directory
                                 grdTerrain=os.path.join(parentDir, 'MontereyCanyonBeds_1m+5m.grd'),

               )
예제 #4
0
import sys
import datetime
parent_dir = os.path.join(os.path.dirname(__file__), "../")
sys.path.insert(0, parent_dir)  # settings.py is one dir up

from BEDS import BEDSLoader

bl = BEDSLoader('stoqs_cce2015', 'Coordinated Canyon Experiment',
                                description = 'Coordinated Canyon Experiment - Measuring turbidity flows in Monterey Submarine Canyon',
                                x3dTerrains = { 
                                    'http://stoqs.mbari.org/terrain/MontereyCanyonBeds_1m+5m_1x_src/MontereyCanyonBeds_1m+5m_1x_src_scene.x3d': {
                                        'position': '2232.80938 10346.25515 3543.76722',
                                        'orientation': '-0.98394 0.16804 -0.06017 1.25033',
                                        'centerOfRotation': '0 0 0',
                                        'VerticalExaggeration': '1',
                                        'geoOrigin': '36.80, -121.87, -400',
                                        '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
예제 #5
0
from BEDS import BEDSLoader

bl = BEDSLoader(
    'stoqs_beds_canyon_events',
    'BEDS - Canyon Events',
    description=
    'Benthic Event Detector data for significant events in Monterey Canyon',
    x3dTerrains={
        'http://dods.mbari.org/terrain/x3d/MontereyCanyonBeds_1m+5m_1x/MontereyCanyonBeds_1m+5m_1x_scene.x3d':
        {
            'position': '-2704971.16560 -4349573.89012 3799706.63115',
            'orientation': '0.91148 -0.29446 -0.28724 1.54276',
            'centerOfRotation':
            '-2699685.3015410705 -4341783.983487448 3798757.2834846685',
            'VerticalExaggeration': '1',
            'speed': '0.1',
        },
        ##'/stoqs/static/x3d/Monterey25/Monterey25_10x-pop.x3d': {
        ##    'position': '-2822317.31255 -4438600.53640 3786150.85474',
        ##    'orientation': '0.89575 -0.31076 -0.31791 1.63772',
        ##    'centerOfRotation': '-2711557.9403829873 -4331414.329506527 3801353.4691465236',
        ##    'VerticalExaggeration': '10',
        ##}
    },
    # 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.tdsBase = 'http://odss-test.shore.mbari.org/thredds/'
예제 #6
0
os.environ['DJANGO_SETTINGS_MODULE']='settings'
project_dir = os.path.dirname(__file__)
parentDir = os.path.join(os.path.dirname(__file__), "../")
sys.path.insert(0, parentDir)  # settings.py is one dir up

from BEDS import BEDSLoader

bl = BEDSLoader('stoqs_beds_canyon_events', 'BEDS - Canyon Events',
                                description = 'Benthic Event Detector data for significant events in Monterey Canyon',
                                x3dTerrains = { 
                                    'http://stoqs.mbari.org/terrain/MontereyCanyonBeds_1m+5m_1x_src/MontereyCanyonBeds_1m+5m_1x_src_scene.x3d': {
                                        'position': '2232.80938 10346.25515 3543.76722',
                                        'orientation': '-0.98394 0.16804 -0.06017 1.25033',
                                        'centerOfRotation': '0 0 0',
                                        'VerticalExaggeration': '1',
                                        'geoOrigin': '36.80, -121.87, -400',
                                        '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(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