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

arki-check with error type dataset #299

Open
brancomat opened this issue Mar 17, 2023 · 1 comment
Open

arki-check with error type dataset #299

brancomat opened this issue Mar 17, 2023 · 1 comment
Assignees
Labels

Comments

@brancomat
Copy link
Member

repacking an error type dataset results in an error (*):

$ arki-check error/
error:2019/03-23.grib: should be rescanned
error:2019/03-24.grib: should be rescanned
error: check 0 files ok, 2 files should be rescanned
$ arki-check -f error/
error:2019/03-23.grib: rescanned
error:2019/03-24.grib: rescanned
error: check 0 files ok, 2 files rescanned
$ arki-check -f -r error/
error: repack: running VACUUM ANALYZE on the dataset index, if applicable
error: repack 2 files ok

example dataset:
error.tar.gz

this was discovered by accident by @lidiabressan and I don't see many real word cases in which it makes sense to launch a repack of an error dataset but it's complicated: on one side it could contain heterogeneous data (bufr + grib + odimh5) making a repack a bit tricky, on the other the doc states that the delete age field is applicable to error type dataset.

@spanezz
Copy link
Contributor

spanezz commented May 8, 2023

I think I cannot see an error in the output above. I tried reproducing it, and I cannot see an error here either, and arki-check exits successfully with 0.

The only thing I can think at the moment is: could it be that the fact that arkimet repeats the dataset name before each line in the output is making it look like it's printing error messages?

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

No branches or pull requests

2 participants