public class AscRasterWriter extends Object
| Constructor and Description |
|---|
AscRasterWriter() |
| Modifier and Type | Method and Description |
|---|---|
void |
setCellFormat(NumberFormat format)
Can be used to set a number format for the cells.
|
void |
writeRaster(String filename,
AscRaster r)
Writes out the given Raster object to the given filename.
|
void |
writeRaster(String filename,
double[][] data,
double xll,
double yll,
double size,
String ndata)
Shortcut method, if you just have some data and want to write it out as a Raster.
|
void |
writeRasterInvertYAxis(String filename,
AscRaster r) |
void |
writeRasterInvertYAxis(String filename,
double[][] data,
double xll,
double yll,
double size,
String ndata) |
public void writeRaster(String filename, AscRaster r) throws IOException
filename - r - IOExceptionpublic void writeRasterInvertYAxis(String filename, AscRaster r) throws IOException
IOExceptionpublic void writeRaster(String filename, double[][] data, double xll, double yll, double size, String ndata) throws IOException
filename - data - xll - yll - size - ndata - IOExceptionpublic void writeRasterInvertYAxis(String filename, double[][] data, double xll, double yll, double size, String ndata) throws IOException
IOExceptionpublic void setCellFormat(NumberFormat format)
format - Copyright © 2021. All Rights Reserved.