georeference module

HSTB.kluster.modules.georeference Module

Functions

apply_grid_to_soundings(grid_file, x_loc, ...)

clear_vdatum_path()

clear the set vdatum path in the vyperdatum configuration

compute_geohash(latitude, longitude, precision)

Geohash is a geocoding method to encode a specific latitude/longitude into a string representing an area of a given precision.

decode_geohash(ghash)

Take the given geohash and return the centroid of the geohash cell

distance_between_coordinates(lat_one, ...[, ...])

Use the pyproj inverse transformation to determine the distance between the given point(s).

distrib_run_georeference(dat)

Convenience function for mapping build_beam_pointing_vectors across cluster.

geohash_to_polygon(ghash)

Take a geohash string and return the shapely polygon object that represents the geohash cell

georef_by_worker(sv_corr, alt, lon, lat, ...)

Use the raw attitude/navigation to transform the vessel relative along/across/down offsets to georeferenced soundings.

new_geohash(latitude, longitude, precision)

compute new geohash for given latitude longitude

polygon_to_geohashes(polygon, precision)

Take a polygon and return a list of all of the geohash codes/cells that are completely inside and those that are intersecting

set_vyperdatum_vdatum_path(vdatum_path)

Set the vyperdatum VDatum path, required to use the VDatum grids to do the vertical transformations

transform_ellipse(x, y, z, source_datum, ...)

For ellipsoidally relative datums (mllw for instance) the ellipsoid transformation is included in the overall vertical transformation.

transform_vyperdatum(x, y, z[, ...])

When we specify a NOAA vertical datum (NOAA Mean Lower Low Water, NOAA Mean High Water) in Kluster, we use vyperdatum/VDatum to transform the points to the appropriate vertical datum.