#678 closed task (fixed)
ropp2bufr_eccodes should tell users how to wrap BUFR messages in GTS headers
Reported by: | Ian Culverwell | Owned by: | warrick |
---|---|---|---|
Priority: | normal | Milestone: | 11.0 |
Component: | ropp_io | Version: | 9.0 |
Keywords: | Cc: | Ian Culverwell |
Description
ROPP-10.0 beta reviewer Stig Syndergaard says
Do ropp2bufr_eccodes not generate headers with the -g option? It seems so when I look in ropp2bufr_eccodes.f90, but the release notes says something different, and I know you warned us about this, and provided the workaround with the perl script. But could ropp2bufr_eccodes generate the header to be output in ascii? and the user can then use the perl script with that info? I would probably understand this better if I had been able to try it out
ropp2bufr_eccodes does not generate ARH headers for BUFR files (because it cannot). But the --help option suggests otherwise, so we should fix that.
Stig makes a fair point about the input to the perl script. I think it would be a good idea if using
the -g
option generated a message something like "The ecCodes library does not allow Abbreviated
Routing Headers to be wrapped around BUFR messages. To do this, the user should execute
gtsheaders_bufr.pl infile outfile T1T2A1A2[ii] CCCC [YYGGgg]
", where T1T2A1A2[ii] etc are filled
in with the appropriate entries for the particular profile being processed. We should be able to access this data, because when ropp2bufr
is built on the old ecBUFR or moBUFR libraries, it can add these headers automatically. There will be a problem if it depends on some element of these libraries to calculate these data.
We have now changed the behaviour of
eum2bufr_eccodes
andropp2bufr_eccodes
to warn the user that the -g option is not available in ecCodes. The warning looks like this:A perl script, kindly provided by the NWP SAF, is being supplied with ROPP 10.0 and can be used to add GTS headers to BUFR files.
In
eum2bufr_eccodes
andropp2bufr_eccodes
we also added a printout of the required header, which looks like this example: