Skip to content

Commit 25fcf17

Browse files
authored
Merge pull request #749 from RocketPy-Team/develop
DEV: Updates master for v1.7.1
2 parents 5cb88c3 + ed2a6a2 commit 25fcf17

21 files changed

+1413
-1248
lines changed

.vscode/settings.json

+2
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,7 @@
233233
"polystyle",
234234
"powerseries",
235235
"Prandtl",
236+
"pressurant",
236237
"prettytable",
237238
"Projeto",
238239
"prometheus",
@@ -265,6 +266,7 @@
265266
"SBMT",
266267
"scilimits",
267268
"searchsorted",
269+
"seblm",
268270
"seealso",
269271
"setrail",
270272
"simplekml",

CHANGELOG.md

+3
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,12 @@ Attention: The newest changes should be on top -->
3535

3636
### Changed
3737

38+
- MNT: Refactor Tank's testing Assertion with CAD data. [#678](https://github.com/RocketPy-Team/RocketPy/pull/678)
3839

3940
### Fixed
4041

42+
- BUG: Correctly update atmospheric conditions after changing date and location [#743](https://github.com/RocketPy-Team/RocketPy/pull/743)
43+
4144

4245
## [v1.7.0] - 2024-11-30
4346

rocketpy/environment/environment.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,9 @@ def set_date(self, date, timezone="UTC"):
688688
"Ensemble",
689689
]:
690690
self.set_atmospheric_model(
691-
self.atmospheric_model_file, self.atmospheric_model_dict
691+
type=self.atmospheric_model_type,
692+
file=self.atmospheric_model_file,
693+
dictionary=self.atmospheric_model_dict,
692694
)
693695

694696
def set_location(self, latitude, longitude):
@@ -726,7 +728,9 @@ def set_location(self, latitude, longitude):
726728
"Ensemble",
727729
]:
728730
self.set_atmospheric_model(
729-
self.atmospheric_model_file, self.atmospheric_model_dict
731+
type=self.atmospheric_model_type,
732+
file=self.atmospheric_model_file,
733+
dictionary=self.atmospheric_model_dict,
730734
)
731735

732736
def set_gravity_model(self, gravity=None):

0 commit comments

Comments
 (0)