org.wdssii.core
Class NetcdfSparseGrid

java.lang.Object
  extended by org.wdssii.core.NetcdfSparseGrid

public class NetcdfSparseGrid
extends Object

Author:
lakshman

Field Summary
private static org.apache.commons.logging.Log log
           
private  ucar.ma2.ArrayInt pixelcount
           
private  ucar.ma2.ArrayShort pixelx
           
private  ucar.ma2.ArrayShort pixely
           
private  ucar.ma2.ArrayFloat values
           
 
Constructor Summary
NetcdfSparseGrid(float[][] inValues, float backgroundValue)
           
 
Method Summary
static float computeSparseGridRatio(float[][] inValues, float backgroundValue)
           
 ucar.ma2.ArrayInt getPixelcount()
           
 ucar.ma2.ArrayShort getPixelx()
           
 ucar.ma2.ArrayShort getPixely()
           
 ucar.ma2.ArrayFloat getValues()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

pixelx

private ucar.ma2.ArrayShort pixelx

pixely

private ucar.ma2.ArrayShort pixely

pixelcount

private ucar.ma2.ArrayInt pixelcount

values

private ucar.ma2.ArrayFloat values

log

private static org.apache.commons.logging.Log log
Constructor Detail

NetcdfSparseGrid

public NetcdfSparseGrid(float[][] inValues,
                        float backgroundValue)
Method Detail

getPixelcount

public ucar.ma2.ArrayInt getPixelcount()

getPixelx

public ucar.ma2.ArrayShort getPixelx()

getPixely

public ucar.ma2.ArrayShort getPixely()

getValues

public ucar.ma2.ArrayFloat getValues()

computeSparseGridRatio

public static float computeSparseGridRatio(float[][] inValues,
                                           float backgroundValue)