predict_grid: Predict SAF or PSF grid from fitted model

View source: R/predict_grid.R

predict_gridR Documentation

Predict SAF or PSF grid from fitted model

Description

Predicts a SAF or PSF grid from annular or grid fitted models.

Usage

predict_grid(
  f_aer,
  f_ray,
  wray,
  waer,
  ext = 0,
  res = 0.03,
  press = NULL,
  tpred = NULL,
  vaz = pi/2
)

Arguments

f_aer

Grid or annular fit to Rayleigh SAF or PSF

wray

Weight (transmittance or reflectance) due to Rayleigh

waer

Weight (transmittance or reflectance) due to aerosols

ext

Maximum spatial extent at geom resolution (km).

res

Resolution (km), [0,10].

press

Pressure in mbar or NULL. For annular fits only.

tpred

Third predictor level or NULL. For sectorial fits only.

vaz

Viewing azimuth (rad). For sectorial geometry only.

Details

The grid for each scatter type are calculated individually, then their weighted average is calculated based on the weights for Rayleigh and aerosol. The weights are given by the spherical albedo (for SAF) and diffuse upward transmittance (for PSF).


AlexCast/apsfs documentation built on Feb. 1, 2024, 9:48 p.m.