Describe the Enhancement
Once PR #3411 is merged, MET will have the ability to calculate power spectra on regional grids using the discrete cosine transform (DCT).
However, the DCT is appropriate only for regional grids because it assumes a symmetric extension of the domain in both directions (an assumption that is not valid for a global domain). Thus, it should not be applied to global domains. For global domains (which are periodic in the zonal direction but not in the meridional), the proper transform to use is the spherical harmonics. This uses the Fourier transform in the zonal direction and the Legendre transform in the meridional. Thus, add to MET the capability to calculate the spherical harmonic transform of a global field.
Also consider the following options:
- For grids that wrap the earth but do not include the poles, a hybrid approach would be appropriate. Use spherical harmonics in the horizontal paired with DCT in the vertical.
- Consider whether adding support for DFT (Discrete Fourier Transform) would be worthwhile. If added, we'd need to revisit how the wavelenghts are reported. A source paper groups together adjacent DCT bins to make the DCT output comparable to DFT.
- Consider where the decomposition method choice should be made configurable. Recommend that the code "choose" the recommended option based on the grid geometry, but should users be able to override that default?
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Milestone and Projects
Define Related Issue(s)
Consider the impact to the other METplus components.
Enhancement Checklist
See the METplus Workflow for details.
Describe the Enhancement
Once PR #3411 is merged, MET will have the ability to calculate power spectra on regional grids using the discrete cosine transform (DCT).
However, the DCT is appropriate only for regional grids because it assumes a symmetric extension of the domain in both directions (an assumption that is not valid for a global domain). Thus, it should not be applied to global domains. For global domains (which are periodic in the zonal direction but not in the meridional), the proper transform to use is the spherical harmonics. This uses the Fourier transform in the zonal direction and the Legendre transform in the meridional. Thus, add to MET the capability to calculate the spherical harmonic transform of a global field.
Also consider the following options:
Time Estimate
Estimate the amount of work required here.
Issues should represent approximately 1 to 3 days of work.
Sub-Issues
Consider breaking the enhancement down into sub-issues.
Relevant Deadlines
List relevant project deadlines here or state NONE.
Funding Source
Define the source of funding and account keys here or state NONE.
Define the Metadata
Assignee
Labels
Milestone and Projects
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 issue
Select: Milestone as the next official version
Select: MET-X.Y Development project for development toward the next coordinated release