@@ -492,15 +492,15 @@ def setElevation(self, elevation="Open-Elevation"):
492
492
"""
493
493
if elevation != "Open-Elevation" and elevation != "SRTM" :
494
494
self .elevation = elevation
495
- # elif elevation == "SRTM" and self.latitude != None and self.lon != None:
495
+ # elif elevation == "SRTM" and self.latitude != None and self.longitude != None:
496
496
# # Trigger the authentication flow.
497
497
# #ee.Authenticate()
498
498
# # Initialize the library.
499
499
# ee.Initialize()
500
500
501
501
# # Calculate elevation
502
502
# dem = ee.Image('USGS/SRTMGL1_003')
503
- # xy = ee.Geometry.Point([self.lon , self.latitude])
503
+ # xy = ee.Geometry.Point([selfgitude , self.latitude])
504
504
# elev = dem.sample(xy, 30).first().get('elevation').getInfo()
505
505
506
506
# self.elevation = elev
@@ -3354,10 +3354,10 @@ def exportEnvironment(self, filename="environment"):
3354
3354
# TODO: find a way to documennt the workaround I've used on ma.getdata(self...
3355
3355
self .exportEnvDictionary = {
3356
3356
"railLength" : self .rL ,
3357
- "gravity" : self .g ,
3357
+ "gravity" : self .gravity ,
3358
3358
"date" : [self .date .year , self .date .month , self .date .day , self .date .hour ],
3359
- "latitude" : self .lat ,
3360
- "longitude" : self .lon ,
3359
+ "latitude" : self .latitude ,
3360
+ "longitude" : self .longitude ,
3361
3361
"elevation" : self .elevation ,
3362
3362
"datum" : self .datum ,
3363
3363
"timeZone" : self .timeZone ,
0 commit comments