hydroScalingAPI.io
Class EsriASCIIToCRas

java.lang.Object
  extended by hydroScalingAPI.io.EsriASCIIToCRas

public class EsriASCIIToCRas
extends java.lang.Object

This class takes ESRI GRID raster file and creates a CUENCAS raster, which can be DEM or hydrometeorological fields. IMPORTANT: The Class assumes the original GRID file is in the LAT-LONG projection.

Author:
Ricardo Mantilla, Matt Luck

Constructor Summary
EsriASCIIToCRas(java.io.File inputFile, java.io.File outputDir, int type)
          Creates an instance of the EsriASCIIToCRas
 
Method Summary
static void main(java.lang.String[] args)
          Test the class features.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EsriASCIIToCRas

public EsriASCIIToCRas(java.io.File inputFile,
                       java.io.File outputDir,
                       int type)
                throws java.io.IOException
Creates an instance of the EsriASCIIToCRas

Parameters:
inputFile - The GRID file to be imported
outputDir - The directory where the CUENCAS Raster will be placed
type - 0: Import a DEM (creates a *.metaDEM and a *.dem file) 1: Import any other kind of field (creates a *.metaVHC and a *.vhc file)
Throws:
java.io.IOException - Captures errors during the reading and/or wrtining process
Method Detail

main

public static void main(java.lang.String[] args)
Test the class features.

Parameters:
args - The arguments are not used.


CUENCAS was initially developed by Ricardo Mantilla at the University of Colorado under the supervision of Dr. Vijay K. Gupta. We wish to recognize the support from the National Science Fundation.