s2d2.checking.naming

Module Contents

Functions

check_mgrs_code(code_str)

validate a MGRS tile code and make it uppercase

check_sen2_safe_code(code_str)

s2d2.checking.naming.check_mgrs_code(code_str)[source]

validate a MGRS tile code and make it uppercase

Parameters:

tile_code (str) – MGRS tile code

Returns:

code_str – validated and normalized tile code

Return type:

str

Notes

The following acronyms are used:

  • MGRS : US Military Grid Reference System

s2d2.checking.naming.check_sen2_safe_code(code_str)[source]