Skip to main content

Crowdsourced bathymetry toolkit

Project description

CSB

Crowdsourced bathymetry toolkit

Georeference

Get the XYZ position (in the ECEF frame) of a depth sounding (in the WGS84 frame)


# Example values
# latitude = math.radians(48.4525) //decimal degrees
# longitude = math.radians(-68.5232) //decimal degrees
# ellipsoidal_height = -28 //meters
# heading = math.radians(350)
# pitch = math.radians(0.5)
# roll = math.radians(1.5)
# depth = 5 //meters
# offset_x = 1 //meters
# offset_y = 2 //meters
# offset_z = 3 //meters

import georeference
g = georeference.Georeference()
result = g.compute(latitude,longitude,ellipsoidal_height,heading,pitch,roll,depth,offset_x,offset_y,offset_z)

Uncertainty

Get the uncertainty associated with an XYZ position (in the ECEF frame) of a depth sounding (in the WGS84 frame)

# Example values
# latitude = math.radians(48.4525) //decimal degrees
# longitude = math.radians(-68.5232) //decimal degrees
# ellipsoidal_height = -28 //meters
# heading = math.radians(350)
# pitch = math.radians(0.5)
# roll = math.radians(1.5)
# depth = 5 //meters
# offset_x = 1 //meters
# offset_y = 2 //meters
# offset_z = 3 //meters
# latitude_sigma = 0.00001
# longitude_sigma = 0.0001
# ellipsoidal_height_sigma = 1
# heading_sigma = 1
# pitch_sigma = 1
# roll_sigma = 1
# depth_sigma = 0.5
# offset_x_sigma = 0.0000001
# offset_y_sigma = 0.0000001
# offset_z_sigma = 0.0000001

import uncertainty
u = uncertainty.TotalPropagatedUncertainty()
result = u.compute(latitude,longitude,ellipsoidal_height,heading,pitch,roll,depth,offset_x,offset_y,offset_z,latitude_sigma,longitude_sigma,ellipsoidal_height_sigma,heading_sigma,pitch_sigma,roll_sigma,depth_sigma,offset_x_sigma,offset_y_sigma,offset_z_sigma)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

csbtest-0.1.0.tar.gz (5.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

csbtest-0.1.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file csbtest-0.1.0.tar.gz.

File metadata

  • Download URL: csbtest-0.1.0.tar.gz
  • Upload date:
  • Size: 5.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for csbtest-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f35dec73388b87ea7e03e16354b1aac5327e9f52faf2bcee45788cf6a5293fb7
MD5 c009868476510a0f11c579ae9fba316b
BLAKE2b-256 c21d22bd87b5fe9030c400e4698423680f8c7238a5f2507878ddc2d0dbfe57a1

See more details on using hashes here.

File details

Details for the file csbtest-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: csbtest-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.11.4

File hashes

Hashes for csbtest-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4fdb42ce1f08e6053e58ad5b148f4089dcb07ac4a3f1f13d8b6057948474d7de
MD5 d6c7b9e12a52c6c620e49fba8bd95b69
BLAKE2b-256 0abb30bc5ab552228de51e7f3ffb32d0f6a602df127c28efdd68f5af0551a304

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page