dtcenter / MET

Model Evaluation Tools
https://dtcenter.org/community-code/model-evaluation-tools-met
Apache License 2.0
74 stars 22 forks source link

Feature 2654 ascii2nc polar buoy support #2846

Closed davidalbo closed 3 months ago

davidalbo commented 3 months ago

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 times scripts/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:

[-valid_beg time]
[-valid_end time]

"-valid_beg time" in YYYYMMDD[_HH[MMSS]] sets the beginning of the processed data time window (optional).
"-valid_end time" in YYYYMMDD[_HH[MMSS]] sets the end of the processed data time window (optional).


Pull Request Testing

Pull Request Checklist

See the METplus Workflow for details.

JohnHalleyGotway commented 3 months ago

Please document the new python utilities in the ASCII2NC chapter with a level of detail similar to this section.

JohnHalleyGotway commented 3 months ago

For each line of the input file (i.e. unique lat/lon and time combination), write an output obs named location with a value of 1 to indicate the buoy location. Additionally, write other obs for non-missing temperature data.

JohnHalleyGotway commented 3 months ago

I see that the 2 new scripts in the scripts/python/utility directory are NOT actually being copied over into the installed share/met/python/utility directory because Makefile.am in the utility directory was not updated to install them. I added that logic for this feature branch with this commit.

JohnHalleyGotway commented 3 months ago

Keeping track of my PR review steps here: