Uses of Class
org.javaseis.util.SeisException

Packages that use SeisException
org.javaseis.compress   
org.javaseis.examples   
org.javaseis.io   
org.javaseis.io.test   
org.javaseis.properties   
org.javaseis.tests   
 

Uses of SeisException in org.javaseis.compress
 

Methods in org.javaseis.compress that throw SeisException
static int TraceCompressor.getRecordLength(DataFormat traceFormat, int numSamples)
          Gets the record length in bytes.
static void TraceCompressor.main(java.lang.String[] args)
          The "main" method used for testing.
static void SeisCompress.main(java.lang.String[] args)
          Test harness for compression utilities
 

Uses of SeisException in org.javaseis.examples
 

Methods in org.javaseis.examples that throw SeisException
static void CreateRandomCDPs.main(java.lang.String[] args)
           
static void CalculateRMSValue.main(java.lang.String[] args)
           
 

Uses of SeisException in org.javaseis.io
 

Methods in org.javaseis.io that throw SeisException
 int ExtentManager.addExtent(long startPosition, long extentSizeBytes)
          Add an extent to a virtual file.
 void VirtualIO.allocateExtents()
           
protected  void ExtentManager.allocateExtents()
          Create all extents for a new virtual file based on extentPolicy
 void VirtualIO.close()
          Closes a VFIO file.
 void Seisio.close()
          Closes a JavaSeis file-structure.
 void ExtentManager.close()
          Close this extent manager and release resources
 void Seisio.create()
          Creates a JavaSeis file-structure (non-virtual).
 void Seisio.create(java.lang.String[] vfioDirs, int vfioNumExtents, boolean allocateExtents)
          Creates a JavaSeis file-structure (virtual).
 void Seisio.create(java.lang.String[] vfioDirs, long vfioExtentSize)
          Creates a JavaSeis file-structure (virtual).
 void ExtentManager.create(java.lang.String virtualFileProperties, java.lang.String[] extentDirectories)
          Check extent directories for validity and create Virtual File Properties
 void SeisioVoxet.createDefaultVoxetHdr()
           
protected  void Seisio.createHeaderPropertiesFile()
          Creates a header properties file.
 void SeisioVoxet.createVoxetHdr(java.lang.String outputName, float[] axis_o, float[][] axis_uvw, float[] axis_min, float[] axis_max, int[] axis_n, float[] axis_d, java.lang.String[] axis_name, java.lang.String[] axis_unit)
           
 long Seisio.findLogicalIndex(int axisIndex, long logicalPosition)
          Finds the index of a logical position, for the specified dimension.
 void VirtualIO.flush()
          Flushes a VFIO data to disk.
 boolean Seisio.frameExists(int[] position)
           
protected  double Seisio.getFilePropertyDouble(java.lang.String name)
          Gets the double value of a file property.
protected  int Seisio.getFilePropertyDoubleArray(java.lang.String name, double[] values, java.lang.String sep)
          Gets the double-array values of a file property.
protected  int Seisio.getFilePropertyInteger(java.lang.String name)
          Gets the integer value of a file property.
protected  int Seisio.getFilePropertyIntegerArray(java.lang.String name, int[] values, java.lang.String sep)
          Gets the integer-array values of a file property.
protected  long Seisio.getFilePropertyLong(java.lang.String name)
          Gets the long value of a file property.
protected  int Seisio.getFilePropertyLongArray(java.lang.String name, long[] values, java.lang.String sep)
          Gets the long-array values of a file property.
protected  java.lang.String Seisio.getFilePropertyString(java.lang.String name)
          Gets the string value of a file property.
protected  java.lang.String[] Seisio.getFilePropertyStringArray(java.lang.String name, java.lang.String sep)
          Gets the string-array values of a file property.
protected  int Seisio.getFilePropertyStringArray(java.lang.String name, java.lang.String[] values, java.lang.String sep)
          Gets the string-array values of a file property.
static AxisLabel[] Seisio.getPreferredAxisLabels(DataType dataType)
           
static AxisLabel[] Seisio.getPreferredAxisLabels(java.lang.String dataTypeStr)
           
 void Seisio.TraceMap.intializeTraceMapOnDisk()
          Initialize the trace map on disk Sets all values in the map to zero
 boolean SeisNativeLock.lock()
           
 boolean SeisLock.lock()
           
 boolean ISeisLock.lock()
           
static void VirtualIO.main(java.lang.String[] args)
          Simple test harness for VirtualIO class
static void SortRead.main(java.lang.String[] args)
           
static void SortCreate.main(java.lang.String[] args)
           
static void SeisioVoxet.main(java.lang.String[] args)
           
static void ExtentManager.main(java.lang.String[] args)
          Test harness for basic functionality.
protected  void Seisio.mapFlush()
          Flushes the trace map buffer.
 void Seisio.mapFrame(int frameIndex, int numTraces)
          Adds a new frame to a mapped dataset.
 void Seisio.mapVolume(int[] position)
          Preps a new volume for a mapped dataset.
 void SortRead.open(Seisio sioFile, java.lang.String name)
          Open a sort order for an existing JavaSeis dataset
 void SeisioVoxet.open(java.lang.String openMode)
          Opens a JavaSeis file-structure.
 void Seisio.open(java.lang.String openMode)
          Opens a JavaSeis file-structure.
 void VirtualIO.open(java.lang.String path, java.lang.String openMode, java.lang.String[] alternateDirectories)
          Constructs (and opens) a VFIO file for subsequent I/O operations.
protected  void VirtualIO.openExtent(long newPosition)
          Opens the extent that containts the specified position.
protected  void VirtualIO.openNonVirtual()
          Opens a VFIO non-virtual file.
protected  void VirtualIO.openVirtual()
          Opens a VFIO non-virtual file.
protected  void Seisio.parseFilePropertiesProMAX_C(java.util.Properties properties)
          Parses the file properties for VERSION_C_PROMAX.
 int VirtualIO.read(java.nio.ByteBuffer buffer)
          Reads from data channel to buffer.
 void Seisio.TraceMap.read(int volumeIndex)
          Reads the trace map from disk.
 int VirtualIO.readBuffer(java.nio.ByteBuffer buffer)
          Reads from data channel to buffer.
 int VirtualIO.readBuffer(java.nio.ByteBuffer buffer, int len)
          Reads from data channel to buffer.
 int SortRead.readFrame()
           
 int Seisio.readFrame()
          Reads into the the frame buffer from the currently-set position in the dataset.
 int Seisio.readFrame(int[] position)
          Reads into the the frame buffer from the specified position in the dataset.
 int Seisio.readFrameHeaders()
          Reads headers only for at the curent position in the dataset.
 void Seisio.readFrameScattered(int tracesInFrame, long[] traceIndex)
          Read a frame using a set of potentially scattered trace index locations.
 void Seisio.readMultiArray(MultiArray a, int[] position)
          Reads data from an open JavaSeis dataset into a MultiArray Shape must be greater than or equal to the JavaSeis dataset axis lengths for the subset that will be read.
 void Seisio.readTrace(long traceIndex)
          Read a frame using a set of potentially scattered trace index locations.
 void SeisNativeLock.release()
           
 void SeisLock.release()
           
 void ISeisLock.release()
           
 void ExtentManager.reload()
          Reload properties from disk
 int SortRead.setFrame(int ifrm)
          Set the current frame for subsequent read and write operations
 void SortRead.setPosition(int[] position)
          Set the current position for a sort "scattered" read.
 int Seisio.setPosition(int[] position)
          Sets the current position.
 long VirtualIO.setPosition(long newPosition)
          Sets the position for subsequent VFIO operations.
 void Seisio.setTraceDataArray(float[][] trc)
          Sets the frame trace data array used for read/write operations.
 void Seisio.setTraceHeaderArray(int[][] hdr)
          Sets the frame header data array used for read/write operations.
 int SortRead.setVolume(int ivol)
          Set the current volume for subsequent read and write operations
 void Seisio.TraceMap.setVolumeIndex(int volumeIndex)
          Sets the volume index, flushing to current map buffer.
(package private)  void SortCreate.sortAllocateMaps()
          Allocate memory and buffers for sort order maps
(package private)  void SortCreate.sortCreateMaps(int ntrc_est)
          Create map files for a sort order
(package private)  void SortCreate.sortWrite()
          Loop through sort list and write volume, frame, and trace maps
 void ExtentListEntry.toProperties(SeisProperties virtualProperties)
          Convert this list entry to a set of properties
 int VirtualIO.write(java.nio.ByteBuffer buffer)
          Writes from buffer to data channel.
 int VirtualIO.writeBuffer(java.nio.ByteBuffer buffer)
          Writes from buffer to data channel.
 int Seisio.writeFrame()
          Writes from the frame buffer to the currently-set position in the dataset.
 void Seisio.TraceMap.writeFrame()
          Writes the trace map to disk for a single frame.
 int Seisio.writeFrame(int[] position)
          Writes from the frame buffer to the specified position in the dataset.
(package private)  void SortCreate.writeFrameMap(int nfrm, int ivol)
          Write frame map for the current volume
 void Seisio.TraceMap.writeMap()
          Writes the trace map to disk for the current volume.
 void Seisio.writeMultiArray(MultiArray a, int[] position)
          Write data from a MultiArray to an open JavaSeis dataset Shape must be conformable with the JavaSeis dataset axis lengths for the subset that will be written.
 void Seisio.writeTrace(long traceIndex)
          Writes from the frame buffer to the currently-set position in the dataset.
(package private)  void SortCreate.writeTraceMap(int ntrc, int ivol, int ifrm)
          Write trace map for the current frame
(package private)  void SortCreate.writeVolumeMap(int nvol, int ivol)
          Write volume map for a subrange of volumes
 

Constructors in org.javaseis.io that throw SeisException
ExtentListEntry(java.lang.String extName, SeisProperties virtualProperties)
          Construct an extent based on values in a VirtualFile Properties object
ExtentManager(java.lang.String virtualFileProperties, java.lang.String mode, java.lang.String[] altDirectories)
          Create an extent manager for an existing virtual file
ExtentManager(java.lang.String virtualFileProperties, java.lang.String extentBaseName, java.lang.String[] extentDirectories, long fileLength, int numExtents)
          Create an extent manager for a new virtual file
ExtentManager(java.lang.String virtualFileProperties, java.lang.String extentBaseName, java.lang.String[] extentDirectories, long fileLength, int numExtents, ExtentPolicy policy)
          Create an extent manager for a new virtual file
ExtentManager(java.lang.String virtualFileProperties, java.lang.String extentBaseName, java.lang.String[] extentDirectories, long fileLength, int numExtents, ExtentPolicy policy, IParallelContext pc)
          Create an extent manager for a new virtual file in a parallel context
Seisio(java.lang.String path, GridDefinition gridDefinition)
          Create a new JavaSeis dataset with a specified GridDefinition, default DataDefinition, and no trace properties.
Seisio(java.lang.String path, GridDefinition gridDefinition, DataDefinition dataDefinition, TraceProperties headerDefinition)
          Constructs an instance of Seisio.
Seisio(java.lang.String path, int ndim, int[] idim)
          Constructs an instance of Seisio.
Seisio(java.lang.String path, int ndim, int[] idim, java.nio.ByteOrder byteOrder)
           
SeisioVoxet(Seisio sio)
           
SeisioVoxet(java.lang.String path)
           
SeisLock(java.lang.String path)
          Create a lock manager for a particular file.
SeisLock(java.lang.String path, int retryCount)
          Create a lock manager for a particular file.
SeisLock(java.lang.String path, int retryCount, long maxsleep)
          Create a lock manager for a particular file.
SeisNativeLock(java.lang.String path)
          Create a lock manager for a particular file.
SeisNativeLock(java.lang.String path, int retryCount)
          Create a lock manager for a particular file.
SeisNativeLock(java.lang.String path, int retryCount, long maxsleep)
          Create a lock manager for a particular file.
SortCreate(Seisio sioFile, java.lang.String name, java.lang.String sort3i, java.lang.String sort4i, Pacifier paci, IParallelContext pci)
          Create a new sort order for an open JavaSeis dataset
SortRead(Seisio sioFile, java.lang.String name)
          Open a sort order for an existing JavaSeis dataset
VirtualIO(java.lang.String path)
          Open a VFIO non-virtual file for subsequent I/O operations.
VirtualIO(java.lang.String path, java.lang.String openMode)
          Open a VFIO file for subsequent I/O operations.
VirtualIO(java.lang.String path, java.lang.String openMode, java.lang.String[] alternateDirectories)
          Open a VFIO file for subsequent I/O operations.
VirtualIO(java.lang.String path, java.lang.String extentBaseName, java.lang.String[] extentDirs, long fileSize, int numExtents)
          Create a VFIO virtual file for subsequent I/O operations.
VirtualIO(java.lang.String path, java.lang.String extentBaseName, java.lang.String[] extentDirs, long fileSize, int numExtents, ExtentPolicy policy, IParallelContext pc)
          Create a VFIO virtual file in a parallel context.
 

Uses of SeisException in org.javaseis.io.test
 

Methods in org.javaseis.io.test that throw SeisException
 void JTestSeisLock.testSynchronous()
          Lock and increment a counter in a properties file in a single thread.
 

Uses of SeisException in org.javaseis.properties
 

Methods in org.javaseis.properties that throw SeisException
 void SeisProperties.close()
           
 void SeisProperties.create(java.lang.String path, java.lang.String header)
           
 double SeisProperties.getDouble(java.lang.String key)
          Get float property value from JavaSeis FileProperties object.
 int SeisProperties.getDoubleArray(java.lang.String key, double[] values)
          Get an array of doubles from the JavaSeis FileProperties object.
 float SeisProperties.getFloat(java.lang.String key)
          Get float property value from JavaSeis FileProperties object.
 int SeisProperties.getFloatArray(java.lang.String key, float[] values)
          Get an array of floats from the JavaSeis FileProperties object.
 java.lang.String SeisProperties.getHeader()
          Read the "header" line from the properties file
 int SeisProperties.getInt(java.lang.String key)
          Get int property value from JavaSeis properties object.
 int SeisProperties.getIntArray(java.lang.String key, int[] values)
          Get an array of integers from the JavaSeis FileProperties object.
 long SeisProperties.getLong(java.lang.String key)
          Get long property value from JavaSeis properties object.
 int SeisProperties.getLongArray(java.lang.String key, long[] values)
          Get an array of longs from the JavaSeis FileProperties object.
 java.lang.String SeisProperties.getString(java.lang.String key)
          Get String property value from JavaSeis FileProperties object.
 void SeisProperties.load()
          Load a JavaSeis properties object from the associated file
 void SeisProperties.lock()
          Obtain a lock on the properties file
static void TraceProperties.main(java.lang.String[] args)
          The "main" method used for testing.
static void SeisTraceProperties.main(java.lang.String[] args)
           
static java.util.Properties SeisProperties.mergeProperties(java.util.Properties oldProps, java.util.Properties newProps, boolean preserve)
          Merges 2 sets of properties.
 void SeisProperties.open(java.lang.String path, java.lang.String mode)
          Open properties file
 void SeisProperties.open(java.lang.String path, java.lang.String mode, boolean fileLocking, boolean nativeLocking)
          Open a file for subsequent JavaSeis properties load/store operations
 void SeisTraceProperty.set(java.lang.String name, java.lang.String s)
           
 void PropertyDescription.set(java.lang.String label, java.lang.String propertyString)
          Sets the property label and description.
 void SeisProperties.store()
          Store JavaSeis properties to the associated file
 void SeisProperties.unlock()
          Release a lock on the properties file
protected  void SeisProperties.update(java.lang.String header)
          Updates properties.
 void SeisProperties.useLock(boolean lock)
           
 void SeisProperties.useNativeLock(boolean useNative)
           
 

Constructors in org.javaseis.properties that throw SeisException
SeisProperties(java.lang.String path, java.lang.String mode)
           
SeisProperties(java.lang.String path, java.lang.String mode, boolean useLocking, boolean nativeLocking)
          Create a file for subsequent JavaSeis properties load/store operations
SeisTraceProperty(java.lang.String name, java.lang.String s)
          Construct a trace property description from a string
 

Uses of SeisException in org.javaseis.tests
 

Methods in org.javaseis.tests that throw SeisException
static java.lang.String TestUtil.getDatasetContainer()
          Get a folder for storing javaseis datasets
static java.lang.String TestUtil.getDatasetPath(java.lang.String name)
          Using the name specified return a fully qualified path to a dataset.
static java.lang.String TestUtil.getScratchFolder()
          Get the scratch folder.
static java.lang.String TestUtil.getScratchPath(java.lang.String path)
          Using the name specified return the path and ensure the folder exists
static java.lang.String TestUtil.getVirtualContainer()
          Get the folder where unit tests results are stored, including log files, scratch files, datasets and virtual datasets
static java.lang.String[] TestUtil.getVirtualFolders()
          Returns an array of secondary folder locations.
static java.lang.String[] TestUtil.getVirtualFolders(java.lang.String dsName)
          Returns an array of fully qualified paths to secondary storage locations that will be made unique by appending the dsName parameter to the end of the path.
static void ParallelVirtualIOTest.main(java.lang.String[] args)
          Run simple parallel I/O test.