Open carise opened 3 years ago
Interestingly the HyperCubeGenerator
I'm working with right now checks that the type field called "HYPERCUBE" and that a sigma field called "INITIAL_PERTURBATION" are set to determine if it is an OPM containing hypercube information. The python code could check those conditions and return an error before submitting or the REST endpoint could check those and return an error type with that information (may be better so not duplicating checks on both sides perhaps).
I'm going to beef up the unit tests around HyperCubeGenerator
to include the various permutations FYI.
Not sure if this is the intended behavior.
If Cartesian state vector + covariance are provided to the OpmParams (e.g. in single_run_demo notebook), it submits a hypercube batch run. However, if hypercube parameters are not specified, the job status will report as "COMPLETE" but the final state will be "FAILED".
Example input for the job (from single_run_demo):
And screenshot of the output
I vaguely recall that plain batch runs don't bother with covariance and it's just hypercube/Monte Carlo where we used it, which is probably why the hypercube gets triggered. It's a bit confusing though, so we should do some validation to check that if covariance is specified, then some kind of perturbation should also be specified.