Sector Model Export: Option "Local coordinates" gives wrong MAPAXIS and COORD values
Local coordinates means COORD coordinates should be reported as delta from global grid origin (X,Y). For MAPAXIS, it could be 2 alternatives: 1) dummy data for spatial unaware grid or 2) actual global grid origin. The second will be consistent with RMS behavior.
MAPAXES -0.47181084E+06 -0.65218040E+07 -0.47181084E+06 -0.65218050E+07 -0.47180984E+06 -0.65218050E+07 /
COORD 0.47181084E+06 0.65226430E+07 0.18351990E+04 0.47182353E+06 0.65226320E+07 0.18619310E+04 0.47188922E+06 0.65227080E+07 0.18415820E+04 0.47190119E+06 0.65226975E+07 0.18679960E+04 0.47196216E+06 0.65227780E+07 0.18369709E+04 0.47197516E+06 0.65227655E+07 0.18668719E+04 0.47203512E+06 0.65228480E+07 0.18323600E+04 0.47204913E+06 0.65228340E+07 0.18657480E+04
this could also be related to https://github.com/OPM/ResInsight/issues/11970
Suggest that this issue is postponed to after the release. This fix requires quite a lot of refactoring.
Since stability of the release is important, I think we can postpone it to after the release
Suggested solution: Replace the "Export in Local Coordinates" checkbox with a "Coordinate Transformation" drop-down box with three options:
- "None": Map axes not exported, raw UTM in coordinates.
- "Preserve Map Axis": Original mapaxis exported, coordinates transformed from UTM with inverse of map axis (so they are correct when reimported with map axis).
- "Translated to Origo": No mapaxis in export. Model moved to origo. Ie. same as "None", but around origi.
Any thoughts, @hhgs and @RezaeiDoust ?