pycontrails.ext.bada.BADAFlightParams¶
- class pycontrails.ext.bada.BADAFlightParams(copy_source=True, interpolation_method='linear', interpolation_bounds_error=False, interpolation_fill_value=nan, interpolation_localize=False, interpolation_use_indices=False, interpolation_q_method=None, verify_met=True, downselect_met=True, met_longitude_buffer=(0.0, 0.0), met_latitude_buffer=(0.0, 0.0), met_level_buffer=(0.0, 0.0), met_time_buffer=(np.timedelta64(0, 'h'), np.timedelta64(0, 'h')), correct_fuel_flow=True, n_iter=3, fill_low_altitude_with_isa_temperature=False, fill_low_altitude_with_zero_wind=False, bada3_path=None, bada4_path=None, bada_priority=4, model_choice='total_energy_model')¶
Bases:
BADAParams
BADAFlight
model parameters.- __init__(copy_source=True, interpolation_method='linear', interpolation_bounds_error=False, interpolation_fill_value=nan, interpolation_localize=False, interpolation_use_indices=False, interpolation_q_method=None, verify_met=True, downselect_met=True, met_longitude_buffer=(0.0, 0.0), met_latitude_buffer=(0.0, 0.0), met_level_buffer=(0.0, 0.0), met_time_buffer=(np.timedelta64(0, 'h'), np.timedelta64(0, 'h')), correct_fuel_flow=True, n_iter=3, fill_low_altitude_with_isa_temperature=False, fill_low_altitude_with_zero_wind=False, bada3_path=None, bada4_path=None, bada_priority=4, model_choice='total_energy_model')¶
Methods
__init__
([copy_source, ...])as_dict
()Convert object to dictionary.
Attributes
bada3_path
Default paths to BADA3 and BADA4 data directories Setting path to None will use default path on BADA3 and BADA4 instances
bada4_path
bada_priority
Default BADA database used to search for aircraft characteristics.
copy_source
Copy input
source
data on evalcorrect_fuel_flow
Whether to correct fuel flow to ensure it remains within the operational limits of the aircraft type.
downselect_met
Downselect input
MetDataset`
to region aroundsource
.fill_low_altitude_with_isa_temperature
Experimental.
fill_low_altitude_with_zero_wind
Experimental.
interpolation_bounds_error
If True, points lying outside interpolation will raise an error
interpolation_fill_value
Used for outside interpolation value if
interpolation_bounds_error
is Falseinterpolation_localize
Experimental.
interpolation_method
Interpolation method.
interpolation_q_method
Experimental.
interpolation_use_indices
Experimental.
met_latitude_buffer
Met latitude buffer for input to
Flight.downselect_met()
, in WGS84 coordinates.met_level_buffer
Met level buffer for input to
Flight.downselect_met()
, in [\(hPa\)].met_longitude_buffer
Met longitude buffer for input to
Flight.downselect_met()
, in WGS84 coordinates.met_time_buffer
Met time buffer for input to
Flight.downselect_met()
Only applies whendownselect_met
is True.model_choice
BADA3 and BADA4 fuel flow model choice
n_iter
The number of iterations used to calculate aircraft mass and fuel flow.
verify_met
Call
_verify_met()
on model instantiation.