-
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
Refine TC-Diag logic for handling missing data #2609
Comments
…args to control searching all files lists, erroring out, and printing warnings. The default settings maintain existing functionality. Update tc_diag code to suppress errors and warnings due to missing data. Still do need to suppress additional warnings from the vx_data libraries.
…, and use it in the vx_series_data library to control to limit the missing data warning messages from tc-diag.
In emails on 7/26/23, we noted that a significant change is needed in the file processing logic. It is often the case the we process input files that contain all data for each valid time in a single file. As of MET-11.1.0, we're still reading one field at a time from each input file. For the default set of 62 fields, that means we're opening/closing the same file at least 62 times. We definitely need to change that and read all 62 fields in the same pass for efficiency. The decision is to add a boolean for the user to specify whether all input data for a single time can be read from the same input file. Should have a default value of true:
If false, call the existing logic to search the list of input files for each field separately. |
…of the logger and reset it back to that state when done reading data. Get rid of the search_all_files flag since it'll always be true, even in tc_diag's use of it.
…l need to actually implement logic to handle this in tc_diag.
Made progress updating logic for the |
Running a very simple test with GRIB2 input files using the |
…DataFile::data_planes() since the logic is the same for all derived classes.
@sethlinden Please obtain test data from the following: TC diagnostics: seneca:/d1/projects/TCDiag/data_output/DIAGNOSTICS/TCDIAG adecks: seneca:/d1/projects/TCDiag/data_input/ATCF/adecks/NHC_JTWC bdecks: seneca:/d1/projects/TCDiag/data_input/ATCF/bdecks/NHC_JTWC |
Co-authored-by: John Halley Gotway <[email protected]> Co-authored-by: Seth Linden <[email protected]> Co-authored-by: jprestop <[email protected]> Co-authored-by: Daniel Adriaansen <[email protected]> Co-authored-by: John and Cindy <[email protected]> Co-authored-by: Howard Soh <[email protected]> Co-authored-by: George McCabe <[email protected]> Co-authored-by: hsoh-u <[email protected]> Co-authored-by: MET Tools Test Account <[email protected]> Co-authored-by: Seth Linden <[email protected]> Co-authored-by: lisagoodrich <[email protected]> Co-authored-by: davidalbo <[email protected]> Co-authored-by: Lisa Goodrich <[email protected]> Co-authored-by: metplus-bot <[email protected]> Co-authored-by: j-opatz <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Jonathan Vigh <[email protected]> Co-authored-by: Tracy Hertneky <[email protected]> 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)
Describe the Enhancement
Theses refinement to the handling of missing data were discussed on July 12, 2023 at the TC-Diag project-wide meeting (see meeting notes). As of MET version 11.1.0, if TC-Diag tries to read data from a GRIB file that does not exist, or can't find an individual field of data in a file that does exist, it exits with bad status:
This task it to handle missing data that falls into 3 categories:
Some details:
Time Estimate
2 or 3 days?
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Hopefully none needed
Relevant Deadlines
Ideally complete this prior to Aug 1, 2023 so we can start #2550 at that point.
Funding Source
2700043
Define the Metadata
Assignee
Labels
Projects and Milestone
Define Related Issue(s)
Consider the impact to the other METplus components.
Enhancement Checklist
See the METplus Workflow for details.
Branch name:
feature_<Issue Number>_<Description>
Pull request:
feature <Issue Number> <Description>
Select: Reviewer(s) and Development issues
Select: Repository level development cycle Project for the next official release
Select: Milestone as the next official version
The text was updated successfully, but these errors were encountered: