Bug coordinates in longitude/latitude (SPATIAL PROJECTION TYPE = 3) in TELEMAC-2D and TELEMAC-3D
Summary
In TELEMAC-2D or TELEMAC-3D, if SPATIAL PROJECTION TYPE = 3 (coordinates of the geometry file in longitude/latitude), when using features for which coordinates are to be given (e.g. punctual sources, sources by region for T2D, control sections, fluxlines for T2D, time series files, drogues), the coordinates of the mesh are already converted in Mercator projection at the time they are used in the T2D or T3D computation. This issue will have child items for every fix.
Environment
- TELEMAC version: 9.0.0
What is the current bug behaviour?
Wrong results and crash: point outside the domain.
What is the expected correct behaviour?
Good results and no crash.
Possible fixes
If using SPATIAL PROJECTION TYPE = 3 and one of the features described above specifiying coordinates, convert these coordinates in Mercator projection after read and before 1st used.