-
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
Feature 2085 convert R script (pntnc2ascii.r) to python #2341
Conversation
@DanielAdriaansen, I'm wondering if you're planning to review this PR from Howard? I see we're both listed but perhaps we're both thinking the other is going to review it ;) |
I have a few comments and questions:
The "elv" and "height" columns look like they need to have some formatting applied to the print statement. Could you add formatting to these columns @hsoh-u?
Do we need to change the location of the new
What is the difference between
|
|
|
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.
Just a minor request.
…tnc2ascii.py for printing an ASCII representation of the MET point observation NetCDF files.
…tcenter/MET into feature_2085_R_to_python_pntnc2ascii_R
…g like a C++ tool.
…tcenter/MET into feature_2085_R_to_python_pntnc2ascii_R
…tcenter/MET into feature_2085_R_to_python_pntnc2ascii_R
…tcenter/MET into feature_2085_R_to_python_pntnc2ascii_R
@JohnHalleyGotway you can view the documentation I added here: https://met.readthedocs.io/en/feature_2085_r_to_python_pntnc2ascii_r/Users_Guide/reformat_point.html#point-netcdf-to-ascii-python-utility What do you think? |
…tcenter/MET into feature_2085_R_to_python_pntnc2ascii_R
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.
Thanks for doing this Howard, this tool will be a great addition for users that need to inspect the point NetCDF files MET makes. I approve of the changes.
Expected Differences
Note: There is a warning with older netCDF4 package.
Two options were added
--add-header: the header is added (default, no header)
--use-comma: allows to generate comma separated text file (default: disabled)
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
python3 /d1/personal/hsoh/git/features/feature_2085_R_to_python_pntnc2ascii_R/MET/scripts/python/print_nc2ascii.py /d1/projects/MET/MET_regression/develop/NB20221110/MET-develop/test_output/ascii2nc/edr_hourly.20130827.nc | less
python3 /d1/personal/hsoh/git/features/feature_2085_R_to_python_pntnc2ascii_R/MET/scripts/python/print_nc2ascii.py /d1/projects/MET/MET_regression/develop/NB20221110/MET-develop/test_output/ascii2nc/edr_hourly.20130827.nc | less
python3 /d1/personal/hsoh/git/features/feature_2085_R_to_python_pntnc2ascii_R/MET/scripts/python/print_nc2ascii.py /d1/projects/MET/MET_regression/develop/NB20221110/MET-develop/test_output/pb2nc/ndas.20120409.t12z.prepbufr.tm00.nc | less
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]
This is a standalone utility
Will this PR result in changes to the test suite? [No]
If yes, describe the new output and/or changes to the existing output:
Please complete this pull request review by [Fill in date].
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