Skip to content

Commit

Permalink
#1943 SEEPS is not computed if SEEPS climo is not loaded
Browse files Browse the repository at this point in the history
  • Loading branch information
Howard Soh committed Dec 5, 2022
1 parent 31fba07 commit 84efc94
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libcode/vx_statistics/pair_data_point.cc
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,7 @@ SeepsScore *PairDataPoint::compute_seeps(const char *sid, double f,
int month, day, year, hour, minute, second;

int sid_no = atoi(sid);
if (sid_no) {
if (sid_no && NULL != seeps_climo) {
unix_to_mdyhms(ut, month, day, year, hour, minute, second);
seeps = seeps_climo->get_seeps_score(sid_no, f, o, month, hour);
if (mlog.verbosity_level() >= seeps_debug_level
Expand Down

0 comments on commit 84efc94

Please sign in to comment.