12.3.2 umpgrd

1.
Function
Draws latitudes and longitudes.
2.
Call
call umpgrd
3.
Explanation of Parameters
None.
4.
Notes
(a)
There are two types of latitudes and longitudes drawn: the major line and the minor line.
(b)
Whether to draw major lines is set by the internal variable 'LGRIDMJ' handled by umlget/umlset. (The initial value is .true.) (Hereafter, in this section,  an "internal variable" refers to an internal variable handled by umpget/umpset unless stated otherwise.) The interval of the lines is set by 'DGRIDMJ'. The line attributes are set by 'INDEXMJ' and  'ITYPEMJ'. The initial value is 3 and 1, respectively.) The start of the line for the meridian can be specified by the angle from the pole with the internal variable 'DGRPLMJ'. (The initial value is 0.)
(c)
Whether to draw minor lines are set by the internal variable 'LGRIDMN'. (The initial value is .TRUE.) The interval of the lines is set by 'DGRIDMN'. The line attributes are set by 'INDEXMN' and  'ITYPEMN'. 'The initial value is 1 and 3, respectively.) The start of the line for the meridian can be specified by the angle from the pole with the internal variable 'DGRPLMJ'. (The initial value is 0.)
(d)
The 'DGRIDMJ' and 'DGRIDMN' are set as "undefined" when grfrm is called. When these values are "undefined," an appropriate value is set based on the size of the map.