easyclimate.core.spharm

easyclimate.core.spharm#

Functions

calc_gaussian_latitudes(nlat)

Calculate the gaussian latitudes (in degrees) and quadrature weights.

calc_geodesic_points(m)

Calculate the lat/lon values of the points on the surface of the sphere corresponding to a twenty-sided (icosahedral) geodesic.

calc_legendre_functions(lat, ntrunc)

Calculate associated legendre functions for triangular truncation T(ntrunc), at a given latitude.

calc_spherical_harmonic_coefficients(ntrunc)

Calculate indices of zonal wavenumber (indxm) and degree (indxn) for complex spherical harmonic coefficients.

transfer_grid2spectral_transform(grid_data, ...)

Transform grid data to spectral representation (spherical harmonic analysis).

transfer_spectral_transform2grid(spec_data, ...)

Transform spectral data back to grid space representation (spherical harmonic synthesis)