Skip to content

Commit b3ffda3

Browse files
authored
Allow satadj to run with wrfinput. (#2204)
1 parent f64bc23 commit b3ffda3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/Initialization/ERF_InitFromWRFInput.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -244,6 +244,10 @@ ERF::init_from_wrfinput (int lev)
244244
mult_rho = true;
245245
icomp = RhoQ3_comp;
246246
if (n_qstate > 3) { icomp = RhoQ4_comp; }
247+
if (n_qstate < 3) {
248+
var_fab.clear();
249+
continue;
250+
}
247251
}
248252

249253
if (success) {

0 commit comments

Comments
 (0)