Datasets
el_paso.dataset.GFZDataSet
Bases: DataSet
A concrete implementation of DataSet for the GFZStandard.
Represents a dataset with variables defined by the GFZStandard, providing structured access to space physics measurements including particle fluxes, phase space densities, magnetic field data, and adiabatic invariants.
Attributes:
| Name | Type | Description |
|---|---|---|
datetime |
list[datetime]
|
List of datetime objects corresponding to each time step. |
time |
NDArray[float64]
|
Array of time values as floats (e.g. seconds since epoch). |
energy_channels |
NDArray[float64]
|
Array of energy channel center values in keV. |
alpha_local |
NDArray[float64]
|
Local pitch angle array in degrees. |
alpha_eq_model |
NDArray[float64]
|
Model-derived equatorial pitch angle in degrees. |
alpha_eq_real |
NDArray[float64]
|
Measured equatorial pitch angle in degrees. |
InvMu |
NDArray[float64]
|
First adiabatic invariant (magnetic moment) array. |
InvMu_real |
NDArray[float64]
|
Measured first adiabatic invariant array. |
InvK |
NDArray[float64]
|
Second adiabatic invariant array. |
InvV |
NDArray[float64]
|
Third adiabatic invariant (drift shell) array. |
Lstar |
NDArray[float64]
|
Roederer L* (drift shell parameter) array. |
Flux |
NDArray[float64]
|
Differential particle flux array. |
PSD |
NDArray[float64]
|
Phase space density array. |
MLT |
NDArray[float64]
|
Magnetic local time array in hours. |
B_SM |
NDArray[float64]
|
Magnetic field vector in Solar Magnetic (SM) coordinates. |
B_total |
NDArray[float64]
|
Total magnetic field magnitude array in nT. |
xGEO |
NDArray[float64]
|
Position vector in Geocentric (GEO) coordinates. |
P |
NDArray[float64]
|
Pressure array. |
R0 |
NDArray[float64]
|
Equatorial crossing distance array in Earth radii. |
density |
NDArray[float64]
|
Plasma density array. |
Source code in el_paso/dataset/dataset_implementations.py
28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
Methods:
el_paso.dataset.GFZDataSet.__init__
__init__
Initializes a GFZDataSet instance.
Constructs the saving strategy, invokes the parent DataSet initializer, and populates the list of possible variables from class annotations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
saving_strategy
|
SavingStrategy
|
Instance of the saving strategy used to resolve file paths. |
required |
start_time
|
datetime
|
Beginning of the time range to load. |
required |
end_time
|
datetime
|
End of the time range to load. |
required |
preferred_extension
|
MFSFormats
|
File format to prefer when reading
and writing data. Defaults to |
'nc'
|
verbose
|
bool
|
If |
True
|
Source code in el_paso/dataset/dataset_implementations.py
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 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 | |
el_paso.dataset.PRBEMDataSet
Bases: DataSet
A concrete implementation of DataSet for the PRBEMStandard.
Represents a dataset with variables defined by the PRBEMStandard, providing structured access to space physics measurements including particle fluxes, phase space densities, magnetic field data, and adiabatic invariants.
Attributes:
| Name | Type | Description |
|---|---|---|
datetime |
list[datetime]
|
List of datetime objects corresponding to each time step. |
Epoch |
NDArray[float64]
|
Array of time values as floats (e.g. seconds since epoch). |
#TODO |
NDArray[float64]
|
Add detailed descriptions and units for each variable based on the PRBEMStandard documentation. |
Source code in el_paso/dataset/dataset_implementations.py
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 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | |
Methods:
el_paso.dataset.PRBEMDataSet.__init__
__init__
Initializes a PRBEMDataSet instance.
Constructs the saving strategy, invokes the parent DataSet initializer, and populates the list of possible variables from class annotations.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
saving_strategy
|
SavingStrategy
|
Instance of
the saving strategy used to resolve file paths. Defaults to
|
required |
start_time
|
datetime
|
Beginning of the time range to load. |
required |
end_time
|
datetime
|
End of the time range to load. |
required |
preferred_extension
|
MFSFormats
|
File format to prefer when reading
and writing data. Defaults to |
'nc'
|
verbose
|
bool
|
If |
True
|
Source code in el_paso/dataset/dataset_implementations.py
186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 | |