home *** CD-ROM | disk | FTP | other *** search
Text File | 1999-12-27 | 3.3 KB | 133 lines | [TEXT/PLER] |
- //
- // EarthBrowser - Clouds.gdx
- // Copyright 1999 Lunar Software Inc.
- //
-
- <GEOINDEX VERSION=1 REFRESH=300>
-
-
- // prototype of a class declaration
- <CLASS ID="GOESOverlay" SUPERCLASS="Overlay">
-
- <Variable>
- satTransferType = 0;
- satLowFilter = 30;
- satHighFilter = 230;
- </Variable>
-
- // constructor function
- <Function>
- SetCameraValues(camPhi, camTheta, focalLen, camDist) {
- overlayCamPhi = camPhi;
- overlayCamTheta = camTheta;
- overlayCamFocalLen = focalLen;
- overlayCamDist = camDist;
- }
- </Function>
-
- <Function>
- SetSourceParams(oleft, otop, owidth, oheight) {
- overlaySrcLeft = oleft;
- overlaySrcTop = otop;
- overlaySrcWidth = owidth;
- overlaySrcHeight = oheight;
- }
- </Function>
-
- <Function>
- SetDestCoords(llon, tlat, rlon, blat) {
- overlayDestLeftLon = llon;
- overlayDestTopLat = tlat;
- overlayDestRightLon = rlon;
- overlayDestBottomLat = blat;
- }
- </Function>
-
- </Class>
-
- // Global Montage
- <Instance ID="SSECOverlay" CLASS="GOESOverlay">
- objImageURL = "http://www.ssec.wisc.edu/data/comp/latest_cmoll.gif";
- // SetSourceParams(12, 85, 616, 310);
- SetSourceParams(12, 95, 610, 300);
- SetDestCoords(60, 60, 180, -50);
- overlayProjType = 2;
- overlayLandAMMassDiff = 0;
- overlayLandPMMassDiff = 0;
- overlayLowFilter = 116;
- overlayHighFilter = 135;
- </Instance>
-
- // GOES West
- <Instance ID="GWIROverlay" CLASS="GOESOverlay">
- objImageURL = "http://goeshp.wwb.noaa.gov/FULLDISK/GWIR.JPG";
- SetSourceParams(57, 14, 528, 450);
- SetDestCoords(-180, 65, -101, -65);
- overlayProjType = 3;
- satTransferType = 1;
- overlayLandAMMassDiff = 50;
- overlayLandPMMassDiff = 35;
- overlayLowFilter = 100;
- overlayHighFilter = 230;
- SetCameraValues(0.0, 2.353, 155.314, -5.6179);
- </Instance>
-
-
- // GOES East
- <Instance ID="GEIROverlay" CLASS="GOESOverlay">
- objImageURL = "http://goeshp.wwb.noaa.gov/FULLDISK/GEIR.JPG";
- SetSourceParams(57, 14, 528, 450);
- SetDestCoords(-101, 65, -20, -65);
- overlayProjType = 3;
- satTransferType = 1;
- overlayLandAMMassDiff = 40;
- overlayLandPMMassDiff = 35;
- overlayLowFilter = 100;
- overlayHighFilter = 230;
- SetCameraValues(0.0, 1.30, 155.0, -5.6179);
- </Instance>
-
- // Meteosat
- <Instance ID="GMIROverlay" CLASS="GOESOverlay">
- objImageURL = "http://goeshp.wwb.noaa.gov/FULLDISK/GMIR.JPG";
- SetSourceParams(77, -2, 487, 487);
- SetDestCoords(-20, 62, 60, -65);
- overlayProjType = 3;
- satTransferType = 1;
- overlayLandAMMassDiff = 20;
- overlayLandPMMassDiff = 35;
- overlayLowFilter = 100;
- overlayHighFilter = 230;
- SetCameraValues(0.0, 0.0, 156.0, -5.6179);
- </Instance>
-
- // INODEX
- <Instance ID="GIIROverlay" CLASS="GOESOverlay">
- objImageURL = "http://goeshp.wwb.noaa.gov/FULLDISK/GIIR.JPG";
- SetSourceParams(135, 39, 403, 403);
- SetDestCoords(60, 50, 110, -50);
- overlayProjType = 3;
- satTransferType = 1;
- overlayLandAMMassDiff = 15;
- overlayLandPMMassDiff = 35;
- overlayLowFilter = 100;
- overlayHighFilter = 230;
- SetCameraValues(0.0, 5.18, 130.0, -5.6179);
- </Instance>
-
- // GMS
- <Instance ID="GGIROverlay" CLASS="GOESOverlay">
- objImageURL = "http://goeshp.wwb.noaa.gov/FULLDISK/GGIR.JPG";
- SetSourceParams(47, 0, 490, 545);
- SetDestCoords(110, 50, 180, -50);
- overlayProjType = 3;
- satTransferType = 1;
- overlayLandAMMassDiff = 15;
- overlayLandPMMassDiff = 35;
- overlayLowFilter = 100;
- overlayHighFilter = 220;
- SetCameraValues(0.0, 3.839, 138.0, -5.6179);
- </Instance>
-
- </GEOINDEX>
-