MTgeophysics / mtpy

Python toolbox for standard Magnetotelluric (MT) data analysis
GNU General Public License v3.0
147 stars 66 forks source link

Adjust MTLocation and inheritance in MT #186

Closed kujaku11 closed 10 months ago

kujaku11 commented 11 months ago

Currently MTLocation has latitude, longitude that are internal variables, however when MTLocation is inherited by MT these variables are overridden by TF. Therefore for everything to meld together replace the internal variables with the same variables that TF uses, namely the Location object from TF._survey_metadata.stations[0].location. Once this is replaced in MTLocation then everything should work in the MT object. The other benefit is that Location already has validation.