Skip to main content

Crowdsourced bathymetry toolkit

Project description

csbtoolkit

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

from csbtoolkit 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

from csbtoolkit 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

csbtoolkit-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for csbtoolkit-0.1.0.tar.gz
Algorithm Hash digest
SHA256 f1cc7be425df3115471c3aa356f8077095ed2c000867bf86c8dc0c1295738329
MD5 3a4601125930de23ac3d102ab0ae7fcd
BLAKE2b-256 5143bf1cf114f90d30c50cfe3f0ba04b51e38d94aa11442cffaa2c3ecbfc5aa4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: csbtoolkit-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 csbtoolkit-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 17066cd6a80ca2ff27a61d0260b7d0d84acd890a8d2ae2d38a37a2ee62b377aa
MD5 71c21aa951577b0354cf979036d7b4b0
BLAKE2b-256 d7767d55331074900bbc08f4d4b2f990a3748494bb54b74cba84e20fe2e7114a

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