reVX.handlers.layered_h5.crs_match

crs_match(baseline_crs, test_crs, ignore_keys=('no_defs',))[source]

Compare baseline and test CRS values.

Parameters:
  • baseline_crs (dict) – Baseline CRS to use a truth, must be a dict

  • test_crs (dict) – Test CRS to compare with baseline, must be a dictionary.

  • ignore_keys (tuple, optional) – Keys to not check. By default, ('no_defs',).

Returns:

crs_match (bool) – True if crs’ match, False otherwise