Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/nicke sfcshp prepbufr #9

Open
wants to merge 88 commits into
base: develop
Choose a base branch
from

Conversation

nicholasesposito
Copy link

Adds SFCSHP mapping yaml and encoder script to SPOC.
Takes care of Issue #8

  • Build the backend
  • Write scripts
  • Compare to GSI diag and GSI IODA
  • Compare to low level outputs, generated by global workflow using gdasprepatmiodaobs.

@nicholasesposito nicholasesposito self-assigned this Oct 31, 2024
@nicholasesposito nicholasesposito marked this pull request as ready for review January 15, 2025 20:42
@nicholasesposito
Copy link
Author

Moved from draft to being reviewed @rmclaren @emilyhcliu @PraveenKumar-NOAA @ADCollard

dump/mapping/bufr_sfcshp_prepbufr_mapping.yaml Outdated Show resolved Hide resolved
return description


def Compute_sequenceNumber(typ, t29):
Copy link
Collaborator

Choose a reason for hiding this comment

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

function name does not follow convention

Copy link
Author

Choose a reason for hiding this comment

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

Can you remind me where to find the convention?

Copy link
Collaborator

Choose a reason for hiding this comment

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

They are the python pep 8 conventions. https://peps.python.org/pep-0008/

Copy link
Collaborator

@rmclaren rmclaren Jan 16, 2025

Choose a reason for hiding this comment

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

maybe def _compute_sequence_num(typ, t29)? Functions should be all lower case with words seperated by _.

Copy link
Author

Choose a reason for hiding this comment

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

Understood. Thanks!

dump/mapping/bufr_sfcshp_prepbufr.py Outdated Show resolved Hide resolved
ush/test/bufr_sfcshp_prepbufr.py Outdated Show resolved Hide resolved
ush/test/bufr_sfcshp_prepbufr.py Outdated Show resolved Hide resolved
ush/test/bufr_sfcshp_prepbufr_mapping.yaml Outdated Show resolved Hide resolved
ush/test/encodeBufr_Nick.sh Outdated Show resolved Hide resolved
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.

3 participants