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

Rename the TCDIAG SOURCE column as DIAG_SOURCE #2337

Closed
8 of 20 tasks
JohnHalleyGotway opened this issue Nov 9, 2022 · 1 comment · Fixed by #2338
Closed
8 of 20 tasks

Rename the TCDIAG SOURCE column as DIAG_SOURCE #2337

JohnHalleyGotway opened this issue Nov 9, 2022 · 1 comment · Fixed by #2338
Assignees
Labels
MET: Tropical Cyclone Tools priority: high High Priority requestor: METplus Team METplus Development Team required: FOR DEVELOPMENT RELEASE Required to be completed in the development release for the assigned project type: task An actionable item of work
Milestone

Comments

@JohnHalleyGotway
Copy link
Collaborator

Describe the Task

dtcenter/METdataio#131 updates the schema to load the TCDIAG line type into the database. However @venitahagerty notes that the INDEX and SOURCE column names in the TCDIAG line type cause a namespace conflict with reserved database names.

We discussed this at the 20221109 METplus Analysis tools meeting and decided:

  1. Since INDEX appears in several MET output line types, keep its name as-is and follow the paradigm used for the TCMPR line type and store it with the name pair_index.
  2. Since SOURCE does not appear in any other MET output line type, we have flexibility in what name we choose. Rename it to DIAG_SOURCE since @venitahagerty is loading it into a database using the same name.

And that's the task for this issue, renaming the TCDIAG SOURCE column as DIAG_SOURCE.

Time Estimate

2 hours.

Sub-Issues

Consider breaking the task down into sub-issues.
None needed.

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

TCDIAG project funding 2770043

Define the Metadata

Assignee

  • Select engineer(s) or no engineer required: @JohnHalleyGotway
  • Select scientist(s) or no scientist required: not needed

Labels

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

Projects and Milestone

  • Select Repository and/or Organization level Project(s) or add alert: NEED PROJECT ASSIGNMENT label
  • Select Milestone as the next official version or Future Versions

Define Related Issue(s)

Consider the impact to the other METplus components.

Task Checklist

See the METplus Workflow for details.

  • Complete the issue definition above, including the Time Estimate and Funding Source.
  • Fork this repository or create a branch of develop.
    Branch name: feature_<Issue Number>_<Description>
  • Complete the development and test your changes.
  • Add/update log messages for easier debugging.
  • Add/update unit tests.
  • Add/update documentation.
  • Push local changes to GitHub.
  • Submit a pull request to merge into develop.
    Pull request: feature <Issue Number> <Description>
  • Define the pull request metadata, as permissions allow.
    Select: Reviewer(s) and Linked issues
    Select: Repository level development cycle Project for the next official release
    Select: Milestone as the next official version
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.
@JohnHalleyGotway JohnHalleyGotway added type: task An actionable item of work requestor: METplus Team METplus Development Team required: FOR DEVELOPMENT RELEASE Required to be completed in the development release for the assigned project MET: Tropical Cyclone Tools priority: high High Priority labels Nov 9, 2022
@JohnHalleyGotway JohnHalleyGotway added this to the MET 11.0.0 milestone Nov 9, 2022
@JohnHalleyGotway JohnHalleyGotway self-assigned this Nov 9, 2022
@venitahagerty
Copy link

I don't think it makes a difference to MET, but just for consistency, noting that the MySQL field name in line_data_tcmpr and line_data_tcdiag for the index is index_pair.

JohnHalleyGotway added a commit that referenced this issue Nov 9, 2022
@JohnHalleyGotway JohnHalleyGotway linked a pull request Nov 9, 2022 that will close this issue
15 tasks
@JohnHalleyGotway JohnHalleyGotway moved this from Backlog to Pull Request Review in MET-11.0.0-beta5 (11/20/22) Nov 10, 2022
JohnHalleyGotway added a commit that referenced this issue Nov 10, 2022
Repository owner moved this from Pull Request Review to Done in MET-11.0.0-beta5 (11/20/22) Nov 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
MET: Tropical Cyclone Tools priority: high High Priority requestor: METplus Team METplus Development Team required: FOR DEVELOPMENT RELEASE Required to be completed in the development release for the assigned project type: task An actionable item of work
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants