STARE plugin for SciDB
NOTE: SciDB™ is a trademark of Paradigm4.
wget https://downloads.paradigm4.com/community/19.3/scidb-19.3.1.3a5c8419.tgz
mkdir scidb_src/
tar zxvf scidb-19.3.1.3a5c8419.tgz -C scidb_src
sudo yum install epel-release
sudo yum install log4cxx-devel.x86_64
sudo yum install centos-release-scl
sudo yum install devtoolset-3-gcc devtoolset-3-gcc-c++
scl enable devtoolset-3 bash
make
sudo apt install liblog4cxx-dev
make
sudo cp libSTARE.so /opt/scidb/19.3/lib/scidb/plugins/
Load Libary
iquery -aq "load_library('STARE')"
Create an array:
store(build(<lat:double>[i=0:3:1],floor(random()/2147483647.0*180)), lat);
store(build(<lon:double>[i=0:3:1],floor(random()/2147483647.0*360)), lon);
store(join(lat, lon), coordinates);
apply(coordinates, hstm, stareFromLevelLatLon(12,lat, lon));