1. Installation Procedures
The Land Analysis System (LAS) consists of three software packages.
They are:
- TAE - Transportable Applications Executive
- TAE interacts with end-users and manages the execution of the LAS
applications. See the TAE Programmer's Reference
Manual (not delivered) for detailed information on TAE.
- LAS - Land Analysis System
- LAS is image analysis routines designed to ingest, manipulate, and
analyze digital image data and provide the user with a wide spectrum of
functions and statistical tools for image analysis. See the
LAS Overview for detailed
information about LAS.
- ADAPS - AVHRR Data Acquisition and Processing System
- The AVHRR Data Acquisition and Processing System (ADAPS) is
designed to receive, archive, and process Advanced Very High
Resolution Radiometer (AVHRR) data from National Oceanic Atmospheric
Administration (NOAA) Tiros-N polar orbiting satellites. See the
ADAPS Overview
for detailed information about ADAPS.
This section describes the procedure needed to install the LAS package.
Please read all of the information within the System Managers Guide
before beginning.
LAS 7.3 has been installed on computer systems that support the following
configurations. See Appendix B if you have an
unsupported machine.
- SUN computers running Sun Solaris 2.7
- Silicon Graphics running IRIX 6.5
Previous versions of LAS have also been installed on the following systems:
- DEC/VAX computers running VMS 4.7 or higher operating systems
- SUN2 and SUN3 computers running SUN/OS operating system
- Gould PowerNode computers running UTX 2.0 or higher operating systems
- IBM RS6000 computers running AIX operating system
- IBM RT computers running AIX operating system
- Data General running DG/UX 5.4.1
Disclaimer
Although this software has been successfully installed on a computer system of
the Geological Survey, U.S. Department of the Interior, no warranty, expressed
or implied, is made by the Geological Survey as to the functionality of the
software on any other system, nor shall the fact of distribution constitute
any such warranty, and no responsibility is assumed by the Geological Survey
in connection herewith.
LAS 7.3 consists of three compressed Unix tar files. To restore the
executables, approximately 180 megabytes of disk space is required.
To optionally install from the source code, approximately 150
megabytes additional disk space is required.
- Backup any previous versions of TAE, LAS, ADAPS before the installation
procedure is run. The previous versions can then be removed if the disk
space is needed to install the new versions.
- After the new version has been installed, any contributed or
local code unique to the installation site should be extracted from the
old version and placed in the appropriate directories.
Installing from the LAS tar files :
- Create a top level directory
- Change to the top level directory
- Uncompress and extract the TAE tar file
- Uncompress and extract the executable tar file
Example:
% mkdir -p /your_path_name/las73
% cd /your_path_name/las73
% zcat /tar_file_dir/tae.tar.Z | tar xvpf -
% zcat /tar_file_dir/las73_run.tar.Z | tar xvpf -
Note:
- Do not use capital letters anywhere within the path name.
The environment variables TAE and EDCSOFT need to be set to define
access to LAS 7.3.
% setenv EDCSOFT /your_path_name/las73 (Root directory for LAS 7.3)
% setenv TAE $EDCSOFT/tae (Root directory for the TAE package)
After the root environment variables have been set, the user can set
up the other required environment variables for LAS 7.3 by executing
the commands:
% set response=las71
% source $EDCSOFT/env/las/assign/lasinit
If development by a programmer is required, the environment variables for access to the libraries
and include files can be set up by executing the commands:
% set response=las71d
% source $EDCSOFT/env/las/assign/lasinit
Environment variables to LAS 7.3 will be setup when lasinit
has been executed. Usually, the previously stated commands are
placed in a masterlog file and the user's
.login file.
At this point LAS 7.3 is installed. The user can type las at
the operating system prompt to enter the LAS environment. To exit
LAS, the user can enter exit to return to the operating
system. See the LAS
Overview for detailed information about getting started.
Example:
% (Operating system prompt)
% las (Enter the LAS environment)
LAS73> (LAS environment prompt)
LAS73>exit (Exit the LAS environment)
% (Back to the operating system prompt)
- To run tape ingest or output routines, you will need to make some manual
modifications need to a tape configuration file.
The $LASTABLES/tape.config file contains tape drive
information for various systems and drive types. Modify this file
for your site following the instructions within this file before
running any tape I/O applications. Refer to the
Programmer's Guide, Tape I/O
section, for more specific information relating to tape
operations.
- The file $LASBASE/lasgbls.pdf may optionally be modified to set site
specific TAE global variables.
- For Sun installations: If you encounter problems running the
XID application, it may be necessary to create a link pointing to the
X color data base. XID looks for the X color database in the
directory /usr/lib/X11 for the file rgb.txt. On Sun systems,
this file may be in /usr/openwin/lib/X11,
/opt/X11R5/usr/lib/X11, or other directory as setup by the
System Administrator. Have your System Administrator create a link
from /usr/lib/X11 to one of the other directories listed.
- The entire system can be rebuilt from source code if desired. This should
not be necessary for most installation sites. The steps needed to
accomplish this task are:
% mkdir -p /your_path_name/las73
% cd /your_path_name/las73
% zcat /tar_file_dir/tae.tar.Z | tar xvpf -
% zcat /tar_file_dir/las73_src.tar.z | tar xvpf -
% setenv EDCSOFT /your_path_name/las71
% setenv TAE $EDCSOFT/tae
% cd $TAE
% installtae |& tee build.log
% cd $EDCSOFT
% cp $EDCSOFT/src/las/env/install/mkdir.csh .
% mkdir.csh
% cd $EDCSOFT/src
% cp $EDCSOFT/src/las/env/install/Build.las .
% Build.las |& tee build.log
Notes:
- If you have installed previous versions of LAS, you will need to
remove all environment variable assignments to this previous version
before beginning the rebuild. These assignments are normally
set in your .login or .cshrc file.
- The cc, cpp and f77 commands must be available via
your $PATH environment variable.