From 4ef6db28c9f67301d8eb56651811cda11c1cabda Mon Sep 17 00:00:00 2001 From: Cees Bassa Date: Sun, 10 Nov 2019 12:52:00 +0100 Subject: [PATCH] Rename observer elevation to height --- acquire.py | 2 +- configuration.ini-dist | 2 +- imgstat.py | 2 +- process.py | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/acquire.py b/acquire.py index c8a02ee..20036c4 100755 --- a/acquire.py +++ b/acquire.py @@ -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 diff --git a/configuration.ini-dist b/configuration.ini-dist index fee76cf..5476dd1 100644 --- a/configuration.ini-dist +++ b/configuration.ini-dist @@ -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) diff --git a/imgstat.py b/imgstat.py index 81ca2e2..7b0912c 100755 --- a/imgstat.py +++ b/imgstat.py @@ -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)) diff --git a/process.py b/process.py index e031e09..29dc0c8 100755 --- a/process.py +++ b/process.py @@ -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')