org.wdssii.dualpol
Class IDLNetcdfGridReader
java.lang.Object
org.wdssii.dualpol.IDLNetcdfGridReader
public class IDLNetcdfGridReader
- extends Object
Reads IDL-generated 3D grids
- Author:
- lakshman
Field Summary |
private static org.apache.commons.logging.Log |
log
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
private static org.apache.commons.logging.Log log
IDLNetcdfGridReader
public IDLNetcdfGridReader()
fromNetcdfFile
public LatLonGrid[][] fromNetcdfFile(File path)
threshold
private void threshold(LatLonGrid grid,
LatLonGrid rhohv,
float thresh)
getVariable
private ucar.nc2.Variable getVariable(ucar.nc2.NetcdfFile ncfile,
String name)
throws IDLNetcdfGridReader.FormatException
- Throws:
IDLNetcdfGridReader.FormatException
isValid
private boolean isValid(float value)
readData3D
private float[][][] readData3D(ucar.nc2.NetcdfFile ncfile,
String typeName)
throws IOException
- Throws:
IOException
getTimeFromFileName
public static Date getTimeFromFileName(String path)
main
public static void main(String[] args)
- Simple program that reads IDL-generated files and writes out WDSS-II
netcdf files