Skip to content

Commit 60c6f1b

Browse files
committed
add aerosol error message
1 parent 895ab84 commit 60c6f1b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src_test/test_rte_rrtmgp_rt.cu

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,11 @@ void solve_radiation(int argc, char** argv)
300300
switch_independent_column = true;
301301
}
302302

303+
if (switch_tica && switch_aerosol_optics) {
304+
std::string error = "Aerosol optics are not supported in TICA mode"; // NOTE: Aersol optics with TICA has significant errors at high SZA.
305+
throw std::runtime_error(error);
306+
}
307+
303308
// Print the options to the screen.
304309
print_command_line_options(command_line_switches, command_line_ints);
305310

0 commit comments

Comments
 (0)