Skip to main content

CSB Toolkit for Georeferencing and Uncertainty Calculations

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

csbprivatetest-0.1.2.tar.gz (2.7 kB view details)

Uploaded Source

Built Distribution

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

csbprivatetest-0.1.2-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

Details for the file csbprivatetest-0.1.2.tar.gz.

File metadata

  • Download URL: csbprivatetest-0.1.2.tar.gz
  • Upload date:
  • Size: 2.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for csbprivatetest-0.1.2.tar.gz
Algorithm Hash digest
SHA256 21292ce3d45466853793467a0f63a9f278c5c80c70451cd268335caf5677f837
MD5 fcb46ece2698f8a8fe5f7846e91c840a
BLAKE2b-256 dd35d0d1b037b62045b69d7afb6dabace6fa89fdea2b2d203a491ffe134d90bb

See more details on using hashes here.

File details

Details for the file csbprivatetest-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: csbprivatetest-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.18

File hashes

Hashes for csbprivatetest-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 309e21d115e3f42f348099bc7806b9f5b40bda47c39d129defee29e6d4854e37
MD5 8c0697c6eb38edf5a467958541698a37
BLAKE2b-256 c79ef12a3f623b7143678f121579e2b6e7bcf2fd572d57dc874a0b6727b17912

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