follow spec here http://docs.neurodata.io/ndstore/sphinx/ingesting.html
currently only 3d data
go to directory for configs
cd /home/neurodata/ndstore/ingest-client/ingest/configs
look at a config
cat ./neurodata-kasthuri11-example.json
projects:
{ "schema": { "name": "neurodata-schema", "validator": "NeurodataValidator" }, "client": { "backend": { "name": "neurodata", "class": "NeurodataBackend", "host": "localhost:8000", "protocol": "http" }, "path_processor": { "class": "ingest.plugins.stack.ZindexStackPathProcessor", "params": { "root_dir": "/data/greg/", "filetype": "png" } }, "tile_processor": { "class": "ingest.plugins.stack.ZindexStackTileProcessor", "params": { "filetype": "png" } } }, "database": { "dataset": "greg16", "project": "greg16", "channel": "image" }, "ingest_job": { "resolution": 0, "extent": { "x": [0, 182], "y": [0, 218], "z": [0, 64], "t": [0, 1] }, "tile_size": { "x": 182, "y": 218, "z": 1, "t": 1 } } }
python aws_interface.py token --data /path/to/data --config /path/to/json --action upload-new
In [ ]: