Skip to content

UT-GlobalSeismology/Kibrary

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kibrary

version Java8

Library for waveform inversion. It bundles ANISOtime (ANISOtime) package.
A tutorial on how to use Kibrary for waveform inversion can be found here

INSTALLATION

Java environment

Kibrary currently runs on [Java SE Runtime Environment 8][JRE8] or higher (Java 14 is strongly recommended). If you are not sure about the version you have, click here to check.

You can download from Oracle, while you might want to manage by something like sdkman. If you are a macOS user and have Homebrew installed, then you can have the latest Java as below.

 % brew update
 % brew cask install java

Install using Maven

  1. Install Apache Maven
# On macOS, maven can be installed using brew
brew install maven
  1. Clone the Kibrary respository to your local machine
git clone git@github.com:UT-GlobalSeismology/Kibrary.git
  1. Change to the Kibrary directory, and build Kibrary using Maven
cd Kibrary
mvn package
  1. Add the generated JAR file kibrary-1.1a-jar-with-dependencies.jar to your CLASSPATH (in ~/.bashrc)
# replace /path/to/Kibrary/dir/ by the path to the Kibrary directory cloned in step 3
echo "# Kibrary\nexport CLASSPATH=/path/to/Kibrary/dir/target/kibrary-1.1a-jar-with-dependencies.jar:$CLASSPATH" >> ~/.bashrc
source ~/.bashrc
  1. To check that the installation is succesfull, run:
java io.github.kensuke1984.kibrary.About