Skip to content

Commit

Permalink
Maintain consistancy of cache file names, include clear date range
Browse files Browse the repository at this point in the history
  • Loading branch information
dead-water committed Nov 15, 2024
1 parent 7ed1dc4 commit cb6c76b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdofm/datasets/SDOML.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,7 +419,7 @@ def __init__(
ions_id = "_".join(self.ions).replace(" ", "_")
ids.append(ions_id)

self.cache_id = f"{'_'.join(ids)}_{self.cadence}"
self.cache_id = f"{'_'.join(sorted(ids))}_{self.cadence}_{str(self.min_date).replace(" ", "")}-{str(self.max_date).replace(" ", "")}"

if self.aia_path is not None:
if "small" in self.aia_path:
Expand Down

0 comments on commit cb6c76b

Please sign in to comment.