You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
connection=dbaconnection(dsn="mem:")
sessionfrom=dbasession(connection,write=.true.,wipe=.true.)
call sessionfrom%messages_open_input(filename=input_file,mode="r",format="BUFR",simplified=.true.)
call sessionfrom%messages_open_output(filename=output_file,mode="w",format="BUFR")
do while (sessionfrom%messages_read_next())
call sessionfrom%messages_write_next()
call sessionfrom%remove_all()
end do
call sessionfrom%delete()
Si produce il seguente trace di chiamate alle api dballe fortran:
Il comando
dba_qcfilter
pare scartare tutte le var tranne quelle statiche (nome stazione, altezza, etc) e quelle relative ad un solo context.Le prove sono effettuate con
libsim-6.1.0-1506
.Ho committato il file di prova
dba_qcfilter-bug.bufr
nella directorydata
del branchdba_qcfilter-bug-1
.Il file di test (BUFR generico) contiene un solo messaggio con 4 context:
Filtrando con
dba_qcfilter
, viene scartata tutto tranne il context di anagrafica e uno degli altri 3:Ho sospetto che nell'output mantenga solo l'ultimo dei context letti, sovrascrivendo i precedenti (con l'esclusione di quella di anagrafica).
The text was updated successfully, but these errors were encountered: