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

v7d_transform daily average error with B14198 #65

Closed
edigiacomo opened this issue Dec 14, 2018 · 2 comments
Closed

v7d_transform daily average error with B14198 #65

edigiacomo opened this issue Dec 14, 2018 · 2 comments
Assignees

Comments

@edigiacomo
Copy link
Member

With libsim-6.3.0-1 and dballe-8-0.14.20181213gitd19d9303.fc28 (e.g. ventotto.metarpa), the daily average is not correct:

$ v7d_transform --variable-list=B14198 --comp-stat-proc=0:0 --comp-step='1 00' --comp-frac-valid=0.1 --comp-start="2018-12-08 00:00" --comp-stop="2018-12-10 00:00"  --input-format=BUFR --output-format=BUFR camse-rad1havg.bufr camse-rad24havg.bufr
$ dbamsg dump --interpreted camse-rad24havg.bufr 
#0[0] generic message, 44.60016,12.07738, dt: 2018-12-09T00:00:00, 2 contexts:
Level -,-,-,-, tr -,-,-,
001019 LONG STATION OR SITE NAME(CCITTIA5): Camse
001194 [SIM] Report mnemonic(CCITTIA5): locali
004001 YEAR(YEAR): 2018
004002 MONTH(MONTH): 12
004003 DAY(DAY): 9
004004 HOUR(HOUR): 0
004005 MINUTE(MINUTE): 0
004006 SECOND(SECOND): 0
005001 LATITUDE (HIGH ACCURACY)(DEGREE): 44.60016
006001 LONGITUDE (HIGH ACCURACY)(DEGREE): 12.07738
007030 HEIGHT OF STATION GROUND ABOVE MEAN SEA LEVEL (SEE NOTE 3)(M): 1.0
007031 HEIGHT OF BAROMETER ABOVE MEAN SEA LEVEL (SEE NOTE 4)(M): 0.0
Level 1,-,-,-, tr 0,0,86400
014198 [SIM] Visible radiation (downward)(W/M**2): 124.483

With libsim-6.2.8-1 and dballe-7.35-1:

$ v7d_transform --variable-list=B14198 --comp-stat-proc=0:0 --comp-step='1 00' --comp-frac-valid=0.1 --comp-start="2018-12-08 00:00" --comp-stop="2018-12-10 00:00"  --input-format=BUFR --output-format=BUFR camse-rad1havg.bufr camse-rad24havg.bufr
$ dbamsg dump --interpreted camse-rad24havg.bufr 
#0[0] generic message, rep_memo: , 44.60016,12.07738, ident: , dt: 2018-12-09T00:00:00, 2 contexts:
Level 1,-,-,-, tr 0,0,86400 1 vars:
014198 [SIM] Visible radiation (downward)(W/M**2): 56.201
Level -,-,-,-, tr -,-,-, 6 vars:
001019 LONG STATION OR SITE NAME(CCITTIA5): Camse
001194 [SIM] Report mnemonic(CCITTIA5): locali
005001 LATITUDE (HIGH ACCURACY)(DEGREE): 44.60016
006001 LONGITUDE (HIGH ACCURACY)(DEGREE): 12.07738
007030 HEIGHT OF STATION GROUND ABOVE MEAN SEA LEVEL (SEE NOTE 3)(M): -1.0
007031 HEIGHT OF BAROMETER ABOVE MEAN SEA LEVEL (SEE NOTE 4)(M): 0.0
@edigiacomo
Copy link
Member Author

I forgot the attachment camse-rad1havg.bufr.zip

@edigiacomo
Copy link
Member Author

Sorry, it seems that it's a dballe bug: with libsim-6.3.0-1 and dballe-7.36-1 the result is correct.

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