org.opensha.commons.mapping.gmt
Class GRD_InfoFromFile

java.lang.Object
  extended by org.opensha.commons.mapping.gmt.GRD_InfoFromFile

public class GRD_InfoFromFile
extends Object

Title: GRD_InfoFromFile

Description: This class generates gets the info from a grd file (using GMT's grdinfo command

Version:
1.0

Constructor Summary
GRD_InfoFromFile()
          empty constructor
GRD_InfoFromFile(String filename, String gmtPath)
          non-empty constructor
 
Method Summary
 int get_nx()
           
 int get_ny()
           
 double get_x_inc()
           
 double get_x_max()
           
 double get_x_min()
           
 String get_x_units()
           
 double get_y_inc()
           
 double get_y_max()
           
 double get_y_min()
           
 String get_y_units()
           
 double get_z_max()
           
 double get_z_min()
           
 String get_z_units()
           
static void main(String[] args)
          main function to test this class
 void setFilename(String filename, String gmtPath)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GRD_InfoFromFile

public GRD_InfoFromFile()
empty constructor


GRD_InfoFromFile

public GRD_InfoFromFile(String filename,
                        String gmtPath)
non-empty constructor

Method Detail

get_x_min

public double get_x_min()

get_x_max

public double get_x_max()

get_x_inc

public double get_x_inc()

get_x_units

public String get_x_units()

get_nx

public int get_nx()

get_y_min

public double get_y_min()

get_y_max

public double get_y_max()

get_y_inc

public double get_y_inc()

get_y_units

public String get_y_units()

get_ny

public int get_ny()

get_z_min

public double get_z_min()

get_z_max

public double get_z_max()

get_z_units

public String get_z_units()

setFilename

public void setFilename(String filename,
                        String gmtPath)

main

public static void main(String[] args)
main function to test this class

Parameters:
args -