OB.DAAC Logo
NASA Logo
Ocean Color Science Software

ocssw V2022
interpolate_libraries Module Reference

Functions/Subroutines

subroutine, public lib_init
 
subroutine, public lib_clean
 
subroutine, public libraryinterpolate (local_solarzenith, local_sensorzenith, local_relativeazimuth, local_scatangle, local_wind_speed, wind_speed_only, interp_MS, interp_SS, debug, status, i, j)
 
real function, public scatangle (solarAng, viewAng, relAzm)
 
subroutine getphasefunctionvalues (scatAngle, scatAngleArray, num_angles, phaseFunArray, phaseNormConst, phaseFunVals, ierror)
 
subroutine get_aero_params (cos_scatAngle, aeroG)
 
subroutine interpolatefluxes (solarOrViewAng, solarAngMuArray, inFluxArray, outFluxArray, iAngHi, iAngLow, dtheta, ierror)
 
subroutine single_scattering_calcs_ocean (phaseFunVals_liq, phaseFunVals_ice, ssAlbedo_liq, ssAlbedo_ice, RLphase, aeroPhase, RLTau, aeroTau, aeroOmega, theta, theta0, ssRefl_liq, ssRefl_ice)
 
subroutine setup_emissivity_flux (angle, angle_array, idx_hi, idx_lo, dtheta)
 
subroutine getrefl (solarAng, viewAng, azmAng, in_scat, refl_water, refl_ice, interp_MS, interp_SS, ierror)
 
subroutine getreflforgivenwindspeed (solarAng, viewAng, azmAng, in_scat, cos_scat, wspeed, reflAsurf_water, reflAsurf_ice, wind_speed_only, interp_MS, interp_SS, ierror)
 
subroutine, public interpolate_wind_speed (wspeed, data_in, data_out)
 
subroutine getsdevreflforgivenwindspeed (solarAng, viewAng, azmAng, wspeed, inrefl_ws_water, reflAsurf_water, inrefl_ws_ice, reflAsurf_ice, wind_speed_only, ierror)
 
subroutine getsdevrefllamb (solarAng, viewAng, azmAng, reflAsurf_water, reflAsurf_ice, ierror)
 

Function/Subroutine Documentation

◆ get_aero_params()

subroutine interpolate_libraries::get_aero_params ( real, intent(in)  cos_scatAngle,
real, dimension(:), intent(in)  aeroG 
)

Definition at line 511 of file interpolate_libraries.f90.

◆ getphasefunctionvalues()

subroutine interpolate_libraries::getphasefunctionvalues ( real, intent(in)  scatAngle,
real, dimension(:), intent(in)  scatAngleArray,
integer, intent(in)  num_angles,
real, dimension(:,:,:), intent(in)  phaseFunArray,
real, dimension(:,:), intent(in)  phaseNormConst,
real, dimension(:,:), intent(out)  phaseFunVals,
integer, intent(out)  ierror 
)

Definition at line 399 of file interpolate_libraries.f90.

◆ getrefl()

subroutine interpolate_libraries::getrefl ( real, intent(in)  solarAng,
real, intent(in)  viewAng,
real, intent(in)  azmAng,
real, intent(in)  in_scat,
real, dimension(:,:,:), intent(out)  refl_water,
real, dimension(:,:,:), intent(out)  refl_ice,
logical, intent(in)  interp_MS,
logical, intent(in)  interp_SS,
integer, intent(out)  ierror 
)

Definition at line 1248 of file interpolate_libraries.f90.

◆ getreflforgivenwindspeed()

subroutine interpolate_libraries::getreflforgivenwindspeed ( real, intent(in)  solarAng,
real, intent(in)  viewAng,
real, intent(in)  azmAng,
real, intent(in)  in_scat,
real, intent(in)  cos_scat,
real, intent(in)  wspeed,
real, dimension(:,:,:), intent(out)  reflAsurf_water,
real, dimension(:,:,:), intent(out)  reflAsurf_ice,
logical, intent(in)  wind_speed_only,
logical, intent(in)  interp_MS,
logical, intent(in)  interp_SS,
integer, intent(out)  ierror 
)

Definition at line 1377 of file interpolate_libraries.f90.

◆ getsdevreflforgivenwindspeed()

subroutine interpolate_libraries::getsdevreflforgivenwindspeed ( real, intent(in)  solarAng,
real, intent(in)  viewAng,
real, intent(in)  azmAng,
real, intent(in)  wspeed,
real, dimension(:,:,:,:), intent(inout)  inrefl_ws_water,
real, dimension(:,:,:), intent(out)  reflAsurf_water,
real, dimension(:,:,:,:), intent(inout)  inrefl_ws_ice,
real, dimension(:,:,:), intent(out)  reflAsurf_ice,
logical, intent(in)  wind_speed_only,
integer, intent(out)  ierror 
)

Definition at line 1544 of file interpolate_libraries.f90.

◆ getsdevrefllamb()

subroutine interpolate_libraries::getsdevrefllamb ( real, intent(in)  solarAng,
real, intent(in)  viewAng,
real, intent(in)  azmAng,
real, dimension(:,:,:), intent(out)  reflAsurf_water,
real, dimension(:,:,:), intent(out)  reflAsurf_ice,
integer, intent(out)  ierror 
)

Definition at line 1600 of file interpolate_libraries.f90.

◆ interpolate_wind_speed()

subroutine, public interpolate_libraries::interpolate_wind_speed ( real, intent(in)  wspeed,
real, dimension(:,:,:,:), intent(in)  data_in,
real, dimension(:,:,:), intent(inout)  data_out 
)

Definition at line 1462 of file interpolate_libraries.f90.

◆ interpolatefluxes()

subroutine interpolate_libraries::interpolatefluxes ( real, intent(in)  solarOrViewAng,
real, dimension(:), intent(in)  solarAngMuArray,
real, dimension(:,:,:,:), intent(in)  inFluxArray,
real, dimension(:,:,:), intent(out)  outFluxArray,
integer, intent(in)  iAngHi,
integer, intent(in)  iAngLow,
real, intent(in)  dtheta,
integer, intent(out)  ierror 
)

Definition at line 537 of file interpolate_libraries.f90.

◆ lib_clean()

subroutine, public interpolate_libraries::lib_clean

Definition at line 155 of file interpolate_libraries.f90.

◆ lib_init()

subroutine, public interpolate_libraries::lib_init

Definition at line 51 of file interpolate_libraries.f90.

◆ libraryinterpolate()

subroutine, public interpolate_libraries::libraryinterpolate ( real, intent(in)  local_solarzenith,
real, intent(in)  local_sensorzenith,
real, intent(in)  local_relativeazimuth,
real, intent(in)  local_scatangle,
real, intent(in)  local_wind_speed,
logical, intent(in)  wind_speed_only,
logical, intent(in)  interp_MS,
logical, intent(in)  interp_SS,
logical, intent(in)  debug,
integer, intent(out)  status,
integer, intent(in)  i,
integer, intent(in)  j 
)

Definition at line 188 of file interpolate_libraries.f90.

◆ scatangle()

real function, public interpolate_libraries::scatangle ( real, intent(in)  solarAng,
real, intent(in)  viewAng,
real, intent(in)  relAzm 
)

Definition at line 328 of file interpolate_libraries.f90.

◆ setup_emissivity_flux()

subroutine interpolate_libraries::setup_emissivity_flux ( real, intent(in)  angle,
real, dimension(:), intent(in)  angle_array,
integer, intent(out)  idx_hi,
integer, intent(out)  idx_lo,
real, intent(out)  dtheta 
)

Definition at line 976 of file interpolate_libraries.f90.

◆ single_scattering_calcs_ocean()

subroutine interpolate_libraries::single_scattering_calcs_ocean ( real, dimension(:,:), intent(in)  phaseFunVals_liq,
real, dimension(:,:), intent(in)  phaseFunVals_ice,
real, dimension(:,:), intent(in)  ssAlbedo_liq,
real, dimension(:,:), intent(in)  ssAlbedo_ice,
real, intent(in)  RLphase,
real, dimension(:), intent(in)  aeroPhase,
real, dimension(:), intent(in)  RLTau,
real, dimension(:), intent(in)  aeroTau,
real, dimension(:), intent(in)  aeroOmega,
real, intent(in)  theta,
real, intent(in)  theta0,
real, dimension(:,:,:), intent(out)  ssRefl_liq,
real, dimension(:,:,:), intent(out)  ssRefl_ice 
)

Definition at line 757 of file interpolate_libraries.f90.