diff --git a/modules/util/util.py b/modules/util/util.py index 547e579791be0c757e20ce2ab1a48549837fbb5a..52c4c368e2b8210c15194e0a105b782c22f1b4bb 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -687,7 +687,7 @@ def compute_lwc_iwc(iphase, reff, opd): return lwp_dcomp, iwp_dcomp -def make_for_full_domain_predict_viirs_clavrx(h5f, name_list=None, res_fac=1, day_night='DAY', lunar=False): +def make_for_full_domain_predict_viirs_clavrx(h5f, name_list=None, res_fac=1, day_night='DAY', use_dnb=False): w_x = 16 w_y = 16 i_0 = 0 @@ -699,7 +699,7 @@ def make_for_full_domain_predict_viirs_clavrx(h5f, name_list=None, res_fac=1, da xlen = h5f['pixel_elements_along_scan_direction'].shape[0] use_nl_comp = False - if day_night == 'NIGHT' and lunar: + if day_night == 'NIGHT' and use_dnb: use_nl_comp = True grd_dct = {name: None for name in name_list}