invest/tests/test_datastack_modules/archive_extraction.py

27 lines
822 B
Python

MODEL_SPEC = {
'model_id': 'mymodel',
'args': {
'blank': {'type': 'freestyle_string'},
'a': {'type': 'integer'},
'b': {'type': 'freestyle_string'},
'c': {'type': 'freestyle_string'},
'foo': {'type': 'file'},
'bar': {'type': 'file'},
'data_dir': {'type': 'directory', 'contents': {}},
'raster': {'type': 'raster'},
'vector': {'type': 'vector'},
'simple_table': {'type': 'csv'},
'spatial_table': {
'type': 'csv',
'columns': {
'ID': {'type': 'integer'},
'path': {
'type': {'raster', 'vector'},
'geometries': {'POINT', 'POLYGON'},
'bands': {1: {'type': 'number'}}
}
}
}
}
}