1**-R**\ *west*/*east*/*south*/*north*\ [/*zmin*/*zmax*][**+r**][**+u**\ *unit*]
2
3    Specify the region of interest. |Add_-Rgeo|
4
5    The region may be specified in one of several ways:
6
7    1. **-R**\ *west*/*east*/*south*/*north*\ [**+u**\ *unit*]. This is the standard way to specify geographic regions
8       when using map projections where meridians and parallels are rectilinear. The coordinates may be specified in
9       decimal degrees or in [±]dd:mm[:ss.xxx][**W**\|\ **E**\|\ **S**\|\ **N**] format. Optionally, append
10       **+u**\ *unit* to specify a region in projected units (e.g., UTM meters) where *west*/*east*/*south*/*north* are
11       Cartesian projected coordinates compatible with the chosen projection (**-J**) and *unit* is an allowable
12       :ref:`distance unit <dist-units>`; we inversely project to determine the actual rectangular geographic region.
13
14    #. **-R**\ *west*/*south*/*east*/*north*\ **+r**. This form is useful for map projections that are oblique,
15       making meridians and parallels poor choices for map boundaries. Here, we instead specify the lower left corner
16       and upper right corner geographic coordinates, followed by the modifier **+r**. This form guarantees a
17       rectangular map even though lines of equal longitude and latitude are not straight lines.
18
19    #. **-R**\ **g** or **-R**\ **d**. These forms can be used to quickly specify the global domain (0/360 for **-Rg**
20       and -180/+180 for **-Rd** in longitude, with -90/+90 in latitude).
21
22    #. **-R**\ *code1,code2,...*\ [**+e**\ \|\ **r**\ \|\ **R**\ *incs*]. This indirectly supplies the region by
23       consulting the DCW (Digital Chart of the World) database and derives the bounding regions for one or more
24       countries given by the codes. Simply append one or more comma-separated countries using the two-character
25       `ISO 3166-1 alpha-2 convention <https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2)>`_. To select a state within a
26       country (if available), append .state, e.g, US.TX for Texas. To specify a whole continent, prepend **=** to any
27       of the continent codes **AF** (Africa), **AN** (Antarctica), **AS** (Asia), **EU** (Europe), **OC** (Oceania),
28       **NA** (North America), or **SA** (South America). The following modifiers can be appended:
29
30        - **+r** to adjust the region boundaries to be multiples of the steps indicated by *inc*, *xinc*/*yinc*, or
31          *winc*/*einc*/*sinc*/*ninc* [default is no adjustment]. For example, **-R**\ *FR*\ **+r**\ 1 will select the
32          national bounding box of France rounded to nearest integer degree.
33        - **+R** to extend the region outward by adding the amounts specified by *inc*, *xinc*/*yinc*, or
34          *winc*/*einc*/*sinc*/*ninc* [default is no extension].
35        - **+e** to adjust the region boundaries to be multiples of the steps indicated by *inc*, *xinc*/*yinc*, or
36          *winc*/*einc*/*sinc*/*ninc*, while ensuring that the bounding box extends by at least 0.25 times the increment
37          [default is no adjustment].
38
39    #. **-R**\ *justify*\ *lon0*/*lat0*/*nx*/*ny*, where *justify* is a 2-character combination of
40       **L**\|\ **C**\|\ **R** (for left, center, or right) and **T**\|\ **M**\|\ **B** (for top, middle, or bottom)
41       (e.g., **BL** for lower left). The two character code *justify* indicates which point on a rectangular region
42       region the *lon0*/*lat0* coordinates refer to and the grid dimensions *nx* and *ny* are used with grid spacings
43       given via **-I** to create the corresponding region. This method can be used when creating grids. For example,
44       **-RCM**\ *25*/*25*/*50*/*50* specifies a *50*\ x\ *50* grid centered on *25*\ ,\ *25*.
45
46    #. **-R**\ *gridfile*. This will copy the domain settings found for the grid in specified file. Note that depending
47       on the nature of the calling module, this mechanism will also set grid spacing and possibly the grid registration
48       (see :ref:`cookbook/options:Grid registration: The **-r** option`\ ).
49
50    #. **-Ra**\ [**uto**] or **-Re**\ [**xact**]. Under modern mode, and for *plotting* modules only, you can automatically
51       determine the region from the data used. You can either get the exact area using **-Re** [Default if no **-R**
52       is given] or a slightly larger area sensibly rounded outwards to the next multiple of increments that depend on
53       the data range using **-Ra**.
54