Skip to content

Commit 49d82f8

Browse files
author
Xee authors
committed
Add 'm' as another synonym for 'meter'
The units for SR-ORG:6974 are 'm': https://code.earthengine.google.com/d8af8855779a5fce91c23ab98df0d647 PiperOrigin-RevId: 585675470
1 parent 079b396 commit 49d82f8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

xee/ext.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,12 +105,14 @@ class EarthEngineStore(common.AbstractDataStore):
105105
'degree': 1,
106106
'metre': 10_000,
107107
'meter': 10_000,
108+
'm': 10_000,
108109
}
109110

110111
DIMENSION_NAMES: Dict[str, Tuple[str, str]] = {
111112
'degree': ('lon', 'lat'),
112113
'metre': ('X', 'Y'),
113114
'meter': ('X', 'Y'),
115+
'm': ('X', 'Y'),
114116
}
115117

116118
DEFAULT_MASK_VALUE = np.iinfo(np.int32).max

0 commit comments

Comments
 (0)