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

[vg6d_transform] Missing interval in cumulated output #99

Closed
brancomat opened this issue Jun 13, 2022 · 1 comment
Closed

[vg6d_transform] Missing interval in cumulated output #99

brancomat opened this issue Jun 13, 2022 · 1 comment
Assignees

Comments

@brancomat
Copy link
Member

(maybe related to #98)

test data: tp_icon.tar.gz

cumulated output on total precipitation (or snow) apparently is missing the first interval, e.g.:

$ vg6d_transform --comp-stat-proc 1 --comp-frac-valid=0 --comp-step="0 12" --comp-full-steps tp_icon.grb qualcosa.grib
$ grib_ls qualcosa.grib 
qualcosa.grib
edition      centre       date         dataType     gridType     typeOfLevel  level        stepRange    shortName    packingType  
2            cnmc         20220612     fc           regular_ll   surface      0            12-24        tp           grid_simple 
2            cnmc         20220612     fc           regular_ll   surface      0            24-36        tp           grid_simple 
2            cnmc         20220612     fc           regular_ll   surface      0            36-48        tp           grid_simple 
2            cnmc         20220612     fc           regular_ll   surface      0            48-60        tp           grid_simple 
2            cnmc         20220612     fc           regular_ll   surface      0            60-72        tp           grid_simple 

I'd expect a 0-12 interval too (source data seems to be present) but it's missing.

@dcesari
Copy link
Member

dcesari commented Jun 14, 2022

I introduced the n-th error in cumulation by differences when an interval is already ready. Fixed in b9d9f62.

@dcesari dcesari closed this as completed Jun 14, 2022
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

No branches or pull requests

2 participants