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 2028 madis2nc profiler qc #2035

Merged
merged 6 commits into from
Feb 2, 2022
Merged

Conversation

hsoh-u
Copy link
Collaborator

@hsoh-u hsoh-u commented Feb 2, 2022

Expected Differences

The quality value was not handled correctly on processing profiler type input (2D variables) at seneca. Two quality marks should be added into the output NetCDF.

  • maids2nc.cc: passing 2D dim and cur

  • pb2nc.cc: changed a warning to a debug message if derived data exists

  • Some fixes for SonarQube

    • met_point_data.cc: sets obs_data
    • mtd_file_int.cc: check the variable "d" is not null
    • pointdata_python.cc : removed un-reachable code
  • Do these changes introduce new tools, command line arguments, or configuration file options? [No]

    If yes, please describe:

  • Do these changes modify the structure of existing or add new output data types (e.g. statistic line types or NetCDF variables)? [No]

    If yes, please describe:

Pull Request Testing

  • Describe testing already performed for these changes:

/d1/personal/hsoh/git/features/feature_2028_madis2nc_profiler_qc/MET/met/share/met/../../bin/madis2nc \
/d1/projects/MET/MET_test_data/unit_test/obs_data/madis/profiler/profiler_20120409_1200.nc \
/d1/personal/hsoh/MET/test_output/feature_2028_madis2nc_profiler_qc/madis2nc/profiler_2012040912_F000.nc \
-type profiler \
-mask_poly /d1/personal/hsoh/git/features/feature_2028_madis2nc_profiler_qc/MET/met/share/met/poly/CONUS.poly -v 2

ncdump -v /d1/personal/hsoh/MET/test_output/feature_2028_madis2nc_profiler_qc/madis2nc/profiler_2012040912_F000.nc | less

obs_qty_table =
"S",
"Q" ;
}

  • Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:

Run the unit test add check the "madis2nc/profiler_2012040912_F000.nc"

  • Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [No]

  • Do these changes include sufficient testing updates? [Yes or No]

  • Will this PR result in changes to the test suite? [Yes]

    If yes, describe the new output and/or changes to the existing output:

No at kiowa
Yes at seneca. Two quality value at sececa

  • Please complete this pull request review by [Fill in date].

Pull Request Checklist

See the METplus Workflow for details.

  • Complete the PR definition above.
  • Ensure the PR title matches the feature or bugfix branch name.
  • Define the PR metadata, as permissions allow.
    Select: Reviewer(s)
    Select: Organization level software support Project or Repository level development cycle Project
    Select: Milestone as the version that will include these changes
  • After submitting the PR, select Linked issues with the original issue number.
  • After the PR is approved, merge your changes. If permissions do not allow this, request that the reviewer do the merge.
  • Close the linked issue and delete your feature or bugfix branch from GitHub.

@hsoh-u hsoh-u added this to the MET 10.1.0 milestone Feb 2, 2022
@hsoh-u hsoh-u linked an issue Feb 2, 2022 that may be closed by this pull request
21 tasks
Copy link
Collaborator

@georgemccabe georgemccabe left a comment

Choose a reason for hiding this comment

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

I built MET using the feature branch on seneca and ran the madis2nc unit test. I confirmed that the obs_qty_table values match what was expected.

@hsoh-u hsoh-u merged commit 4da5850 into develop Feb 2, 2022
@JohnHalleyGotway JohnHalleyGotway deleted the feature_2028_madis2nc_profiler_qc branch March 17, 2022 22:00
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 MADIS2NC to correctly parse MADIS profiler quality flag values.
2 participants