Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Handle npz files #865

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

Open
minhqdao wants to merge 147 commits into fortran-lang:master
base: master
Choose a base branch
Loading
from minhqdao:handle-npz-files
Open

Conversation

@minhqdao
Copy link
Contributor

@minhqdao minhqdao commented Aug 23, 2024

Adds handling (loading and saving of npz files).

As an npz file is nothing but npy files zipped together to a single file, we either need to include a library that handles zip file creation/extraction for us or call system programs via the command line. In contrast to a previous attempt (#771), this PR uses the shell to extract and compress npz files.

  • Load npz files.
  • Save npz.
  • Add tests.
  • Add examples.
  • Add documentation.

Related Issues:
#486
#763

minhqdao added 30 commits August 3, 2024 00:01
minhqdao added 20 commits August 22, 2024 15:28
# Conflicts:
#	.github/workflows/ci_windows.yml
Copy link
Member

@awvwgk awvwgk left a comment
edited
Loading

Choose a reason for hiding this comment

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

Thank you for this PR, this introduces a lot of needed features in stdlib. However, it is hard to review because it introduces three new features to stdlib, which are dependent but each should have their own independent review.

It would be great if you could open a PR for the filesystems first, a PR for the zip support second and finally a PR for the npz support.

Having dependent PRs is a bit challenging for reviewing. One option would be to push the three branches to the stdlib repo and open PRs from within the stdlib repo, as this improves the experience of reviewing dependent branches. Alternatively, you can open PRs from all three branches from your fork and we try to focus the review only on the parts introduced by the respective PR.

Please let me know if you need any support with this.

perazz reacted with thumbs up emoji
Module for index manipulation and array handling tasks.

## Procedures and methods provided
## Derived types provided
Copy link
Member

Choose a reason for hiding this comment

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

Thank you for this PR. Could you open a PR specific for the additions related to stdlib_array, please? It will make the review of this PR easier. Let me know if you need help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jvdp1 jvdp1 jvdp1 left review comments

@awvwgk awvwgk awvwgk requested changes

@certik certik Awaiting requested review from certik

@zoziha zoziha Awaiting requested review from zoziha

@perazz perazz Awaiting requested review from perazz

Requested changes must be addressed to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /