Julia interface to BOSS for large scale image cutout and chunk saving.
- Blosc compression to speed up data transer
- error handling for writting
Pkg.clone("git@github.com:seung-lab/BOSSArrays.jl.git")
setup the enviroment variable
- add these line to
~/.bashrc
file
export INTERN_PROTOCOL=https
export INTERN_HOST=api.theboss.io
export INTERN_TOKEN=98d060b8ecd983842bb0f105ea3ee91f75796306
source ~/.bashrc
use it as a normal Julia Array
using BOSSArrays
ba = BOSSArray( collectionName = "YourCollectionName",
experimentName = "YourExperimentName",
channelName = "YourChannelName")
a = rand(UInt8, 200,200,3)
ba[10001:10200, 10001:10200, 1:3] = a
b = ba[10001:10200, 10001:10200, 1:3]
@assert all(a.==b)