-
Notifications
You must be signed in to change notification settings - Fork 24
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
Bugfix 2638 nccf coordinate dimension main v11.1 #2653
Bugfix 2638 nccf coordinate dimension main v11.1 #2653
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The input file is added to mohawk for unittest at /d2/www/dtcenter/dfiles/code/METplus/MET/MET_unit_test/unit_test/model_data/nccf/percentile_extract_20230729T1200Z-B20230725T0030Z-visibility_at_screen_level.nc. unit_test-all.tgz is updated, too |
Thank you for your reply @hsoh-u. Based on @JohnHalleyGotway's comment in the issue description:
I interpreted that as adding a unit test (https://github.com/dtcenter/MET/tree/main_v11.1/internal/test_unit/xml) using the input file. Could you please add a unit test for this in an appropriate xml file? |
An unit test is added |
@hsoh-u I see that one of the tests failed due to:
Is that expected? I know you said that you added it to /d2/www/dtcenter/dfiles/code/METplus/MET/MET_unit_test/unit_test/model_data/nccf/percentile_extract_20230729T1200Z-B20230725T0030Z-visibility_at_screen_level.nc and unit_test-all.tgz, so I was surprised to see this fail, but I really don't know the details of the connections. Please let me know if you expected it to fail and I can approve. |
Not expected. It looks like the new input data file for unittest is not available at Docker for version 11.1.
|
unit_test-all.tgz at develop and v11.1 were updated yesterday. GHA failed because of newly added input file. What is the next step to add new input file for Docker? GHA error messages:
Status of mohawk for unit test data:
|
I am not sure. I tried poking around in the GitHub Actions files in .github, but I could not find this information. @JohnHalleyGotway are you able to help us out with this information? |
FYI, I added the project and milestone to this PR. Please remember to check the Projects, Milestone, and Development metadata when submitting and reviewing to make sure this PR and linked issue get added to the release notes for the target release. Copy/pasting info over from Slack: The Update input data volumes step is updating the met-data-dev:develop Docker image tag.
While the actual unit tests are pulling the met-data-dev:11.1-all Docker image tag.
But that was never regenerated because the previous step didn't update it! I will work on the necessary GHA updates on this feature branch now. |
…itch from v2 to the most recent v3. Also, instead of setting branch_name to the current branch being run, switch to using truth_data_version. That will be set to develop or main_vX.Y. For this branch, its set to main_v11.1 which will tell the METplus action to update the corresponding input data. Not 100% sure this will work, but its worth a try.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It looks like the only difference is the new file:
dir1: /data/output/met_test_truth contains 1104 files
dir2: /data/output/met_test_output contains 1105 files
ERROR: folder /data/output/met_test_truth missing 1 files
plot_data_plane/visibility_in_air_by_percentile.ps
I approve.
…mitted to the repo sometime during development.
Co-authored-by: John Halley Gotway <johnhg@ucar.edu> Co-authored-by: Seth Linden <linden@seneca.rap.ucar.edu> Co-authored-by: jprestop <jpresto@ucar.edu> Co-authored-by: Daniel Adriaansen <dadriaan@ucar.edu> Co-authored-by: John and Cindy <halleygotway@Halleys-Mac-mini.local> Co-authored-by: Howard Soh <hsoh@seneca.rap.ucar.edu> Co-authored-by: George McCabe <23407799+georgemccabe@users.noreply.github.com> Co-authored-by: hsoh-u <hsoh@ucar.edu> Co-authored-by: MET Tools Test Account <met_test@seneca.rap.ucar.edu> Co-authored-by: Seth Linden <linden@ucar.edu> Co-authored-by: lisagoodrich <33230218+lisagoodrich@users.noreply.github.com> Co-authored-by: davidalbo <dave@ucar.edu> Co-authored-by: Lisa Goodrich <lisag@ucar.edu> Co-authored-by: metplus-bot <97135045+metplus-bot@users.noreply.github.com> Co-authored-by: j-opatz <59586397+j-opatz@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jonathan Vigh <jvigh@ucar.edu> Co-authored-by: David Albo <dave@ucar.edu> Co-authored-by: Tracy Hertneky <39317287+hertneky@users.noreply.github.com> Co-authored-by: Dan Adriaansen <dadriaan@ucar.edu> Fix Python environment issue (#2407) fix definitions of G172 and G220 based on comments in NOAA-EMC/NCEPLIBS-w3emc#157. (#2406) fix #2380 develop override (#2382) fix #2408 develop empty config (#2410) fix #2390 develop compile zlib (#2404) fix #2412 develop climo (#2422) fix #2437 develop convert (#2439) fix for develop, for #2437, forgot one reference to the search_parent for a dictionary lookup. fix #2452 develop airnow (#2454) fix #2449 develop pdf (#2464) fix #2402 develop sonarqube (#2468) fix #2426 develop buoy (#2475) fix 2518 dtypes appf docs (#2519) fix 2531 compilation errors (#2533) fix #2531 compilation_errors_configure (#2535) fix 2596 main v11.1 rpath compilation (#2614) fix #2514 main_v11.1 clang (#2628) fix #2644 main_v11.1 percentile (#2646)
Expected Differences
The variable with the standard name "height" and "air_pressure" is selected as the vertical level variable for NCCF. The sample NetCDF from the user has the "height" variable but it's not used as the vertical level. The vertical level will be from the variable's vertical dimension.
MET recognizes projection_x_coordinate, projection_y_coordinate, and height by the standard_name and the attribute "axis". The "height" is excluded as a coordinate variables because it is not 1 dimension variable. And the variable "visibility_in_air" has the "percentile" dimension as Z. MET checks the vertical level from "percentile", not "height".
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
And tested following three:
Recommend testing for the reviewer(s) to perform, including the location of input datasets, and any additional instructions:
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? [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:
An unittest is added. One more output at plot_data_plane//visibility_in_air_by_percentile.ps
Pull Request Checklist
See the METplus Workflow for details.
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