diff --git a/modules/amv/caliop_clavrx_amv.py b/modules/amv/caliop_clavrx_amv.py index 92ae3c2825c6141f15d4cd22ba36b81d2694328d..a361b6caad00333abf287694d34a7c312a4e63cc 100644 --- a/modules/amv/caliop_clavrx_amv.py +++ b/modules/amv/caliop_clavrx_amv.py @@ -389,7 +389,8 @@ def compute_and_add_geo_hgt(path_to_amvs, path_to_gfs, amv_source, band='14', ou alt_f.append(alt.magnitude) prs_s.append(amv_press) alt_f = np.array(alt_f) - amvs_nd = np.hstack([amvs_nd, alt_s]) + alt_f = np.reshape(alt_f, [num_amvs, 1]) + amvs_nd = np.hstack([amvs_nd, alt_f]) print(amvs_nd.shape) print('Done...')