We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9259c48 commit 792ad74Copy full SHA for 792ad74
src/timeseries/netcdf.cpp
@@ -262,7 +262,7 @@ void netcdf::open_GEM(const std::string &file)
262
SPDLOG_DEBUG("Found epoch offset = hours");
263
_epoch_offset_unit = boost::posix_time::hours(1);
264
}
265
- if( epoch.find("days") != std::string::npos )
+ else if( epoch.find("days") != std::string::npos )
266
{
267
SPDLOG_DEBUG("Found epoch offset = days");
268
_epoch_offset_unit = boost::posix_time::hours(24);
0 commit comments