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

Map sizes from linked files #507

Open
Tracked by #327
genie9 opened this issue Jun 27, 2022 · 2 comments
Open
Tracked by #327

Map sizes from linked files #507

genie9 opened this issue Jun 27, 2022 · 2 comments

Comments

@genie9
Copy link
Contributor

genie9 commented Jun 27, 2022

Proposed solution

The total size of files linked to specific metadata should be added to Metax metadata. This information would be probably available after integration with the file upload service (SD Connect or other).
The structer is documented in https://github.com/CSCfi/metadata-submitter/blob/develop/metadata_backend/services/metax_mapper.py#L220-L223:

"total_remote_resources_byte_size": {
                "type": "integer",
            },

DoD (Definition of Done)

Published dataset discoverable in Etsin will have information on total data size.

Testing

Integration tests.

@csc-felipe
Copy link
Contributor

This information should be available from the Datacite submission.

@csc-felipe
Copy link
Contributor

csc-felipe commented Nov 11, 2022

Now that we have files in the database and the files operator, it is possible to implement this feature #627.

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

No branches or pull requests

2 participants