Skip to content

Commit

Permalink
fix date and location atmosphere update formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamArmst committed Dec 3, 2024
1 parent cb25bad commit deb39ba
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions rocketpy/environment/environment.py
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ def set_date(self, date, timezone="UTC"):
"Ensemble",
]:
self.set_atmospheric_model(
type=self.atmospheric_model_type, file=self.atmospheric_model_file, dictionary=self.atmospheric_model_dict
type=self.atmospheric_model_type,
file=self.atmospheric_model_file,
dictionary=self.atmospheric_model_dict
)

def set_location(self, latitude, longitude):
Expand Down Expand Up @@ -726,7 +728,9 @@ def set_location(self, latitude, longitude):
"Ensemble",
]:
self.set_atmospheric_model(
type=self.atmospheric_model_type, file=self.atmospheric_model_file, dictionary=self.atmospheric_model_dict
type=self.atmospheric_model_type,
file=self.atmospheric_model_file,
dictionary=self.atmospheric_model_dict
)

def set_gravity_model(self, gravity=None):
Expand Down

0 comments on commit deb39ba

Please sign in to comment.