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.1.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.1-py3-none-any.whl (2.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: csbprivatetest-0.1.1.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.1.tar.gz
Algorithm Hash digest
SHA256 eebef9305220144f266e32841d040dbf8c29c8381557c0b6de1e9a51d0c3453c
MD5 e8252c4b11d45c15cc21ed8252dbd152
BLAKE2b-256 49af2d51aec6e8b8a6d714a8da8ad69a87b7c1ee9e3f3fc99a3829ecda68f279

See more details on using hashes here.

File details

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

File metadata

  • Download URL: csbprivatetest-0.1.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 31d7b966c6d83f5c2fb246d138d6becd2698ff3e6b4d211f57c1265302bc8af9
MD5 bc093a48ce12b0eff8faf1a97dda545c
BLAKE2b-256 3b62c8b39d81ba4ad6aa21399f36edf2937f9bf753c6e850be23ba0d0c4304c8

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