Skip to content
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

Show the proper message with madis2nc and ACARS input (not ACARS profiler) #1409

Closed
4 of 19 tasks
hsoh-u opened this issue Jul 10, 2020 · 2 comments · Fixed by #1483
Closed
4 of 19 tasks

Show the proper message with madis2nc and ACARS input (not ACARS profiler) #1409

hsoh-u opened this issue Jul 10, 2020 · 2 comments · Fixed by #1483
Assignees
Labels
priority: medium Medium Priority type: bug Fix something that is not working

Comments

@hsoh-u
Copy link
Collaborator

hsoh-u commented Jul 10, 2020

Describe the Problem

madis2nc supports ACARS profiler and the other ACARS data is not supported (segfault). It's noce to give the proper error message instead of segmentation fault.

Expected Behavior

Show error message instead of seg. fault

Environment

Describe your runtime environment:

  1. Machine: Linux Workstation
  2. OS: RedHat Linux
  3. Software version number(s)

To Reproduce

Describe the steps to reproduce the behavior:

  1. madis2nc acars.2020010_1700 test.nc -type acarsProfiles

note: acars.2020010_1700 is not ACARS profiler. The following variables are missing: profileAirport, profileTime, trackLat, trackLon, altitude, obsTimeOfDay.

Relevant Deadlines

NONE.

Funding Source

NONE.

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required (Howard)
  • Select scientist(s) or no scientist required (None)

Labels

  • Select component(s)
  • Select priority
  • Select requestor(s)

Projects and Milestone

  • Review projects and select relevant Repository and Organization ones
  • Select milestone

Define Related Issue(s)

Consider the impact to the other METplus components.

Bugfix Checklist

See the METplus Workflow for details.

  • Complete the issue definition above.
  • Fork this repository or create a branch of master_<Version>.
    Branch name: bugfix_<Issue Number>_master_<Version>_<Description>
  • Fix the bug and test your changes.
  • Add/update unit tests.
  • Add/update documentation.
  • Push local changes to GitHub.
  • Submit a pull request to merge into master_<Version>.
    Pull request: bugfix <Issue Number> master_<Version> <Description>
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Complete the steps above to fix the bug on the develop branch.
    Branch name: bugfix_<Issue Number>_develop_<Description>
    Pull request: bugfix <Issue Number> develop <Description>
  • Close this issue.
@hsoh-u hsoh-u added type: bug Fix something that is not working component: application code priority: medium Medium Priority labels Jul 10, 2020
@hsoh-u hsoh-u added this to the MET 10.0 milestone Jul 10, 2020
@hsoh-u hsoh-u self-assigned this Jul 10, 2020
@JohnHalleyGotway JohnHalleyGotway added this to To do in METplus Version 3.1 Support via automation Aug 27, 2020
@JohnHalleyGotway
Copy link
Collaborator

Since this is an apparent bug in met-9.1, I'm reassigning this to:
Project = METplus Version 3.1 Support
Milestone = MET 9.1.1 (bugfix)

@hsoh-u hsoh-u moved this from To do to In progress in METplus Version 3.1 Support Sep 9, 2020
@JohnHalleyGotway JohnHalleyGotway linked a pull request Sep 9, 2020 that will close this issue
JohnHalleyGotway pushed a commit that referenced this issue Sep 10, 2020
* #1409 Check if there are missing variables and give the proper log message

* #1409 Check if there are missing variables and give the proper log message
hsoh-u added a commit that referenced this issue Sep 11, 2020
hsoh-u added a commit that referenced this issue Sep 11, 2020
hsoh-u added a commit that referenced this issue Sep 11, 2020
hsoh-u added a commit that referenced this issue Sep 11, 2020
@hsoh-u
Copy link
Collaborator Author

hsoh-u commented Sep 11, 2020

The quality flag variables were excluded from the required variables (reset to NA if the quality flag variables are missing)

@hsoh-u hsoh-u closed this as completed Sep 15, 2020
METplus Version 3.1 Support automation moved this from In progress to Done Sep 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: medium Medium Priority type: bug Fix something that is not working
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants