DataCubeServer is a java application that reads cube files and returns the their data in json following to the DataCube app according to its API.
DataCube operation with DataCubeServer |
git clone https://github.com/MizarWeb/DataCubeServer.git
cd DataCubeServer
vim cubeExplorer.properties and set the same <path> (eg : /tmp/tests/) for workspace and workspace_cube
also edit the dimX,dimY,and dimZ with the dimention names available in your cubes.
mkdir <path>/private
mkdir <path>/public>
mvn install
java -jar target/cubeExplorer-1.0.0-SNAPSHOT.jar
If the jar file is not generated, you should launch the following command into the root backend project:
mvn clean install
If you must open big files (>2Go), you should launch the jar file with this command :
java -Xmx5G -jar <path>/cubeExplorer-1.0.0-SNAPSHOT.jar
Log file is written in the launch folder.
See DataCube Wiki page.