From 10ca15c98182e10823cccc1321fd8a5ec678b093 Mon Sep 17 00:00:00 2001 From: Howard Soh Date: Fri, 18 Feb 2022 20:57:53 -0700 Subject: [PATCH] #1824 ci-run-test Reset itype to 1 for regular CAPE --- met/src/tools/other/pb2nc/pb2nc.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/met/src/tools/other/pb2nc/pb2nc.cc b/met/src/tools/other/pb2nc/pb2nc.cc index 0b914b3198..f08fca1038 100644 --- a/met/src/tools/other/pb2nc/pb2nc.cc +++ b/met/src/tools/other/pb2nc/pb2nc.cc @@ -1667,6 +1667,8 @@ void process_pbfile(int i_pb) { } if (cal_cape) { + ivirt = 1; + itype = 1; calcape_(&ivirt,&itype, cape_data_temp, cape_data_spfh, cape_data_pres, &p1d,&t1d,&q1d, static_dummy_201, &cape_level, &IMM,&JMM, &cape_level,