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.
[x] Update MTLocation to use _survey_metadata.stations[0].location as the internal variable
Currently
MTLocation
has latitude, longitude that are internal variables, however whenMTLocation
is inherited byMT
these variables are overridden byTF
. Therefore for everything to meld together replace the internal variables with the same variables thatTF
uses, namely theLocation
object fromTF._survey_metadata.stations[0].location
. Once this is replaced inMTLocation
then everything should work in theMT
object. The other benefit is thatLocation
already has validation.MTLocation
to use_survey_metadata.stations[0].location
as the internal variable