org.gcube.dataanalysis.geo.utils
Class AscDataExplorer

java.lang.Object
  extended by org.gcube.dataanalysis.geo.utils.AscDataExplorer

public class AscDataExplorer
extends Object


Field Summary
 double cellsize
           
 int ncolumns
           
 int nrows
           
 double xOrigin
           
 double yOrigin
           
 
Constructor Summary
AscDataExplorer(String file)
           
 
Method Summary
 int latitude2Index(double latitude)
           
 int longitude2Index(double longitude)
           
static void main(String[] args)
           
 List<Double> retrieveDataFromAsc(List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets)
           
static void testReaders()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

xOrigin

public double xOrigin

yOrigin

public double yOrigin

ncolumns

public int ncolumns

nrows

public int nrows

cellsize

public double cellsize
Constructor Detail

AscDataExplorer

public AscDataExplorer(String file)
                throws Exception
Throws:
Exception
Method Detail

longitude2Index

public int longitude2Index(double longitude)

latitude2Index

public int latitude2Index(double latitude)

retrieveDataFromAsc

public List<Double> retrieveDataFromAsc(List<org.gcube.dataanalysis.ecoengine.utils.Tuple<Double>> triplets)

testReaders

public static void testReaders()
                        throws Exception
Throws:
Exception

main

public static void main(String[] args)
                 throws Exception
Throws:
Exception


Copyright © 2013. All Rights Reserved.