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

Download tool for spectral / stellar data #43

Merged
merged 4 commits into from
Jul 25, 2024
Merged

Conversation

stefsmeets
Copy link
Contributor

@stefsmeets stefsmeets commented Jul 24, 2024

I believe we discussed this at some point, but I'm interested in exploring the possibility of having a tool that can easily download the stellar / spectral data for JANUS. And later, the SOCRATES build files.

I also refactored the dowload code, so it reduces the number of requests by a up to 6x. This makes a big difference when pulling all stellar data:
Before: 245.13 secs
After: 84.61 secs

Usage:

  • janus download spectral
  • janus download stellar

Copy link
Contributor

@nichollsh nichollsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great. A much nicer way to interact with the downloader tools directly, rather than from the Python REPL.

@stefsmeets stefsmeets merged commit 6297a0b into master Jul 25, 2024
3 checks passed
@stefsmeets stefsmeets deleted the download-tool branch July 25, 2024 07:19
lsoucasse pushed a commit that referenced this pull request Sep 24, 2024
Conductive skin parameterisation, and other major changes.
lsoucasse pushed a commit that referenced this pull request Sep 24, 2024
* Add click based download tool for spectral/stellar files

* Update readme

* Refactor download tool to avoid sending excess requests

* Fix tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants