Learn R Programming

AtmRay (version 1.31)

MakeAtmList.lin: Make List of Linear Atmospheres

Description

Given a set of values that must be taken by each field in a linear atmosphere, returns a list of atmospheres that span all combinations of those values (similar to meshgrid).

Usage

MakeAtmList.lin(z0 = 0, c0 = 343, gc = 0, wx0 = 0, gwx = 0, wy0 = 0, gwy = 0, rho0 = 1.2929 * exp(-z0/6800), grho = -0.0001901323 * exp(-z0/6800))

Arguments

z0
Elevation of intercept layer (m)
c0
Intrinsic sound speed at intercept layer (m/s)
wx0
Zonal (east-west) wind at intercept layer (m/s)
wy0
Meridional (north-south) wind at intercept layer (m/s)
rho0
Density at intercept layer (kg/m^3)
gc
Vertical intrinsic sound speed gradient (1/s)
gwx
Vertical zonal wind gradient (1/s)
gwy
Vertical meridional wind gradient (1/s)
grho
Vertical density gradient (kg/m^4)

Value

Details

This is useful for modeling wave propagation in a range of atmospheres when actual atmospheric characteristics are poorly constrained.

Examples

Run this code
# make atmospheres spanning a range of base sound speeds and
# sound speed gradients
c0 = seq(330, 336, 0.1) 
gc = seq(-0.006, -0.004, 0.0005)

ATM_list = MakeAtmList.lin(c0 = c0, gc = gc)

Run the code above in your browser using DataLab