Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: possibility to define a date range #20

Closed
wants to merge 11 commits into from

Conversation

Bachibouzouk
Copy link

@Bachibouzouk Bachibouzouk commented Jul 6, 2022

Fix #11
Fix #13

@ismaeel036
You can call the program for specific date ranges now
python ramp.py -i ramp/input_files/input_file_4.xlsx -n 3 --start-date 2022-02-01 --end-date 2022-02-04
Will generate 4 daily profiles which are each obtained by averaging 3 random profiles

If you don't specify start date it will default to january 1st of the same year as the end date.

If you don't specify end date, it will default to december 31st of the same year as the start date

If you provide only -y 2021 it will generate the whole year 2021 (if you provide the path of a folder with the option -i and if that folder contains 12 months, then each folder will be matched with one month)

If you want to get the same sort of outputs you had with previous version of ramp you can just set the -n option to 1 instead of 3

@Bachibouzouk
Copy link
Author

-n should be set by default to 1

@Bachibouzouk
Copy link
Author

If someone only provides the n_days then it starts on a monday

@Bachibouzouk Bachibouzouk changed the base branch from feature/refactor-code to dev September 22, 2022 15:55
@Bachibouzouk
Copy link
Author

Taken over by RAMP-project#52

@Bachibouzouk Bachibouzouk deleted the feature/change-output-format branch March 11, 2024 10:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant