Skip to content

Commit

Permalink
Added download from local for local deployment.
Browse files Browse the repository at this point in the history
  • Loading branch information
kenfus committed Dec 16, 2024
1 parent 77e067a commit b0e686f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "ecallisto-ng"
version = "1.1.6"
version = "1.1.7"
authors = [{name = "Vincenzo Timmel", email = "[email protected]"}]
description = "A Python package for the fetching (and some processing and plotting) of eCallisto data based on request and pandas."
readme = "README.md"
Expand Down
2 changes: 2 additions & 0 deletions src/ecallisto_ng/data_download/hu_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ def create_overlapping_parquets(
duration: timedelta = timedelta(minutes=15),
min_duration: timedelta = timedelta(minutes=10),
overlap: timedelta = timedelta(minutes=1),
download_from_local: bool = False,
):
folder = os.path.expanduser(folder)
os.makedirs(folder, exist_ok=True)
Expand All @@ -78,6 +79,7 @@ def create_overlapping_parquets(
start_datetime,
start_datetime + duration,
instrument_name=instrument,
download_from_local=download_from_local,
)
for inst, df in dfs.items():
if df is not None and not df.empty:
Expand Down

0 comments on commit b0e686f

Please sign in to comment.