Skip to content

Add power spectra calculation capability to the Grid-Diag tool in MET #3304

Description

@gsketefian

Describe the New Feature

  • Provide a capability within grid_diag to calculate a power spectrum from a given field, usually a velocity component or the whole wind field.
  • Capability should allow calculation of spectrum on either a regional grid (using Fourier transforms) or a global grid (using spherical harmonics transform).
  • Not sure if time-averaging of power spectra (e.g. for seasonal applications) should be included in grid_diag or another MET tool.

Acceptance Testing

  • Given an idealized field with a known (analytic) power spectrum, ensure that the code generates the known spectrum.
  • At least two tests -- one on a regional grid and another on a global grid.
  • Input data for these tests can be generated analytically. Not sure about the format of the input data (netcdf?).
  • Output data -- not sure what format this should be in.

Time Estimate

  • Two months.
  • A set of python scripts is already available that calculates power spectra. These will have to be adapted for incorporation into MET. Scripts can be found in the DTC AIWP project's folder here.
  • Also see updated version in https://github.com/CPKalb/KE_Spectra_Calculation_Plot

Sub-Issues

Consider breaking the new feature down into sub-issues.

  • Add a checkbox for each sub-issue here.

Relevant Deadlines

List relevant project deadlines here or state NONE.

Funding Source

PRJ014254 NOAA BENCHMARKING TNE

Define the Metadata

Assignee

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

Labels

  • Review default alert labels
  • Select component(s)
  • Select priority
  • Select requestor(s)

Milestone and Projects

  • Select Milestone as a MET-X.Y.Z version, Consider for Next Release, or Backlog of Development Ideas
  • For a MET-X.Y.Z version, select the MET-X.Y Development project

Define Related Issue(s)

Consider the impact to the other METplus components.

New Feature 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 Development issue
    Select: Milestone as the next official version
    Select: MET-X.Y Development project for development toward the next coordinated release
  • Iterate until the reviewer(s) accept and merge your changes.
  • Delete your fork or branch.
  • Close this issue.

@JohnHalleyGotway @KathrynNewman @michelleharrold @CPKalb

Metadata

Metadata

Type

No type

Projects

Status
🏗 In progress

Relationships

None yet

Development

No branches or pull requests

Issue actions