Requires https://github.com/equinor/xtgeo/issues/1209 to be closed and included in a release from xtgeo.