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

Can H.download() add a new parameter which can help users define the download file names? #321

Open
GloriaYY opened this issue May 23, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@GloriaYY
Copy link

the issue is as the title said.

The problems is when I download different subsets of the same model on the same date, it is hard to distinguish between them, manually renaming files can be a painful job. If H.download() can help solve this problem, herbie will just become more powerful.

Thanks for your nice work! Herbie has saved me a lot of time.

@blaylockbk
Copy link
Owner

Hi @GloriaYY, Glad you like using Herbie. Thanks for the poke; this is something I've been meaning to do for some time. For now, there is a workaround...take a look at #58.


Duplicate of #60

@blaylockbk
Copy link
Owner

Note to self...It shouldn't be too hard to add an argument name to download that modifies the self.LOCALFILE attribute. Users could set name='my-name' or even use Herbie attributes name=f"{H.model}_{H.DATE:%Y%M%D%H}_my-name".

@blaylockbk blaylockbk added this to the Next Release milestone May 23, 2024
@blaylockbk blaylockbk added the enhancement New feature or request label May 23, 2024
@blaylockbk blaylockbk self-assigned this May 23, 2024
@GloriaYY
Copy link
Author

GloriaYY commented May 24, 2024 via email

@GloriaYY
Copy link
Author

GloriaYY commented May 24, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants