Skip to content

Moving imagecube to examples/image_cube#849

Closed
evan-greenbrg wants to merge 8 commits into
isofit:devfrom
evan-greenbrg:examples/move_imagecube
Closed

Moving imagecube to examples/image_cube#849
evan-greenbrg wants to merge 8 commits into
isofit:devfrom
evan-greenbrg:examples/move_imagecube

Conversation

@evan-greenbrg

Copy link
Copy Markdown
Collaborator

@evan-greenbrg evan-greenbrg requested a review from jammont February 3, 2026 00:17

@jammont jammont left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Coupling the image cube data with the examples is a good idea to streamline the process.

We recently implemented isofit download examples --neon to download just the neon data. Would it be better to deprecate isofit download imagecube --size [small/medium] in favour of isofit download examples --imagecube [both/small/medium]? Less download commands, makes it clear imagecube is a part of examples

This would deprecate data/cli/imagecube.py and just move the downloader under examples too, which code consolidation is good



def download_neon(examples):
def download_neon(examples, overwrite=False):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Good addition, be sure to add the parameter to:

download_cli:
    download_neon(examples=Path(path), overwrite=kwargs["overwrite"])

@evan-greenbrg

evan-greenbrg commented Feb 3, 2026

Copy link
Copy Markdown
Collaborator Author

100% agree. Great idea @jammont to consolidate. I'll make that change.

@evan-greenbrg

Copy link
Copy Markdown
Collaborator Author

Shifted to #855 because of bad merge-history

@evan-greenbrg evan-greenbrg deleted the examples/move_imagecube branch May 22, 2026 15:33
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.

4 participants