|
Peano
|
Functions | |
| get_initial_steady_state_for_airglow () | |
| get_steady_state_for_ozone_MSISE (str csv_file_path, csv_separator=";", csv_hydrogen_key="Hden(cm-3)", csv_height_key="Heit(km)", str plot_path="", bool transparent_background=False) | |
| csv_file_path: Path to MSISE CSV file containing hydrogen profile. | |
| AirglowInitialization.get_initial_steady_state_for_airglow | ( | ) |
Definition at line 1 of file AirglowInitialization.py.
| AirglowInitialization.get_steady_state_for_ozone_MSISE | ( | str | csv_file_path, |
| csv_separator = ";", | |||
| csv_hydrogen_key = "Hden(cm-3)", | |||
| csv_height_key = "Heit(km)", | |||
| str | plot_path = "", | ||
| bool | transparent_background = False ) |
csv_file_path: Path to MSISE CSV file containing hydrogen profile.
csv_separator: Delimiter used in CSV file. Default is ";".
csv_hydrogen_key: Key for hydrogen profile used in CSV file. Default is "Hden(cm-3)".
csv_height_key: Key for height in km used in CSV file. Default is "Heit(km)".
plot_path: If the exponential fit shall be plotted and saved, pass over a path here. Default is "" meaning no plotting.
transparent_background: Transparent background for plot if True. Does nothing if plot_path is "". Default is False.
This function can be used to create an ozone initial state, which depends on an exponential fit of the hydrogen density instead of the actual hydrogen profile.
This is due to the hydrogen tending to 0 shortly after the OH peak altitude of ca. 83km. Ozone would thus tend to infinity for these lower altitudes. However, its actual minimum should be lower than where the hydrogen density reaches 0 (ca. 75km-80km).
Therefore, the hydrogen density is fit to an exponential curve allowing the ozone to decay for altitudes less than 80km. This additional ozone is not in steady state and thus needs further correction in the source term.
Definition at line 69 of file AirglowInitialization.py.