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:
2
ThirdParty/Ert/lib/ecl/ecl_smspec.cpp
vendored
2
ThirdParty/Ert/lib/ecl/ecl_smspec.cpp
vendored
@@ -1249,7 +1249,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.
|
'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 NULL;
|
||||||
}
|
}
|
||||||
return ecl_smspec;
|
return ecl_smspec;
|
||||||
|
Reference in New Issue
Block a user