Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • kadlu kadlu
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 17
    • Issues 17
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • kadlukadlu
  • Issues
  • #85

Closed
Open
Created May 08, 2021 by Nikita Kovaloff@nk317845

Error raised when computing transmission loss

image

import kadlu
kadlu.storage_cfg()

import numpy as np
from datetime import datetime
import matplotlib.pyplot as plt

kwargs = dict(
        south=44, west=-61, 
        north=46, east=-59,
        bottom=126, top=0,
        start=datetime(2015, 8, 18), end=datetime(2015, 8, 25)
)

data_sources = dict(load_temp='hycom', load_salinity='hycom')




station2 = kadlu.Ocean(**kwargs, **data_sources)

seafloor = {'sound_speed':1700,'density':1.5,'attenuation':0.5}

sound_source = {'freq': 100, 'lat': 45.43, 'lon': -59.76, 'source_depth': 126}

transm_loss = kadlu.transmission_loss(seafloor=seafloor, 
                                propagation_range=30, 
                                **sound_source,
                                **kwargs, 
                                **data_sources)

transm_loss.calc(rec_depth=[0.1, 30], vertical=True, nz_max=1000)
Edited May 09, 2021 by Matthew
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking