FV3 Bundle
astronomy_mod::daily_mean_solar Interface Reference

Private Member Functions

subroutine daily_mean_solar_2d (lat, time_since_ae, cosz, h_out, rr_out)
 daily_mean_solar_2d computes the daily mean astronomical parameters for the input points at latitude lat and time of year time_since_ae. More...
 
subroutine daily_mean_solar_1d (lat, time_since_ae, cosz, h_out, rr_out)
 daily_mean_solar_1d takes 1-d input fields, adds a second dimension and calls daily_mean_solar_2d. on return, the 2d fields are returned to the original 1d fields. More...
 
subroutine daily_mean_solar_2level (lat, time_since_ae, cosz, solar)
 daily_mean_solar_2level takes 1-d input fields, adds a second dimension and calls daily_mean_solar_2d. on return, the 2d fields are returned to the original 1d fields. More...
 
subroutine daily_mean_solar_0d (lat, time_since_ae, cosz, h_out, rr_out)
 daily_mean_solar_1d takes 1-d input fields, adds a second dimension and calls daily_mean_solar_2d. on return, the 2d fields are returned to the original 1d fields. More...
 
subroutine daily_mean_solar_cal_2d (lat, time, cosz, fracday, rrsun)
 daily_mean_solar_cal_2d receives time_type inputs, converts them to real variables and then calls daily_mean_solar_2d to compute desired astronomical variables. More...
 
subroutine daily_mean_solar_cal_1d (lat, time, cosz, fracday, rrsun)
 daily_mean_solar_cal_1d receives time_type inputs, converts them to real, 2d variables and then calls daily_mean_solar_2d to compute desired astronomical variables. More...
 
subroutine daily_mean_solar_cal_2level (lat, time, cosz, solar)
 daily_mean_solar_cal_2level receives 1d arrays and time_type input, converts them to real, 2d variables and then calls daily_mean_solar_2d to compute desired astronomical variables. More...
 
subroutine daily_mean_solar_cal_0d (lat, time, cosz, fracday, rrsun)
 daily_mean_solar_cal_0d converts scalar input fields to real, 2d variables and then calls daily_mean_solar_2d to compute desired astronomical variables. More...
 

Detailed Description

Definition at line 216 of file astronomy.F90.

Member Function/Subroutine Documentation

◆ daily_mean_solar_0d()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_0d ( real, intent(in)  lat,
real, intent(in)  time_since_ae,
real, intent(out)  cosz,
real, intent(out)  h_out,
real, intent(out)  rr_out 
)
private

daily_mean_solar_1d takes 1-d input fields, adds a second dimension and calls daily_mean_solar_2d. on return, the 2d fields are returned to the original 1d fields.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time_since_ae>Time of year; autumnal equinox = 0.0, one year = 2 * pi
[out]<cosz>Cosine of solar zenith angle
[out]<h_out>2-d array of half-day lengths at the latitudes
[out]<rr_out>the inverse of the square of the earth-sun distance relative to the mean distance at angle ang in the earth's orbit.

Definition at line 1553 of file astronomy.F90.

◆ daily_mean_solar_1d()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_1d ( real, dimension(:), intent(in)  lat,
real, intent(in)  time_since_ae,
real, dimension(size(lat(:))), intent(out)  cosz,
real, dimension(size(lat(:))), intent(out)  h_out,
real, intent(out)  rr_out 
)
private

daily_mean_solar_1d takes 1-d input fields, adds a second dimension and calls daily_mean_solar_2d. on return, the 2d fields are returned to the original 1d fields.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time_since_ae>Time of year; autumnal equinox = 0.0, one year = 2 * pi
[out]<cosz>Cosine of solar zenith angle
[out]<h_out>2-d array of half-day lengths at the latitudes
[out]<rr_out>the inverse of the square of the earth-sun distance relative to the mean distance at angle ang in the earth's orbit.

Definition at line 1464 of file astronomy.F90.

◆ daily_mean_solar_2d()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_2d ( real, dimension(:,:), intent(in)  lat,
real, intent(in)  time_since_ae,
real, dimension(:,:), intent(out)  cosz,
real, dimension(:,:), intent(out)  h_out,
real, intent(out)  rr_out 
)
private

daily_mean_solar_2d computes the daily mean astronomical parameters for the input points at latitude lat and time of year time_since_ae.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time_since_ae>Time of year; autumnal equinox = 0.0, one year = 2 * pi
[out]<cosz>Cosine of solar zenith angle
[out]<h_out>2-d array of half-day lengths at the latitudes
[out]<rr_out>the inverse of the square of the earth-sun distance relative to the mean distance at angle ang in the earth's orbit.
Exceptions
FATAL,astronomy_mod time_since_ae not between 0 and 2pi

Definition at line 1406 of file astronomy.F90.

◆ daily_mean_solar_2level()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_2level ( real, dimension(:), intent(in)  lat,
real, intent(in)  time_since_ae,
real, dimension(size(lat(:))), intent(out)  cosz,
real, dimension(size(lat(:))), intent(out)  solar 
)
private

daily_mean_solar_2level takes 1-d input fields, adds a second dimension and calls daily_mean_solar_2d. on return, the 2d fields are returned to the original 1d fields.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time_since_ae>Time of year; autumnal equinox = 0.0, one year = 2 * pi
[out]<cosz>Cosine of solar zenith angle
[out]<solar>Shortwave flux factor: cosine of zenith angle * daylight fraction / (earth-sun distance squared)

Definition at line 1508 of file astronomy.F90.

◆ daily_mean_solar_cal_0d()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_cal_0d ( real, intent(in)  lat,
type(time_type), intent(in)  time,
real, intent(out)  cosz,
real, intent(out)  fracday,
real, intent(out)  rrsun 
)
private

daily_mean_solar_cal_0d converts scalar input fields to real, 2d variables and then calls daily_mean_solar_2d to compute desired astronomical variables.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time>Time of year (time_type)
[out]<cosz>Cosine of solar zenith angle
[out]<fracday>Daylight fraction of time interval
[out]<rrsun>Earth-Sun distance (r) relative to semi-major axis of orbital ellipse (a):(a/r)**2

Definition at line 1720 of file astronomy.F90.

◆ daily_mean_solar_cal_1d()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_cal_1d ( real, dimension(:), intent(in)  lat,
type(time_type), intent(in)  time,
real, dimension(:), intent(out)  cosz,
real, dimension(:), intent(out)  fracday,
real, intent(out)  rrsun 
)
private

daily_mean_solar_cal_1d receives time_type inputs, converts them to real, 2d variables and then calls daily_mean_solar_2d to compute desired astronomical variables.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time>Time of year (time_type)
[out]<cosz>Cosine of solar zenith angle
[out]<fracday>Daylight fraction of time interval
[out]<rrsun>Earth-Sun distance (r) relative to semi-major axis of orbital ellipse (a):(a/r)**2

Definition at line 1634 of file astronomy.F90.

◆ daily_mean_solar_cal_2d()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_cal_2d ( real, dimension(:,:), intent(in)  lat,
type(time_type), intent(in)  time,
real, dimension(:,:), intent(out)  cosz,
real, dimension(:,:), intent(out)  fracday,
real, intent(out)  rrsun 
)
private

daily_mean_solar_cal_2d receives time_type inputs, converts them to real variables and then calls daily_mean_solar_2d to compute desired astronomical variables.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time>Time of year (time_type)
[out]<cosz>Cosine of solar zenith angle
[out]<fracday>Daylight fraction of time interval
[out]<rrsun>Earth-Sun distance (r) relative to semi-major axis of orbital ellipse (a):(a/r)**2
Exceptions
FATAL,astronomy_mod time_since_ae not between 0 and 2pi

Definition at line 1594 of file astronomy.F90.

◆ daily_mean_solar_cal_2level()

subroutine astronomy_mod::daily_mean_solar::daily_mean_solar_cal_2level ( real, dimension(:), intent(in)  lat,
type(time_type), intent(in)  time,
real, dimension(:), intent(out)  cosz,
real, dimension(:), intent(out)  solar 
)
private

daily_mean_solar_cal_2level receives 1d arrays and time_type input, converts them to real, 2d variables and then calls daily_mean_solar_2d to compute desired astronomical variables.

Parameters
[in]<lat>Latitudes of model grid points
[in]<time>Time of year (time_type)
[out]<cosz>Cosine of solar zenith angle
[out]<solar>Shortwave flux factor: cosine of zenith angle * daylight fraction / (earth-sun distance squared)

Definition at line 1677 of file astronomy.F90.


The documentation for this interface was generated from the following file: