Package pybelbg
[frames] | no frames]

Package pybelbg

A pure Python implementation of the Belgian hybrid quasi-geoid hBG18 with several Belgian Lambert 2018, -1972s and -1950 conic projections to convert between geodetic lat-, longitudes and (ellipsoidal) height and local easting, northing and (orthometric) height based on bilinear interpolation of quasi-geoid hBG18 heights.


Version: 26.07.31

Submodules
  • pybelbg.__main__: Run some Be*LBG.forward and .reverse conversion examples.
  • pybelbg.__pygeodesy: (INTERNAL) pybelbg access to some private pygeodesy attributes.
  • pybelbg.belbgs: Main classes Be08LBG, Be72LBG, Be72NLBG, Be72RLBG and Be50LBG implementing the Belgian Lambert 2018, -1972, -1972N, -1972R respectively -1950 conic projection and quasi-geoid heights with bilinear interpolation from Belgian hybrid quasi-geoid hBG18.
  • pybelbg.hBG18: (INTERNAL) Quasi-geoid-heights from the "Belgian hybrid quasi-geoid: hBG18" for 48.5 <= lat <= 52.5 and 1 <= lon <= 7 at increments of 0.01 respectively 0.015 degrees.

Classes
  Be08LBG
Belgian Lambert 2008 pygeodesy.Conics.Be08Lb transformer.
  Be50LBG
Belgian Lambert 1950 pygeodesy.Conics.Be50Lb transformer.
  Be72LBG
Belgian Lambert 1972 pygeodesy.Conics.Be72Lb transformer.
  Be72NLBG
Belgian Lambert 1972N pygeodesy.Conics.Be72NLb transformer.
  Be72RLBG
Belgian Lambert 1972R pygeodesy.Conics.Be72RLb transformer.
  BeLBG7Tuple
7-Tuple (easting, northing, H, lat, lon, height, beLBG) with local Belgian easting, northing and orthometric height H, geodetic lat, lon and ellipsoidal height and beLBG the Be*LBG instance with lat and lon in degrees and with easting, northing, H and height in meter, conventionally.
  BeLBGError
Error raised for pybelbg, hBG18, unzip and other issues.
  EasNorH3Tuple
3-Tuple (easting, northing, H), all in meter, conventionally with orthometric height H.
  LatLonN3Tuple
3-tuple (lat, lon, N) with geoid height N in meter, conventionally.
  Lb4Tuple
4-Tuple (minE, minN, maxE, maxN) with local Lambert lower-left (minE, minN) and upper-right (maxE, maxN) bounds in meter, conventionally.
Functions
 
machine()
Return standard platform.machine, but distinguishing Intel native from Intel emulation on Apple Silicon (on macOS only).
Variables
  pybelbg_abspath = '..../PyBeLB...
  Conics = Conics.WRF_Lb: Conic(name='WRF_Lb', lat0=40, lon0=-97...
  Datums = Datums.Sphere: Datum(name='Sphere', ellipsoid=Ellipso...
Function Details

machine()

 

Return standard platform.machine, but distinguishing Intel native from Intel emulation on Apple Silicon (on macOS only).

Returns:
Machine 'arm64' for Apple Silicon native, 'x86_64' for Intel native, "arm64_x86_64" for Intel emulation, etc. (str with commas replaced by underscores).

Variables Details

pybelbg_abspath

Value:
'..../PyBeLBG/pybelbg'

Conics

Value:
Conics.WRF_Lb: Conic(name='WRF_Lb', lat0=40, lon0=-97, par1=33, par2=4\
5, E0=0, N0=0, k0=1, SP=2, datum=Datum(name='WGS84', ellipsoid=Ellipso\
ids.WGS84, transform=Transforms.WGS84))

Datums

Value:
Datums.Sphere: Datum(name='Sphere', ellipsoid=Ellipsoids.Sphere, trans\
form=Transforms.WGS84),
Datums.NAD83: Datum(name='NAD83', ellipsoid=Ellipsoids.GRS80, transfor\
m=Transforms.NAD83),
Datums.OSGB36: Datum(name='OSGB36', ellipsoid=Ellipsoids.Airy1830, tra\
nsform=Transforms.OSGB36),
Datums.WGS84: Datum(name='WGS84', ellipsoid=Ellipsoids.WGS84, transfor\
m=Transforms.WGS84),
...