The original elevation has a spatial resolution of 0.0041666665°, with a total of 3124 columns and 2641 rows, as shown in the figure below:
Observing the above figure, we can see that the longitude range is from -102.0083363186 to -88.9916701726, and the latitude range is from 48.99791691515 to 60.00208314165. If the cmd file of the lapgrd process directly uses the mentioned range as the interpolation range, it will result in an error. The reason for this error is that:
1 2 | -102.0083363186+3124*0.0041666665=-88.9917 48.99791691515+2641*0.0041666665=60.0021 |
So, the range in the cmd file of lapgrd should be represented as follows:
1 2 | -102.0083363186 -88.9917 0.0041666665 48.99791691515 60.0021 0.0041666665 |
If the error message 'GETLIM - LIMITS EXCEED SURFACE COORDINATE LIMITS' is encountered, the root cause of the issue may be that the range set in the 'splina' command is smaller than the actual DEM (Digital Elevation Model) range. To resolve this, simply adjust the range in the 'splina' command to be slightly larger to cover the entire extent of the DEM. This should allow the interpolation process to proceed without encountering the error.
Share another successful case study:
Lapgrd:
1 2 | 0.29531831E+06 0.17793583E+07 30 0.24045270E+07 0.40906770E+07 30 |
When the spatial extent of the lapgrd's cmd file is difficult to determine, consider specifying the spatial range precisely in the splina's cmd file, and use the .sur file obtained from splina's computation to determine the spatial extent of lapgrd.
No comments:
Post a Comment