aeromaps.models.impacts.climate.climate¶
ClimateModel ¶
ClimateModel(climate_model, name='climate', species_settings=None, model_settings=None, *args, **kwargs)
Bases: AeroMAPSModel
Class to run a climate simulation for aviation emissions using one of the available climate models available in AeroCM.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
climate_model
|
str
|
Name of the climate model to use (e.g., "LWE", "GWP*", "IPCC", etc.). See AeroCM documentation for available models. |
required |
name
|
str
|
Name of the model when implemented in AeroMAPS, by default "climate". |
'climate'
|
species_settings
|
dict | None
|
Dictionary containing species-specific settings for the climate model, by default None (which uses default settings from AeroCM). |
None
|
model_settings
|
dict | None
|
Dictionary containing model-wide settings for the climate model, by default None (which uses default settings from AeroCM). |
None
|
Attributes:
| Name | Type | Description |
|---|---|---|
climate_model |
str
|
Name of the climate model used to run the simulation. |
species_settings |
dict | None
|
Species-specific settings for the climate model. |
model_settings |
dict | None
|
Model settings for the climate model. |
mapping |
dict
|
Mapping between AeroCM output keys and AeroMAPS variable names. |
Notes
This class is automatically implemented by the AeroMAPSProcess when a climate configuration file is provided through the 'PARAMETERS_CLIMATE_MODEL_FILE' key. The CLIMATE_MODEL_FILE should be a YAML file containing the keys 'climate_model', 'species_settings', and 'model_settings'.
The climate simulation is performed using the AviationClimateSimulation class from AeroCM.
More details can be found on the AeroCM repository: https://github.com/AeroMAPS/AeroCM
Source code in aeromaps/models/impacts/climate/climate.py
46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 | |
compute ¶
compute(input_data)
Run the climate simulation for aviation emissions.
This method is a wrapper for the AviationClimateSimulation class from AeroCM.
Source code in aeromaps/models/impacts/climate/climate.py
109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 | |