chgres_cube  1.13.0
 All Data Structures Files Functions Variables
wam_climo_data.f90 File Reference

Process vertical profile climatologic data for WAM. More...

Go to the source code of this file.

Functions/Subroutines

subroutine gettemp (iday, xlat, pr, np, pf, temp, n_o, n_o2, n_n2)
 Routine that computes temperature and neutral density values utilizing MSIS 2.1. More...
 
subroutine ghp8 (day, utsec, z0, glat, glon, f107a, f107, ap, pres, alt, dn, tn)
 Wrapper routine for calls to MSIS 2.1 for computing temperature and neutral density at a given pressure level. More...
 

Detailed Description

Process vertical profile climatologic data for WAM.

This software incorporates the MSIS empirical atmospheric model software designed and provided by NRL. Use is governed by the Open Source Academic research License Agreement contained in the file msis2.1/nrlmsis2.1_license.txt

Author
Adam Kubaryk NCEP/SWPC

Definition in file wam_climo_data.f90.

Function/Subroutine Documentation

subroutine gettemp ( integer, intent(in)  iday,
real(kind=esmf_kind_r8), intent(in)  xlat,
real(kind=esmf_kind_r8), dimension(np), intent(in)  pr,
integer, intent(in)  np,
character(*), intent(in)  pf,
real(kind=esmf_kind_r8), dimension(np), intent(out)  temp,
real(kind=esmf_kind_r8), dimension(np), intent(out)  n_o,
real(kind=esmf_kind_r8), dimension(np), intent(out)  n_o2,
real(kind=esmf_kind_r8), dimension(np), intent(out)  n_n2 
)

Routine that computes temperature and neutral density values utilizing MSIS 2.1.

Parameters
[in]idayCalendar day.
[in]xlatLatitude (degrees).
[in]prPressure in hPa.
[in]pfPath to parmfile for msisinit.
[in]npNumber of pressure layers.
[out]tempTemperature (K).
[out]n_oNumber density of o.
[out]n_o2Number density of o2.
[out]n_n2Number density of n2
Author
Adam Kubaryk NCEP/SWPC

Definition at line 23 of file wam_climo_data.f90.

References ghp8().

Referenced by atmosphere::vintg_wam().

subroutine ghp8 ( real(kind=rp), intent(in)  day,
real(kind=rp), intent(in)  utsec,
real(kind=rp), intent(in)  z0,
real(kind=rp), intent(in)  glat,
real(kind=rp), intent(in)  glon,
real(kind=rp), intent(in)  f107a,
real(kind=rp), intent(in)  f107,
real(kind=rp), dimension(7), intent(in)  ap,
real(kind=rp), intent(in)  pres,
real(kind=rp), intent(out)  alt,
real(kind=rp), dimension(10), intent(out)  dn,
real(kind=rp), intent(out)  tn 
)

Wrapper routine for calls to MSIS 2.1 for computing temperature and neutral density at a given pressure level.

Parameters
[in]dayCalendar day.
[in]utsecSeconds into UTC day.
[in]z0Initial guess for altitude in km.
[in]glatLatitude in degrees east.
[in]glonLongitude in degrees north.
[in]f107a41-day average of F10.7 Solar Flux.
[in]f107Current day F10.7 Solar Flux.
[in]apArray of Ap inputs to MSIS 2.1, documented within MSIS 2.1.
[in]presPressure level at which to solve for temp/den values.
[out]altAltitude at which the outputs are valid.
[out]dnArray of neutral density values, documented within MSIS 2.1.
[out]tnTemperature in K.
Author
Adam Kubaryk NCEP/SWPC

Definition at line 85 of file wam_climo_data.f90.

Referenced by gettemp().