From 4041f82b98f7f448226ed0069d5807baaee67c55 Mon Sep 17 00:00:00 2001 From: jwu Date: Tue, 10 Oct 2023 00:09:48 -0700 Subject: [PATCH] delete a breakpoint --- pyspedas/elfin/epd/calibration_l2.py | 2 +- pyspedas/elfin/epd/epd.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyspedas/elfin/epd/calibration_l2.py b/pyspedas/elfin/epd/calibration_l2.py index aba6d544..f7b49fd2 100644 --- a/pyspedas/elfin/epd/calibration_l2.py +++ b/pyspedas/elfin/epd/calibration_l2.py @@ -181,7 +181,7 @@ def epd_l2_Espectra( # load loss cone data data = get_data(LC_tvar) - # southern hemisphere + # loss cone paraedgedeg = np.array([lc if lc < 90 else 180-lc for lc in data.y]) paraedgedeg_bcast = np.broadcast_to(paraedgedeg[:, np.newaxis], (nspinsavailable, nPAsChannel)) diff --git a/pyspedas/elfin/epd/epd.py b/pyspedas/elfin/epd/epd.py index 4f088576..9b4404e4 100644 --- a/pyspedas/elfin/epd/epd.py +++ b/pyspedas/elfin/epd/epd.py @@ -147,7 +147,7 @@ def elfin_load_epd(trange=['2020-11-01', '2020-11-02'], if type_ in ("cal", "calibrated") or type_ not in CALIBRATED_TYPE_UNITS.keys(): type_ = "nflux" - breakpoint() + if level == "l1": l1_tvars = epd_l1_postprocessing(tvars, trange=trange, type_=type_, nspinsinsum=nspinsinsum, unit=CALIBRATED_TYPE_UNITS[type_])