mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
#5325 Summary Import : Avoid abort for incomplete summary data
This commit is contained in:
parent
87dbb68e9c
commit
b2624d9f5e
2
ThirdParty/Ert/lib/ecl/ecl_smspec.cpp
vendored
2
ThirdParty/Ert/lib/ecl/ecl_smspec.cpp
vendored
@ -1241,7 +1241,7 @@ ecl_smspec_type * ecl_smspec_fread_alloc(const char *header_file, const char * k
|
||||
'YEARS' as basic time unit; that mode is not supported.
|
||||
*/
|
||||
|
||||
util_abort("%s: Sorry the SMSPEC file seems to lack all time information, need either TIME, or DAY/MONTH/YEAR information. Can not proceed.",__func__);
|
||||
ecl_smspec_free( ecl_smspec );
|
||||
return NULL;
|
||||
}
|
||||
return ecl_smspec;
|
||||
|
Loading…
Reference in New Issue
Block a user