What is Webification?

Webification (w10n) is an enabling technology that simplifies use of data on the web platform. It has been successfully applied to large and complex science data, such as ones archived by NASA Planetary Data System (PDS).

W10n abstracts an arbitrary data store as a tree, in which two types of entities exist: node and leaf. A node can contain sub-nodes and leaves. A leaf holds data and is terminal. Both node and leaf can have attributes.

W10n uses meaningful URLs to locate inner components of a data store and make them directly accessible via HTTP/HTTPS in ReSTful way. A w10n URL has a form as follows

String /identifier identifies
either meta info of a node or leaf by ending with a forward slash '/', e.g., /0/raster/
or data info of a leaf by ending with an enclosing square-bracket pair '[...]', e.g., /0/raster/data[0:20:2,30:40:4,0:1]
String ?queryString indicates how the access should be done, such as, in what output format data of a leaf should be returned.

What are webified?


All directories are webified.

When a directory is webified, its sub-directories become w10n nodes and files become w10n leaves.

By default, meta info, i.e., content of a dir is displayed in HTML,

To have it in json, specify query parameter as ?output=json, e.g.,

Furthermore, one can use glob pattern in URLs to filter the content, e.g.,

To have the response returned in JSON, specify query parameter as ?output=json, e.g.,

Data Files

VICAR/PDS and common image files such as GIF, PNG, JPEG, TIFF, etc. are webified.

By default, meta info is returned in JSON format.

Take this VICAR file (a Cassini close-in of Saturn's tumbling moon Hyperion) as an example:

Its attributes and data arrays can be accessed using w10n URLs as follows,
returns top meta info in JSON, which contains global attributes and a list of available images. In this case, there is only one image named as 0.
returns the same top meta info as above, but in HTML.
returns meta info of image 0 in JSON. One attribute metadata contains VICAR labels.
returns image 0 in GIF format.
returns image 0 cropped at pixel location (64,128) with size equal to 512×256.
returns image 0 resized to width 128 and height 64.
returns image 0 resized to width 128, aspect ratio unchanged.
returns image 0 resized to height 64, aspect ratio unchanged.
returns image 0 raster data array in JSON. Or in big/little-endian binary if output is set to big-endian or little-endian.
returns a slice of image 0 raster data array in JSON.


The HTML view provided by ?output=html is a human-friendly browsable interface, which presents URLs above on web pages that one can interact with, e.g.,

This interface is available to every webified file and is accessible through a folder icon at the rightest column called "webifiable" on each directory listing page, such as

Web-based Visualization

The most interesting and powerful examples of webified data come from the brave new world of HTML5. Please visit http://webviz.jpl.nasa.gov to see how webified data can be used on the web platform. Some examples there require webGL for 3D visualization. Please use Google Chrome or Apple Safari browsers for better user experience.



Copyright 2015, by the California Institute of Technology. ALL RIGHTS RESERVED. United States Government Sponsorship acknowledged.