page updated 7/20/2018
Translation into Portuguese (thanks to Artur Weber)
Translation into Russian (thanks to StudyCrumb)
The ICE is coded in JavaScript using HTML5 standards and will, therefore, run in any modern web browser.
Note that when using the "Showing 3 images" mode, clicking on a thumbnail will cause the corresponding image to be displayed in the big panel. If you want to do a scatter diagram in this mode, the program will always use the last two images viewed.
The basic structure of the parameters that configure ICE5 is
a JavaScript object, similar to this:
<html> <head> <script src="ice5_min.js">lt;script> <script> var ice5params = { filenames : "images/band02.jpg,images/band06.jpg,images/band07.jpg", labels : "0.87 micron,1.64 micron,2.13 micron", do_rgb : "yes", bgcolor :"#FFFF00" }; </script> <head> <body onload="ICE5.init(ice5params, 'ice5div')"> <div id="ice5div"> <div> <body> <html>
You will need to decide which mode you want to use for a particular situation -- that's what the following examples will help you with:
<script> var ice5params = { filenames : "images/band02.jpg,images/band06.jpg,images/band07.jpg", labels : "0.87 micron,1.64 micron,2.13 micron", do_rgb : "yes", bgcolor :"#FFFF00" }; </script>Click here to see this example in action.
<script> var ice5params = { filenames : "images/band02.jpg,images/band06.jpg,images/band07.jpg", labels : "0.87 micron,1.64 micron,2.13 micron", do_math : "yes", colortable_labels : "AMSRE SST, modis_sky_wv, sst_35", colortable_filenames : "NEO_ACT2JSON/amsre_sst_anom.act.json, NEO_ACT2JSON/modis_sky_wv.act.json, NEO_ACT2JSON/sst_35.act.json", calibration_filenames : "NEO_DIDDY2JSON/amsre_sst_diddy.xml.json, NEO_DIDDY2JSON/modis_lst_diddy.xml.json, NEO_DIDDY2JSON/sst_35_diddy.xml.json", bgcolor :"#FFFF00", result_decimal : "2", initial_math : "3.0, 0, 1.0, 2, -2.7", resolution :"km,1.5,1.5" <\script>Note the "initial_math" parameter. This illustrates using "pre-computing" such that the start-up main image panel will show the specified combination of the 3 images. See the description of "initial_math" later in this document.
Click here to see this example in action.
<script> var ice5params = { filenames : "images/band02.jpg,images/band06.jpg,images/band07.jpg", labels : "0.87 micron,1.64 micron,2.13 micron", do_animation : "yes", colortable_labels : "AMSRE SST, modis_sky_wv, sst_35", colortable_filenames : "NEO_ACT2JSON/amsre_sst_anom.act.json, NEO_ACT2JSON/modis_sky_wv.act.json, NEO_ACT2JSON/sst_35.act.json", calibration_filenames : "NEO_DIDDY2JSON/amsre_sst_diddy.xml.json, NEO_DIDDY2JSON/modis_cld_ci_diddy.xml.json, NEO_DIDDY2JSON/sst_35_diddy.xml.json", calibration_decimal : "1,2,0", calibration_missing : "99999,99999,99999", bgcolor :"#FFFF00", resolution :"km,1.5,1.5" <\script>Click here to see this example in action.
var ice5params = { filenames : "images/band02.jpg,images/band06.jpg,images/band07.jpg", labels : "0.87 micron,1.64 micron,2.13 micron", do_nothing : "yes", colortable_labels : "AMSRE SST, modis_sky_wv, sst_35", colortable_filenames : "NEO_ACT2JSON/amsre_sst_anom.act.json, NEO_ACT2JSON/modis_sky_wv.act.json, NEO_ACT2JSON/sst_35.act.json", oldcalibration_filenames : "NEO_DIDDY2JSON/amsre_sst_diddy.xml.json, NEO_DIDDY2JSON/modis_npp_diddy.xml.json, NEO_DIDDY2JSON/sst_35_diddy.xml.json", oldcalibration_decimal : "1,2,0", calibration_decimal : "1,0,1", calibration : "^oC, 0=56.8, 176=-31.2, 254=110.2 & ^oK,slope=-.5,inter=320.1 & ~pix,0=255, 255=0", overlay_labels : "Cities", overlay_tips : "Show some cities", overlay_filenames : "images/cities.png", bgcolor :"#FFFF00", origresolution :"km,1.5,1.5", distance_decimal : "1", navigation : "45.0, -100.0, 40.0, -90.0, nmi" };Click here to see this example in action.
Note that we've also added a calibration curve for each of the images, and these will be reflected in the probe values (along with the units specified). Note the "shorthand" for the superscripts for the degree and square symbol.
If you want to use just one image, you can do something like this:
var ice5params = { filenames : "images/band02", labels : "0.87 micron", do_nothing : "yes", bgcolor :"#FFFF00" };Click here to see this example in action.
The software described herein is the ICE (Image Componsite Explorer) package, a web-based toolkit for exploring image combinations. It was developed under contract to NASA Earth Observatory and is Copyright© 2002-2018 by Tom Whittaker.
This program is free software; you can redistribute it and/or modify it but you may NOT repackage and sell it.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
The developers or their employers or the spondering Agency are not responsible for any and all ramifications, etc., which may result from using this software, or software derived therefrom. Furthermore, you agree to hold us harmless from any consequences related to the use of this software.
That's it.