Skip to content

Commit 387343e

Browse files
committed
MIR-682 less strict check (this wouldn't work for input Gaussian grids, where the pl is global, and cropped)
1 parent 91f6189 commit 387343e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/mir/input/GribInput.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ class ConditionNOT : public Condition {
194194
void wrongly_encoded_grib(const std::string& msg) {
195195
static bool abortIfWronglyEncodedGRIB = eckit::Resource<bool>("$MIR_ABORT_IF_WRONGLY_ENCODED_GRIB", false);
196196

197-
if (abortIfWronglyEncodedGRIB || forceThrow) {
197+
if (abortIfWronglyEncodedGRIB) {
198198
Log::error() << msg << std::endl;
199199
throw exception::UserError(msg);
200200
}

0 commit comments

Comments
 (0)