## MGRSGeoBox


A 10 x 10 km MGRS square backed by `odc.geo.GeoBox`.


Usage

``` python
MGRSGeoBox(
    mgrs_code,
    shape,
    affine,
    crs,
)
```


## Parameters


`mgrs_code: str`  
MGRS reference.

`shape: SomeShape`  
Raster dimensions.

`affine: Affine`  
Pixel-to-CRS transform.

`crs: CRS`  
Cell CRS.


## Methods

| Name | Description |
|----|----|
| [__repr__()](#__repr__) | Return a string representation of the MGRSGeoBox. |
| [from_mgrs()](#from_mgrs) | Create a grid square from a 10 km MGRS reference. |

------------------------------------------------------------------------


#### \_\_repr\_\_()


Return a string representation of the MGRSGeoBox.


Usage

``` python
__repr__()
```


------------------------------------------------------------------------


#### from_mgrs()


Create a grid square from a 10 km MGRS reference.


Usage

``` python
from_mgrs(mgrs_code, resolution=10.0)
```


##### Parameters


`mgrs_code: str`  
MGRS reference.

`resolution: float = ``10.0`  
Pixel size in metres.


##### Returns


`MGRSGeoBox`  
Grid square.


##### Raises


`ValueError`  
If `resolution` is not positive, does not evenly divide the 10 km grid square, or `mgrs_code` is not a 10 km reference (two location digits, e.g. `"32TMT64"`), uses letters its zone lacks, or lies outside its latitude band or UTM zone.
