Releases: jgieseler/solo-epd-loader
Releases · jgieseler/solo-epd-loader
v0.4.1
What's Changed
- Improve support for EPT level 3 data by providing more metadata
- Change package structure to follow new OpenAstronomy template (using pyproject.toml instead of setup.cfg)
- Drop support for Python 3.8
Full Changelog: v0.4.0...v0.4.1
v0.4.0
What's Changed
- Add support for EPT level 3 data. This dataset provides the electron data already in a corrected form. In addition, pitch angles with respect to the average magnetic field are provided. The dataset is structured a bit different, see Example 5 in the README. Not all data-manipulation functions support the new dataset yet (e.g.,
combine_channels
). - cdflib fixed a very old bug in 1.3.3. Unfortunately, that change is breaking the workaround used so far to bypass the bug. This update fixes the occurring problems while being backwards compatible to cdflib<1.3.3. This might lead to small problems in existing code that obtains channel energy information (e.g., use
meta['Electron_Bins_Text'][0]
instead ofmeta['Electron_Bins_Text'][0][0]
). - Verify compatibility with Python 3.11 and 3.12
Full Changelog: v0.3.8...v0.4.0
0.3.7
What's Changed
- Change default behavior: With this version, the time index denotes the center of the measurement time interval (before it was the start). This behavior can be changed with the new
pos_timestamp
option (defaults to'center'
, alternatively use'start'
for previous behavior). - Add experimental function
combine_pixels
that averages (per time step and energy) the fluxes (and uncertainties) of a list of STEP pixels into a combined pixel. - Implement custom warnings
- Internal & small code changes
Full Changelog: v0.3.6...v0.3.7
v0.3.6
What's Changed
- (Preliminary) Add new function
calc_ept_corrected_e
to correct EPT electron measurements for ion contamination
Full Changelog: v0.3.5...v0.3.6
v0.3.5
v0.3.4
What's Changed
- Make
resample_df
independent of seppy - Add test functions & corresponding GitHub Actions
- Remove 3.6 & 3.7 from supported Python versions because they're not srupported by sunpy any more
- Clean requirements (hopefully fix #17 for conda-forge)
Full Changelog: v0.3.3...v0.3.4
v0.3.3
v0.3.2
v0.3.1
What's Changed
- Add omni-directional data (
viewing='omni'
) for loading EPT and HET data (1d26657). This loads all four viewing directions and calculates an average of those following('sun'+'asun'+'north'+'south')/4
- Add tqdm progress bar to
calc_electron
(5599880) - Catch error when loading empty STEP data (ddc14cf)
Full Changelog: v0.3.0...v0.3.1
v0.3.0
What's Changed
- STEP data loading rewritten. Now all STEP data is supported (fix #23)! Some unused data (e.g. counting rates) is skipped in the loading, which should result in less memory-consumption (and a little speed-up).
- Returns all STEP data as normal-indexed DataFrame (previously only for new STEP data product; somehow fixes #9).
Careful: This means the data is returned in a slightly different format; you might need to adjust your code!
You can try to use the new helper functioncreate_multiindex
after obtaining the new DataFramedf
to get a similar multiindexed DataFrame as before for the old STEP data product:>>> from solo_epd_loader import epd_load, create_multiindex >>> df, energies = epd_load(sensor='step', startdate=20220403, autodownload=True) >>> df = create_multiindex(df) >>> df.head() DELTA_EPOCH Integral_Avg_Flux ... Magnet_Avg_Uncertainty QUALITY_BITMASK QUALITY_FLAG SMALL_PIXELS_FLAG DELTA_EPOCH Integral_Avg_Flux_0 Integral_Avg_Flux_1 Integral_Avg_Flux_2 ... Magnet_Avg_Uncertainty_31 QUALITY_BITMASK QUALITY_FLAG SMALL_PIXELS_FLAG Time ... 2022-04-03 00:00:00.396785 1.0 423233152.0 266092544.0 167752016.0 ... 0.000000 18.0 1.0 0.0 2022-04-03 00:00:01.396787 1.0 400162176.0 262457408.0 186587328.0 ... 0.000000 18.0 1.0 0.0 2022-04-03 00:00:02.396789 1.0 388228896.0 260276320.0 170106416.0 ... 0.000000 18.0 1.0 0.0 2022-04-03 00:00:03.396791 1.0 361180160.0 242100592.0 161865968.0 ... 0.000000 18.0 1.0 0.0 2022-04-03 00:00:04.396792 1.0 372317888.0 255187120.0 167752016.0 ... 24368.373047 18.0 1.0 0.0 [5 rows x 132 columns]
- Make compatible to cdflib 1.0 (fix #27)
Full Changelog: v0.2.8...v0.3.0