geoidHeight2 (lat,
lon,
model=0,
timeout=2.0)
|
|
Get the NAVD88 geoid height at an NAD83
location.
- Arguments:
lat - Latitude (degrees ).
lon - Longitude (degrees ).
model - Optional, geoid model ID (int ).
timeout - Optional, query timeout (seconds).
- Returns:
- An GeoidHeight2Tuple
(height,
model_name) or (None, "error" ) in
case of errors.
- Raises:
ValueError - Invalid timeout .
Note:
The returned height is None if
lat or lon is invalid or
outside the Conterminous US (CONUS) , if the
model was invalid, if conversion failed or if
the query timed out. The "error" is the
HTTP-, IO-, SSL-, URL- or other -Error as
a string (str ).
See Also:
NOAA National Geodetic Survey, Geoid, USGS10mElev.py, module geoids,
classes GeoidG2012B, GeoidKarney and GeoidPGM.
|