PRBEM DataSet
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 POSIX timestamps (seconds since epoch). |
FEDU |
NDArray[float64]
|
Processed unidirectional differential electron flux, in (cm^2 s sr keV)^-1. |
FEDO |
NDArray[float64]
|
Processed omnidirectional differential electron flux. |
FEIU |
NDArray[float64]
|
Processed unidirectional integral electron flux. |
Energy_FEDU |
NDArray[float64]
|
Central energy of the FEDU channels, in MeV. |
Alpha |
NDArray[float64]
|
Local pitch angle the instrument is looking at, in degrees. |
Alpha_Eq |
NDArray[float64]
|
Computed equatorial pitch angle, in degrees. |
Position |
NDArray[float64]
|
Spacecraft position in geographic cartesian coordinates, in km. |
B_Calc |
NDArray[float64]
|
Calculated magnetic field strength at the spacecraft position, in nT. |
B_Eq |
NDArray[float64]
|
Calculated magnetic field strength at the magnetic equator, in nT. |
L_star |
NDArray[float64]
|
Calculated Roederer's L* parameter. |
I |
NDArray[float64]
|
Second adiabatic invariant integral, PRBEM standard name "I". |
MLT |
NDArray[float64]
|
Magnetic local time at the satellite location, in hours. |
L_m |
NDArray[float64]
|
Calculated McIlwain's L parameter. |
PSD |
NDArray[float64]
|
Calculated phase space density of particles. |
R_Eq |
NDArray[float64]
|
Radial distance of the satellite location mapped to the equator, in Earth radii. |
InvMu |
NDArray[float64]
|
Calculated first adiabatic invariant, in MeV/G. |
InvK |
NDArray[float64]
|
Calculated modified second adiabatic invariant, in Earth radii * G^0.5. |
metadata |
PRBEMMetaData
|
Metadata container for all loaded variables. |
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 | |
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. |
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
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 | |