Rename observer elevation to height

pull/49/head
Cees Bassa 2019-11-10 12:52:00 +01:00
parent e64d3e71e5
commit 4ef6db28c9
4 changed files with 4 additions and 4 deletions

View File

@ -467,7 +467,7 @@ if __name__ == '__main__':
# Set location
loc = EarthLocation(lat=cfg.getfloat('Common', 'observer_lat')*u.deg,
lon=cfg.getfloat('Common', 'observer_lon')*u.deg,
height=cfg.getfloat('Common', 'observer_el')*u.m)
height=cfg.getfloat('Common', 'observer_height')*u.m)
if not testing:
# Reference altitudes

View File

@ -5,7 +5,7 @@ observer_cospar = 9999 # COSPAR number of observer's site
observer_name = Sample Name # Name of observer
observer_lat = 19.8956 # Latitude of location in decimal degrees
observer_lon = -155.2342 # Longitude of location in decimal degrees
observer_el = 100 # Elevation of location in meters
observer_height = 100 # Elevation of location in meters
observations_path = /path/to/obs/ # Path for raw acquisitions
tle_path = /path/to/tle/ # Path where TLEs are stored (and updated)

View File

@ -59,7 +59,7 @@ if __name__ == "__main__":
# Set location
loc = EarthLocation(lat=cfg.getfloat('Common', 'observer_lat') * u.deg,
lon=cfg.getfloat('Common', 'observer_lon') * u.deg,
height=cfg.getfloat('Common', 'observer_el') * u.m)
height=cfg.getfloat('Common', 'observer_height') * u.m)
pa = pos.transform_to(AltAz(obstime=t, location=loc))

View File

@ -59,7 +59,7 @@ if __name__ == "__main__":
# Set location
loc = EarthLocation(lat=cfg.getfloat('Common', 'observer_lat') * u.deg,
lon=cfg.getfloat('Common', 'observer_lon') * u.deg,
height=cfg.getfloat('Common', 'observer_el') * u.m)
height=cfg.getfloat('Common', 'observer_height') * u.m)
# Extract settings
drdtmin = cfg.getfloat('Processing', 'drdtmin')