photgrid_t
- type photgrid_t
The photgrid_t type represents a grid of photometric data.
This grid may be used to interpolate the intensity (or related quantities) for a set of atmosphere parameter values.
- subroutine get_rank(rank)
Get the rank (dimension) of the grid.
- Parameters
rank [integer ,out] :: Returned rank.
- subroutine get_axis(i, axis)
Get an axis of the grid.
- Parameters
i [integer ,in] :: Index of axis (between 1 and rank)
axis [axis_t ,out] :: Returned axis.
- subroutine get_cache_count(cache_count)
Get the number of nodes currently held in the grid cache.
- Parameters
cache_count [integer ,out] :: Returned number of nodes.
- subroutine get_cache_limit(cache_limit)
Get the grid cache occupancy limit.
- Parameters
cache_limit [integer ,out] :: Returned occupancy limit.
- subroutine set_cache_limit(cache_limit, stat)
Set the grid cache occupancy limit.
- Parameters
cache_limit [integer ,in] :: Occupancy limit.
- Options
stat [integer ,out] :: Status code.
- subroutine interp_intensity(x_vec, mu, I, stat, deriv_vec)
Interpolate the photometric intensity, normalized to the zero-point flux.
- Parameters
x_vec (*) [real(RD),in] :: Atmosphere parameter values.
mu [real(RD),in] :: Cosine of angle of emergence relative to surface normal.
I [real(RD),out] :: Photometric intensity (/sr).
- Options
stat [integer ,out] :: Status code.
deriv_vec (*) [logical ,in] :: Derivative flags.
- subroutine interp_E_moment(x_vec, k, E, stat, deriv_vec)
Interpolate the photometric E-moment, normalized to the zero-point flux.
- Parameters
x_vec (*) [real(RD),in] :: Atmosphere parameter values.
k [integer ,in] :: Degree of of moment.
E [real(RD),out] :: Photometric E-moment.
- Options
stat [integer ,out] :: Status code.
deriv_vec (*) [logical ,in] :: Derivative flags.
- subroutine interp_D_moment(x_vec, l, D, stat, deriv_vec)
Interpolate the photometric D-moment, normalized to the zero-point flux.
- Parameters
x_vec (*) [real(RD),in] :: Atmosphere parameter values.
l [integer ,in] :: Harmonic degree of moment.
D [real(RD),out] :: Photometric D-moment.
- Options
stat [integer ,out] :: Status code.
deriv_vec (*) [logical ,in] :: Derivative flags.
- subroutine interp_flux(x_vec, F, stat, deriv_vec)
Interpolate the photometric flux, normalized to the zero-point flux.
- Parameters
x_vec (*) [real(RD),in] :: Atmosphere parameter values.
F [real(RD),out] :: Photometric flux.
- Options
stat [integer ,out] :: Status code.
deriv_vec (*) [logical ,in] :: Derivative flags.