In ropp2bufr.f90/ConvertROPPtoBUFR, added a section before L1b, L2a & L2b are converted to test
for the whole profile key parameters set missing (except height coordinates), viz:
L1b : BA_L1, BA_L2 and BA
L2a : N
L2b : P, T, and q
If count of missing samples is equal to ..%Npoints, reset ..%Npoints to zero, thus skipping the conversion for that Level using the existing code tests. A (diagnostic) message is written if this happens.
Tested on Rune's netCDF file, and correctly skips the L2b dummy profile generated by the LOG-247 thinner, generating an identical number of BUFR octets (12594) as produced by the v3.0 and v4.0 encoders.
Run t_ropp2bufr in ropp_io/tests - FAIL.
Reference datasets (notably ropp_test.bfr) regenerated to reflect reverted Local Data Sub-Category value (see BUFR header item (2) above).
Re-run t_ropp2bufr - PASS.
Changeset [2564]. Will provide Rune with updated f90 & bfr files for him to confirm expected outputs.
NB original issue of 'default' ARH is yet to be explained, so this Ticket remains open for now.