遥感教程第B-6页

目录

从Internet安装坑

NOTICE: PIT currently does not download from the Internet. Efforts are being made to correct this - watch the HomePage for a statement that PIT is now downloadable from the Website. Those using a CD-ROM should just skip this page for now .

**WARNING* Installation of PIT requires you to modify your AUTOEXEC file so that your computer knows where to find Tcl. The AUTOEXEC file is one of two files that make your computer run properly, so it is possible to seriously adversely affect the operation of your computer while modifying this file. If you follow the steps outlined below and make only the changes listed, there should not be a problem. If you are uncomfortable making these changes yourself then it is recommended that you have someone experienced in this type of work do it for you. Any problems that arise due to modification of this file are the responsibility of only one person - you, or the person who makes the changes if that is not you. *


注:本附录编制完成后,试图安装PIT的互联网用户的反馈表明,有些用户遇到了问题。我们在此插入弗吉尼亚州沃洛普斯岛NASA游客中心主任Berit Bland的建议,用他自己的话说:

我做了以下的工作来运行这个程序:

将文件tk80.dll、tcl80.dll和tclpip80.dll复制到windows\system目录(所有其他dll文件都位于该目录中)。修改后,坑运行良好。(OS:Windows 98)path语句应该读取c:\Program Files\tcl\bin(目录的反斜杠而不是正斜杠)。我不确定添加path语句是否有任何好处,但它似乎也没有任何害处。


您需要一种方法来解压缩下面列出的文件。如果你知道如何绕过DOS,你可以使用Windows95和Winnt附带的pkunzip。如果你不这样做,你就需要一个做同样事情的Windows程序。一个好的使用方法是 WinZip 你可以从他们的网站上得到。

有几个文件需要下载-

**PIT.zip**

此压缩文件包含运行PIT所需的所有文件,下列文件除外;tcl804.exe与此文件打包在一起,将安装tcl/tk 8.0 * 在您的计算机上,这是正确操作PIT接口所必需的

* tcl/tk也可以直接从scriptics网站下载-http://www.scriptics.com/

`israel.zip <http://rac-nt.gsfc.na sa.gov/public/pit/israel.zip>`__ `morrobay.zip <http://rac-nt.gsfc.na sa.gov/public/pit/morrobay.zip>`__ `nb.zip <http://rac-nt.gsfc.nasa.gov /public/pit/nb.zip>`__ `rocks.zip <http://rac-nt.gsfc.nasa. gov/public/pit/rocks.zip>`__ **avhrr.zip **

这些图像文件将在本附录后面的PIT演练中使用。

下载这些文件后,您将需要遵循这些说明-

  1. 创建一个名为 PIT 在硬盘上。

  2. 创建一个名为 凹坑图像 在您的硬盘上 PIT .

  3. 解压缩 PIT.zip 进入 PIT 文件夹。

  4. 双击 tcl804.exe 安装TCL/TK 8.0。 *

  5. 将以下内容添加到系统路径( * * )-C:/程序文件/tcl/bin

  6. 将图像文件解压缩到 凹坑图像 文件夹。

  7. 要执行PIT,请双击 PIT 文件夹。根据您使用的文件管理器的不同,可能不会显示扩展名“.bat”,文件类型可能会列为MS-DOS文件。

  8. 为了方便起见,您可能希望将执行文件绑定到屏幕图标。


* 将首先要求您输入分发的位置。默认值应该可以,但如果您选择,可以指定其他位置。建议您 not 指定PIT文件夹(或PIT文件夹中的文件夹),这可能会使将来对PIT分发的更新复杂化。tcl/tk 8.0安装过程可能会根据您的系统配置提出其他问题。如果已经安装了tcl/tk 8.0(或安装后),则可以删除文件“tcl804.exe”。

* * 这是为了让PIT可以在启动程序时找到TCL。如果您没有正确设置,那么当您尝试启动PIT时,它会给您一个错误,说明在路径中找不到文件“tcl80.dll”。在Winnt上,要设置路径,请执行以下步骤:

  1. 右键单击“我的电脑”图标,然后单击“属性”

  2. 单击环境选项卡

  3. 在“用户变量”下,单击路径行

  4. 在窗口底部的值字段中,在行的末尾添加以下内容-;c:/program files/tcl/bin-确保用分号(无空格)将最后一个条目与新条目分隔开。

  5. 点击“设置”

  6. 点击“应用”

  7. 点击“确定”

  8. 运行坑

在Windows 95上,请执行以下步骤:

  1. 双击“我的电脑”,然后双击您的系统驱动器(应该是C:\,除非您更改了它)。

  2. 右键单击“autoexec”图标,然后编辑

  3. 在路径行的末尾添加以下内容-;c:/program files/tcl/bin-确保用分号(无空格)将最后一个条目与新条目分开。

  4. 保存“autoexec”文件

  5. 重新启动计算机,使新设置生效

  6. 运行坑


Nicholas M.Short,高级电子邮件: nmshort@nationi.net
Jeff Love,Pit开发者(love@gst.com