-
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 2654 ascii2nc polar buoy support #2846
Feature 2654 ascii2nc polar buoy support #2846
Conversation
…me range, which was added as a command line option
Please document the new python utilities in the ASCII2NC chapter with a level of detail similar to this section. |
For each line of the input file (i.e. unique lat/lon and time combination), write an output obs named |
…2nc_polar_buoy_support
…2nc_polar_buoy_support Also update ascii2nc/Makefile.in by running bootstrap on seneca. And resolve conflicts with the Ascii2NC enumeration in the develop branch.
I see that the 2 new scripts in the |
…all the python scripts that should be installed.
Keeping track of my PR review steps here:
And it worked fine!
I see that the elevation, height, and qc flags are all stored as bad data (
|
…ng flagged as a bug by SonarQube.
Expected Differences
Two new python scripts have been added:
scripts/python/utility/find_iabp_in_timerange.py
looks at all the iabp files and lists those in a range of timesscripts/python/utility/get_iabp_from_web.py
pulls all the iabp files from the web.Command line arguments for ascii2nc have been changed to optionally include a time range, same format as other apps:
Pull Request Testing
Both python scripts were run to get and parse the iabp data files for time ranges. ascii2nc was then run on a set of files that contain a particular time range, with the command line option to specify time range used. The resultant netcdf file was looked at using ncdump. Notes on all of this, along with all the iabp data files, are on seneca in
/d1/personal/dave/ascii2nc_test
. Also, the unit test was expanded to include the same specific ascii2nc input data and command line arguments.I'd recommend starting by reading
/d1/personal/dave/ascii2nc_test/0README
and doing something similar.Do these changes include sufficient documentation updates, ensuring that no errors or warnings exist in the build of the documentation? [Yes] The document now describes the IABP option, and the optional time range command line args.
Do these changes include sufficient testing updates? [Maybe] The use of the time range command line args was not tested on other ascii2nc formats, only on the iabp data format.
Will this PR result in changes to the MET test suite? [Yes]
If yes, describe the new output and/or changes to the existing output:
The ascii2nc unit test now includes an iabp data test, with an output file:
&OUTPUT_DIR;/ascii2nc/iabp_20140101_20140201.nc
Will this PR result in changes to existing METplus Use Cases? [No]
At least I don't think so.
Please complete this pull request review by [Fill in date].
Pull Request Checklist
See the METplus Workflow for details.
Select: Reviewer(s) and Development issue
Select: Milestone as the version that will include these changes
Select: Coordinated METplus-X.Y Support project for bugfix releases or MET-X.Y.Z Development project for official releases