19 | | REAL, INTENT(in) :: lim_coords(2,2) !< geographic coordinate array (1: longitude, 2: latitude) |
20 | | !< ranges: longitude (-pi, pi), latitude (-pi/2, pi/2) |
| 19 | REAL, INTENT(in) :: lim_coords(2,2) !< coordinate array (1: longitude, 2: latitude) |
| 20 | !< geographic range: longitude (-pi, pi), latitude (-pi/2, pi/2) |
| 21 | !< Cartesian range: (x) coordinate grows from left to right; (y) from bottom to top |
23 | | - (1,1) coordinate of the western edge of the domain |
24 | | - (1,2) coordinate of the eastern edge of the domain |
25 | | - (2,1) coordinate of the northern edge of the domain |
26 | | - (2,2) coordinate of the southern edge of the domain |
27 | | thus, (:,1) specifies the north-western corner of the sub-domain and (:,2) the souther-estern corner. |
| 24 | {{{ |
| 25 | (2,1) |
| 26 | (:,1)+---------+ |
| 27 | | | - (1,1) coordinate of the western (or left) edge of the domain |
| 28 | | | - (1,2) coordinate of the eastern (or right) edge of the domain |
| 29 | (1,1) | | (1,2) - (2,1) coordinate of the northern (or upper) edge of the domain |
| 30 | | | - (2,2) coordinate of the southern (or lower) edge of the domain |
| 31 | | | |
| 32 | +---------+(:,2) |
| 33 | (2,2) |
| 34 | }}} |
| 35 | thus, (:,1) specifies the north-western corner of the sub-domain and (:,2) the souther-estern corner. The first (x) coordinate grows from left to right, while the second coordinate (y) increases from bottom to the top. |