Home
Search
News
Facts
Science
Instrument
Data/Software
The RHESSI Team
Public Outreach
Presentations
Messages
Related Sites

 

Other RHESSI
Web Sites

Step #6           Adding More Instruments to an existing SSW Installation

On Windows, you must make some changes manually to add more instruments or packages to an existing SSW installation. In summary, you need to copy the compressed tar files from sohoftp for the instruments you want, expand them on your machine in the proper directories, modify the mirror package file to include the new directories, and modify your SSW_INSTR definition. More detailed instructions and an example follow:

1.    The files needed for each instrument/package are stored in compressed tar files (....tar.Z) on sohoftp.nascom.nasa.gov in the directory /solarsoft/offline/swmaint/tar.  Use anonymous ftp (or in a browser, use ftp://sohoftp.nascom.nasa.gov/solarsoft/offline/swmaint/tar/ ) to copy the tar.Z file in binary mode to your desktop or any temporary location. (You can delete it when you've extracted the contents.)

2.    Open the tar.Z file with WinZip (or any program that will uncompress and extract from a tar.Z file).

3.    Extract everything to the directory the instrument/package belongs in. You may need to create the directory for the new instrument/package. Usually the tar file name indicates the directory structure for SSW. For example, ssw_packages_xray.tar.Z should be extracted to the drive:\ssw\packages directory. If you don't have the packages directory, you should create it first.

4.    Edit the ssw_install.pkg file in your drive:\ssw\site\setup directory. Cut and paste an existing instrument stanza in the file, and edit it for the new instrument. You'll need to edit the 'package', 'comment', 'remote_dir', 'local_dir', and 'update_log' fields. Note: don't put the new stanza last in the ssw_install.pkg file - a bug causes the last stanza to be skipped; our work-around is to make the last stanza a repeat of an earlier stanza.

5.    If you want the new directories to be included in your IDL path, add the instrument to SSW_INSTR (probably in your drive:\ssw\site\setup\sswidl.bat file)


EXAMPLE:

Suppose you want to add the ETHZ software to your SSW installation. Assuming that you will use WinZip to extract the files, and that your SSW installation is rooted at C:\ssw, do the following:

ftp sohoftp.nascom.nasa.gov
anonymous
kim@
cd /solarsoft/offline/swmaint/tar
binary
get ssw_radio_ethz.tar.Z
quit

If you don't already have the directory C:\ssw\radio, create it.
Open ssw_radio_ethz.tar.Z in WinZip. Answer YES to the question 'do you want to decompress and open'.
Click Actions, Select All, Extract, navigate to the directory C:\ssw\radio and click Extract.

Edit the file C:\ssw\site\setup\ssw_install.pkg to add the following stanza (not at the end of file):

package=_solarsoft_radio_ethz
comment=ssw_upgrade__solarsoft_radio_ethz
site=sohoftp.nascom.nasa.gov
remote_user=anonymous
remote_password=kim@
remote_dir=/solarsoft/radio/ethz
local_dir=/hessi/ssw/radio/ethz
mode_copy=true
use_timelocal=false
max_delete_files=99%
max_delete_dirs=99%
update_log=C:\ssw\site\logs\ssw_upgrade__radio_ethz.log
compress_patt= force_times=yes

In C:\ssw\site\setup\sswidl.bat change the definition of SSW_INSTR to look something like:
set SSW_INSTR=hessi goes spex xray yohkoh ethz

Return

 

horizontal rule

Link to NASA Home Page

Responsible NASA Official:  Gordon D. Holman

Web Design:  Merrick Berg, Brian Dennis, Gordon Holman, & Gilbert Prevost

Heliophysics Science Division
NASA/Goddard Space Flight Center
Laboratory for Solar Physics/ Code 671
Greenbelt, MD, 20771, USA
Gordon.D.Holman@nasa.gov

Link to NASA/Goddard Home Page

+ NASA Privacy Statement, Disclaimer, and Accessibility Certification

horizontal rule

This site last updated December 5th, 2006.