Closed ccrook closed 1 year ago
In this example the input long/lat values are being interpreted as NZTM values. This leads to absurd lat/lon vlaues for the grid calculation (eg -1.3E+21). The grid code then attempts to round this to the grid range by adding 360 degrees. This should fail immediately as an unrealistic longitude, rather than looping indefinitely (as adding 360 degrees is lost in the rounding error).
Ideally the input coordinates should trigger an error in any case as not being valid.
nz_test.txt