Skip to content

Commit

Permalink
missing if
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrismarsh committed Dec 16, 2024
1 parent 9259c48 commit 792ad74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timeseries/netcdf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -262,7 +262,7 @@ void netcdf::open_GEM(const std::string &file)
SPDLOG_DEBUG("Found epoch offset = hours");
_epoch_offset_unit = boost::posix_time::hours(1);
}
if( epoch.find("days") != std::string::npos )
else if( epoch.find("days") != std::string::npos )
{
SPDLOG_DEBUG("Found epoch offset = days");
_epoch_offset_unit = boost::posix_time::hours(24);
Expand Down

0 comments on commit 792ad74

Please sign in to comment.