diff --git a/modules/util/util.py b/modules/util/util.py index 378c11cce641339ec48ad451b6374fc7349a260d..6136268b27ad5006c5c785dde31c3f9e0831a59f 100644 --- a/modules/util/util.py +++ b/modules/util/util.py @@ -670,10 +670,10 @@ def make_for_full_domain_predict_viirs_clavrx(h5f, name_list=None, res_fac=1): lats = get_grid_values(h5f, 'latitude', j_0, i_0, None, num_j=ylen, num_i=xlen, range_name=None) lons = get_grid_values(h5f, 'longitude', j_0, i_0, None, num_j=ylen, num_i=xlen, range_name=None) - ll, cc = np.meshgrid(ll, cc, indexing='ij') + ll_2d, cc_2d = np.meshgrid(ll, cc, indexing='ij') - lats = lats[ll, cc] - lons = lons[ll, cc] + lats = lats[ll_2d, cc_2d] + lons = lons[ll_2d, cc_2d] return grd_dct, ll, cc, lats, lons