Skip to content
mmebsout edited this page Feb 20, 2020 · 20 revisions

Introduction

Usage

CNES DataCube is a javascript application to explore data cubes with two positional dimensions and one spectral dimension. Its main functionalities are :

  • a Slider to view each spectral picture of the cube with different color gradients
  • a Spectrum graph to visualize the value of selected pixel though each slide
  • an Histogram to select the pixel values to focus on and adjust the color gradients accordingly
  • a Metadata bloc to display the file informations
Screenshot of the home page in DataCube
Screenshot of the home page in DataCube

Operation

Standalone or as a Plugin

DataCube is a javascript application that can be used as a standalone app (see image herein before) or as a plugin in MizarWidget.

DataCube button available when DataCube is installed as a plugin in MizarWidget
Screenshot MizarWidget with DataCube installed as a plugin

DataCubeServer

DataCube needs another application that reads the cube files and returns the cube data in json following the DataCube API.

An example of such an application that works with Fits ant NetCDF files is provided with the project DataCubeServer.

DataCube operation with DataCubeServer
DataCube operation with DataCubeServer
  1. The user loads the DataCube url in his web browser.
  2. The server returns the DataCube app as a javascript file.
  3. The DataCube apps is executed in the web browser. The user select a cube to display in with the search functionality.
  4. DataCube sends a request to the DataCubeServer asking for the cube information.
  5. DataCubeServer reads the file
  6. DataCubeServer formats the file information in json following the DataCube API.
  7. DataCube displays the cube data in the web browser.
Clone this wiki locally