Skip to content

v0.3.0

Compare
Choose a tag to compare
@jgieseler jgieseler released this 11 Jul 13:33
· 49 commits to main since this release

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 function create_multiindex after obtaining the new DataFrame df 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