main content

implement horizontal wind model -凯发k8网页登录

implement horizontal wind model

description

example

wind = atmoshwm(latitude,longitude,altitude) implements the u.s. naval research laboratory horizontal wind model (hwm™) routine to calculate the meridional and zonal components of the wind for one or more sets of geographic coordinates: latitude, longitude, and altitude.

example

wind = atmoshwm(latitude,longitude,altitude,name,value) uses additional options specified by one or more name,value pair arguments.

examples

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 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 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

geodetic latitudes, in degrees, specified as a scalar or m-by-1 array.

example: -45

data types: double

geodetic longitudes, in degrees, specified as a scalar or m-by-1 array.

example: -85

data types: double

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.

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 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

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

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

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.

valuedescription
'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

implements specified horizontal wind model type.

  • '14'

    horizontal wind model 14.

  • '07'

    horizontal wind model 07.

data types: char | string

output arguments

meridional and zonal wind components of the horizontal wind model, returned as an m-by-2 array, in m/s.

version history

introduced in r2016b

see also

| |

external websites

    网站地图