Skip to content

Corrected bit checks due to reverse ordered bits#879

Merged
rhoneyager merged 5 commits intodevelopfrom
feature/fixGNSSRO_converter_bit_check
Mar 22, 2022
Merged

Corrected bit checks due to reverse ordered bits#879
rhoneyager merged 5 commits intodevelopfrom
feature/fixGNSSRO_converter_bit_check

Conversation

@haydenlj
Copy link
Copy Markdown
Contributor

Description

Corrected bit check due to reverse ordered bits in QC word

Issue(s) addressed

Link the issues to be closed with this PR

Acceptance Criteria (Definition of Done)

Code runs and correctly decodes QC bits

@haydenlj haydenlj self-assigned this Mar 21, 2022
@fabiolrdiniz
Copy link
Copy Markdown
Contributor

Hi, @haydenlj! Thanks for adding me here. I'll add @BenjaminRuston too.

@fabiolrdiniz
Copy link
Copy Markdown
Contributor

I believe the PR is good to go (removing the draft). The CI tests are failing, probably because the reference file needs to be updated.

@haydenlj haydenlj marked this pull request as ready for review March 21, 2022 23:27
Copy link
Copy Markdown
Contributor

@fabiolrdiniz fabiolrdiniz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @haydenlj!

@fabiolrdiniz
Copy link
Copy Markdown
Contributor

fabiolrdiniz commented Mar 22, 2022

The CI tests are failing due to the coding norms with the following message:

13: ./gnssro_bufr2ioda.py:64:14: E211 whitespace before '('
13: 1       E211 whitespace before '('

If you run ctest -R iodaconv_gnssro_coding_norms -VV it will show the full message.

Comment thread src/gnssro/gnssro_bufr2ioda.py Outdated
Co-authored-by: Fabio L R Diniz <45880035+fabiolrdiniz@users.noreply.github.com>
Comment thread test/CMakeLists.txt
testinput/aeronet_tab.dat
testinput/imsscf_20191215_c48.nc
testinput/bfrPrf_C2E3.2020.349.21.26.R18_0001.0001_bufr
testinput/bfrPrf_C2E6.2021.214.12.00.G16_0001.0001_bufr
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this data uploaded to data repo already?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ioda-converters has no ioda-converters-data repository. So, yes, the data are already uploaded.

@rhoneyager rhoneyager merged commit 0c4b819 into develop Mar 22, 2022
@rhoneyager rhoneyager deleted the feature/fixGNSSRO_converter_bit_check branch March 22, 2022 19:14
@@ -180,14 +184,15 @@ def get_obs_data(bufr, profile_meta_data, record_number=None):
bang_conf = codes_get_array(bufr, 'percentConfidence')[1:krepfac[0]+1]
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be checked as one of the QC flags so that it can be consistent with the Fortran code?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix bit order in QC check GNSSRO converter

5 participants