MetOffice / opsinputs

JEDI library generating VarObs and Cx files
BSD 3-Clause "New" or "Revised" License
4 stars 0 forks source link

Use actual channel numbers as indexes to fill data array. #160

Closed orlewis closed 1 year ago

orlewis commented 1 year ago

For the geo radiances I found that the varobs files were not produced correctly as the channels got filled in a block. This PR allows the channel number to be used as an index to fill in an array. For SEVIRICLR channels used are 5,6,7,9,10,11. Without this fix you either get an array filled from channels 1-6 or you can use the offset and get 5,6,7,8,9,10.

completes #159

orlewis commented 1 year ago

Now getting failures in these ctests

       1 - opsinputs_coding_norms (Failed) - Fixed this by removing whitespace
 30 - test_opsinputs_varobswriter_055_VarField_channum (Failed)
 58 - test_opsinputs_varobswriter_globalnamelist_atms (Failed)
 59 - test_opsinputs_varobswriter_globalnamelist_atovs (Failed)
 61 - test_opsinputs_varobswriter_globalnamelist_iasi (Failed)