This module provides a simple implementation of sampling for the Monte Carlo Independent Pixel Approximation (McICA, doi:10.1029/2002jd003322)
Functions/Subroutines | |
character(len=128) function, public | draw_samples (cloud_mask, do_twostream, clouds, clouds_sampled) |
Apply a T/F sampled cloud mask to cloud optical properties defined by band to produce McICA-sampled cloud optical properties. | |
subroutine, public | sampled_mask (randoms, cloud_frac, cloud_mask, overlap_param, randoms2) |
Generate a McICA-sampled cloud mask. | |
subroutine | apply_cloud_mask (ncol, nlay, nbnd, ngpt, band_lims_gpt, cloud_mask, input_field, sampled_field) |
Apply a true/false cloud mask to a homogeneous field This could be a kernel. | |