1. Introduction

 

JSESAME is a JAVA application for providing a user-friendly graphical interface for H/V spectral ratio technique used in local site effect studies. The program uses the functions of automatic window selection and H/V spectral ratio by executing external commands. The automatic window selection and H/V process are standalone application developed in Fortran. JSESAME is mainly a tool for organizing the input data, execute window selection and processing, and display the processing results. The software operates in Unix, Linux, Solaris, Macintosh and Windows environments.

 

2. Requirements

 

The following tool has to be installed in the Operating System:

For Linux/Unix/Solaris you will need to recompile the Fortran code, so you need g77 (or compatible) Fortran compiler installed.

 

Windows minimum requirements: Windows 98, 128MB RAM (suggested configuration: Windows 2000 or XP, 256MB RAM)

 

MacIntosh minimum requirements: System 10.2.8 or higher

 

·        It is advisable that you have your monitor configured for 1024x768.

 

 

3. Installation

 

Two installation options are provided, according to the platform you are using.

 

 

3.1 CD Structure

 

The CD contains 5 directories, a setup for Windows and a readme file.

The contents of each directory are:

·        JSesame directory

o       JSesame.jar: main executable program in Java

o       Src: directory containing the Java source code

o       Images: directory with tools-bar images

·        Samples directory: contains some example input files (.gse and .saf)

·        WindowSelection directory

 

 

 

3.2 Installing on Windows

 

A setup program is provided. This program creates two directories on the C:\ root directory, for hvproc and for windowselection. It also installs the JAR file and it’s dependencies in the programs directory, under JSesame. It creates a shortcut on your desktop.

 

 

3.3 Installing on Unix, Linux,  Solaris or Macintosh

 

To compile the Fortran sources go to:   

…/Hvproc/Src

and check in the Makefile_L the name of the Fortran compiler you have installed in your computer (i.e. f77, g77, …). There are some routines which are compiler dependent; however those contained in the directory …/Hvproc/Dep_L, which are designed for g77, should work on most Unix platforms.

Macintosh users should also copy the file “itw.f_mac” into “itw.f”.

 

Then:

$ makefile –f Makefile_L

will prepare the executable.

If you do not use this makefile, note the executable must be named “hvproc0_1” and its location is under ../Hvproc

 

Then go to :

…/Windowselection/Src

Perform the same check described above and run the makefile:

$ makefile –f Makefile_L

If you do not use the provided makefile, note that the executable must be named “winselection” and its location is under ../Windowselection

 

 

 

4. Getting started

 

On Windows double click in the JSesame icon on the desktop.

 

Under Unix, Linux and Solaris go to the Jsesame directory and start the program from the prompt line using the command:

 

            java –jar ./JSesame.jar

 

On the Macintosh double click on Jsesame.jar.

 

Then follow the J-Sesame user manual

 

 

 

 

Acknowledgements

 

Acknowledgments are due for the use of some subroutines:

 - FFTPACK: package of Fortran subprograms for the fast Fourier transform

P.N. Swartztrauber. Vectorizing the FFT’s, in Parallel Computations (G. Rodrigue, ed.), Academic Press, 1982, pp. 51-83.

- CODECO3: format conversion software

Urs Kradolfer, Karl Koch, Klaus Stammler. Swiss Seismological Service, Zurich.

- FILTERING: some routines developed by

Dave Harris. Laurence Livermore National Laboratory. Livermore, CA, USA. Copyright 1990 Regents of the University of California