meta data for this page
  •  

This is an old revision of the document!


How to connect to the data layer

The data layer is a MySQL database provided by Google Cloud SQL.

Instructions for how to connect to the data layer are here.

How to connect to the middle layer

The middle layer consists of several “calculation services,” which are basically bits of code that do calculations of some sort. They are structured as “web services” that receive an HTTP request, which is the protocol that a standard web browser uses to request web pages from a server, but can also be used by almost any programming language or computational environment. The service returns results formatted in a way that can be read by the requesting program. For a web browser, this would be HTML-formatted text as normally used for web pages. For other software that was interested in using the numerical results rather than displaying the web page, the response is text formatted in a data encoding standard such as XML that can be easily read by software.

At the moment, the only middle-layer calculation service available to the ICE-D project is provided by the online exposure age calculators that have been in existence since about 2007 and are familiar to most researchers involved in cosmogenic-nuclide geochemistry. These run on servers at http://hess.ess.washington.edu and http://stoneage.ice-d.org. These are most commonly used by interacting with them using a web browser, in which a user enters text into a webpage, submits it to the server, and receives in response another webpage containing numerical results. However, they can also be used programmatically as a web service. How to do this is explained on this page.

How to plug into various analysis layers

An “analysis layer” is a layer that obtains information from the data layer and the analysis layer and displays or uses it in some way.

The ICE-D web server is an example of an analysis layer application. Mostly, the purpose of this application is to display information to a user via a web browser, but there are a couple of tricks embedded in the web page that allow one to also use this application to get information in a form that can be easily used by software. This is explained here.