ESCOMP / ESCOMP/atmospheric_physics

Check if Coriolis parameter can be passed to gravity wave parameterizations from host model

Open
#319 0 comments 0 reactions 0 assignees View on GitHub
cleanup
Dominant language
Fortran
Stars
12
Forks
38
Avg merge
11h 16m
Merged PRs (30d)
5

Description

From review of GW drag https://github.com/ESCOMP/atmospheric_physics/pull/292

@nusbaume wrote:
> Also, outside of the division by kwv this appears to be a very generic calculation of the Coriolis parameter. It might be worth adding an entry into the "future work" issue to see if the Coriolis parameter can simply be handed to the gravity wave scheme by the host model (as omega_earth can certainly change if one is doing exoplanet-like experiments).

relevant code
```fortran
! Calculates absolute value of the local Coriolis frequency divided by the
! spatial frequency kwv, which gives a characteristic speed in m/s.
function coriolis_speed(band, lat)
! Inertial gravity wave lengths.
type(GWBand), intent(in) :: band
! Latitude in radians.
real(kind_phys), intent(in) :: lat(:)

real(kind_phys) :: coriolis_speed(size(lat))

coriolis_speed = abs(sin(lat)*2._kind_phys*omega_earth/band%kwv)

end function coriolis_speed
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.