get_lut_dat.f90 File Reference
Functions/Subroutines | |
subroutine | get_lut_dat (dim1_dat, dim2_dat, dim3_dat, dim4_dat, dim1_smp, dim2_smp, dim3_smp, dim4_smp, kext_lut, sbck_lut, kext, sbck) |
The LUT created by make_lut are 4D arrays containing the data to be retrieved by the radar simulator unit (backscattering and extinction coefficients). Each dimension of the LUT is defined by a sampling 1D array specifying the coordinates of each column and row. Get_LUT_DAT iterates over these values to retrieve the closest indices of the table and gives the final result by trilinear interpolation. Note that the first dimension is usually defining the frequency and cannot be interpolated. More... | |
Function/Subroutine Documentation
subroutine get_lut_dat | ( | real, intent(in) | dim1_dat, |
real, intent(in) | dim2_dat, | ||
real, intent(in) | dim3_dat, | ||
real, intent(in) | dim4_dat, | ||
real, dimension(:), intent(in) | dim1_smp, | ||
real, dimension(:), intent(in) | dim2_smp, | ||
real, dimension(:), intent(in) | dim3_smp, | ||
real, dimension(:), intent(in) | dim4_smp, | ||
real, dimension(:,:,:,:), intent(in) | kext_lut, | ||
real, dimension(:,:,:,:), intent(in) | sbck_lut, | ||
real, intent(inout) | kext, | ||
real, intent(inout) | sbck | ||
) |
The LUT created by make_lut are 4D arrays containing the data to be retrieved by the radar simulator unit (backscattering and extinction coefficients). Each dimension of the LUT is defined by a sampling 1D array specifying the coordinates of each column and row. Get_LUT_DAT iterates over these values to retrieve the closest indices of the table and gives the final result by trilinear interpolation. Note that the first dimension is usually defining the frequency and cannot be interpolated.
- Parameters
-
dim1_dat [in] value of the 1st LUT dimension dim2_dat [in] value of the 2nd LUT dimension dim3_dat [in] value of the 3rd LUT dimension dim4_dat [in] value of the 4th LUT dimension
dim1_smp [in] sampling values of the 1st LUT dimension dim2_smp [in] sampling values of the 2nd LUT dimension dim3_smp [in] sampling values of the 3rd LUT dimension dim4_smp [in] sampling values of the 4th LUT dimension
kext_lut [in] LUT containing the extinction coefficients sbck_lut [in] LUT containing the backscattering coefficients
kext [inout] retrieved output extinction coefficient sbck [inout] retrieved output backscattering coefficient
- Date
- September 6th, 2016 - Adaptation to SR-SIM by B. P. T.
- Aug, 2009 - Updated for SDSUv2.1.0 by H. M.
- May, 2009 - Updated from mie-lut.f by H. M.
- Inital version from Hirohiko Masunaga