implement horizontal wind model -凯发k8网页登录
implement horizontal wind model
syntax
description
examples
calculate the total horizontal wind model
calculate the total horizontal wind model for a latitude of 45 degrees south, longitude of 85 degrees west, and altitude of 25,000 m above mean sea level (msl). the date is the 150th day of the year, at 11 am utc, using an ap index of 80. the horizontal model version is 14.
w = atmoshwm(-45,-85,25000,'day',150,'seconds',39600,'apindex',80,'model','total', 'version', '14')
w = 3.2874 25.8735
calculate the quiet horizontal wind model
calculate the quiet horizontal wind model for a latitude of 50 degrees north, two altitudes of 100,000 m and 150,000 m above msl, and a longitude of 20 degrees west. the date is midnight utc of january 30. the default horizontal model version is 14.
w = atmoshwm([50;50],[-20;-20],[100000;150000],'day',[30;30])
w = -42.9350 -40.3693 29.1106 0.6253
calculate a disturbed horizontal wind model
calculate the disturbed horizontal wind model for an altitude of 150,000 m above msl at latitude 70 degrees north, longitude 65 degrees west. the date is midnight utc of june 15. the default horizontal model version is 14.
dw = atmoshwm(70,-65,150000,'day',166,'model','disturbance')
dw = 1.7954 -1.7130
input arguments
latitude
— geodetic latitude
scalar | m-by-1 array
geodetic latitudes, in degrees, specified as a scalar or m-by-1 array.
example: -45
data types: double
longitude
— geodetic longitude
scalar | m-by-1 array
geodetic longitudes, in degrees, specified as a scalar or m-by-1 array.
example: -85
data types: double
altitude
— geopotential height
scalar | m-by-1 array
geopotential heights, in meters, within the range of 0 to 500 km, specified as a scalar or m-by-1 array. values are held outside the range 0 to 500 km.
example: 25000
data types: double
name-value arguments
specify optional pairs of arguments as
name1=value1,...,namen=valuen
, where name
is
the argument name and value
is the corresponding value.
name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
before r2021a, use commas to separate each name and value, and enclose
name
in quotes.
example: 'apindex',80,'model','total'
specifies
that the total horizontal wind model be calculated for an ap index
of 80.
apindex
— ap index
m-by-1 array of zeroes (default) | scalar | m-by-1 array
ap index for the coordinated universal time (utc) at which atmoshwm
evaluates the model, specified as an m-by-1 array of zeroes, a
scalar, or an m-by-1 array. m is the number of
requested geographic coordinates. select the index from the , which contains three-hour interval geomagnetic
disturbance index values. if the ap index value is greater than zero, the model
evaluation accounts for magnetic effects.
specify the ap index as a value from 0 through 400. specify an ap index value for only the disturbance or total wind model type.
data types: double
day
— day of year
m-by-1 array of ones (default) | scalar | m-by-1 array
day of year in utc. specify the day as a value from 1 through 366 (for a leap year), specified as an m-by-1 array of zeroes, a scalar, or an m-by-1 array. values are wrapped to within 1 to 366 days.
data types: double
seconds
— elapsed seconds
m-by-1 array of zeroes (default) | scalar | m-by-1 array
elapsed seconds since midnight for the selected day, in utc, specified as specified as an m-by-1 array of zeroes, a scalar, or an m-by-1 array.
specify the seconds as a value from 0 through 86,400. values are wrapped to within 0 to 86400 seconds.
data types: double
model
— horizontal wind model type
'quiet'
(default) | 'disturbance'
| 'total'
horizontal wind model type for which to calculate the wind components. this setting applies to all the sets of geophysical data in m.
'quiet'
calculates the horizontal wind model without the magnetic disturbances. quiet model types do not account for ap index values. for this model type, do not specify an ap index value.
'disturbance'
calculates the effect of only magnetic disturbances in the wind. for this model type, specify ap index values greater than or equal to zero.
'total'
calculates the combined effect of the quiet and magnetic disturbances. for this model type, specify ap index values greater than or equal to zero.
data types: char
| string
action
— function behavior
'error'
(default) | 'none'
| 'warning'
function behavior when inputs are out of range, specified as one of these values. this type applies to all the sets of geophysical data in m.
value | description |
---|---|
'none' | no action. |
'warning' | warning in the matlab® command window, model simulation continues. |
'error' | matlab returns an exception, model simulation stops. |
data types: char
| string
version
— horizontal wind model version
'14'
(default) | '07'
implements specified horizontal wind model type.
'14'
horizontal wind model 14.
'07'
horizontal wind model 07.
data types: char
| string
output arguments
wind
— meridional and zonal wind components
m-by-2 array
meridional and zonal wind components of the horizontal wind model, returned as an m-by-2 array, in m/s.
version history
introduced in r2016br2021b: atmoshwm
function possible changed returned values
the atmoshwm
function now:
accepts
day
decimal input values.limits
altitude
input values to500
km.
as a result, the output values from this function might change from previous releases.
see also
| |
external websites
matlab 命令
您点击的链接对应于以下 matlab 命令:
请在 matlab 命令行窗口中直接输入以执行命令。web 浏览器不支持 matlab 命令。
select a web site
choose a web site to get translated content where available and see local events and offers. based on your location, we recommend that you select: .
you can also select a web site from the following list:
how to get best site performance
select the china site (in chinese or english) for best site performance. other mathworks country sites are not optimized for visits from your location.
americas
- (español)
- (english)
- (english)
europe
- (english)
- (english)
- (deutsch)
- (español)
- (english)
- (français)
- (english)
- (italiano)
- (english)
- (english)
- (english)
- (deutsch)
- (english)
- (english)
- switzerland
- (english)
asia pacific
- (english)
- (english)
- (english)
- 中国
- (日本語)
- (한국어)