Diff
STAC diff tool.
collections_defs_are_different(col1, col2)
¶
Compute the diff between 2 STAC collections.
Source code in theia_dumper/diff.py
compare_local_and_upstream(handler, local_col_path, remote_col_id='')
¶
Compare a local and a remote collection.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
handler
|
StacTransactionHandler
|
object to handle the connection |
required |
local_col_path
|
str
|
path to local collection path |
required |
remote_col_id
|
str
|
Remote collection identifier. If unset, will take the same id as the local collection |
''
|
Source code in theia_dumper/diff.py
generate_items_diff(col1, col2)
¶
Compute the diff between 2 STAC collections.
Returns: - list of items only in collection 1 - list of items only in collection 2