Skip to content

Commit

Permalink
Use paths refactor for ACE_hourly_avg.npy
Browse files Browse the repository at this point in the history
  • Loading branch information
taldcroft committed Nov 14, 2024
1 parent 8e39225 commit cf7febe
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion make_timeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -167,6 +167,7 @@ def arc_data_file(
dsn_comms_file = functools.partial(
arc_data_file, SKA / "data" / "dsn_summary", "dsn_summary.yaml"
)
ace_hourly_avg_file = functools.partial(arc_data_file, DATA_ARC3, "ACE_hourly_avg.npy")
goes_x_h5_file = functools.partial(arc_data_file, DATA_ARC3, "GOES_X.h5")
ace_h5_file = functools.partial(arc_data_file, DATA_ARC3, "ACE.h5")
hrc_h5_file = functools.partial(arc_data_file, DATA_ARC3, "hrc_shield.h5")
Expand Down Expand Up @@ -719,7 +720,7 @@ def draw_fluence_percentiles(
p3_slope = get_p3_slope(p3_times, p3_vals)
if p3_slope is not None and avg_flux > 0:
p3_fits, p3_samps, fluences = cfd.get_fluences(
os.path.join(args.data_dir, "ACE_hourly_avg.npy")
ace_hourly_avg_file(args.data_dir, test=args.test),
)
hrs, fl10, fl50, fl90 = cfd.get_fluence_percentiles(
avg_flux,
Expand Down

0 comments on commit cf7febe

Please sign in to comment.