We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 12baa10 commit fa9725eCopy full SHA for fa9725e
rocketpy/environment/environment.py
@@ -1912,8 +1912,10 @@ def process_forecast_reanalysis(
1912
# Compute info data
1913
self.atmospheric_model_init_date = get_initial_date_from_time_array(time_array)
1914
self.atmospheric_model_end_date = get_final_date_from_time_array(time_array)
1915
- if (self.atmospheric_model_init_date != self.atmospheric_model_end_date):
1916
- self.atmospheric_model_interval = get_interval_date_from_time_array(time_array)
+ if self.atmospheric_model_init_date != self.atmospheric_model_end_date:
+ self.atmospheric_model_interval = get_interval_date_from_time_array(
1917
+ time_array
1918
+ )
1919
else:
1920
self.atmospheric_model_interval = 0
1921
self.atmospheric_model_init_lat = lat_list[0]
0 commit comments