org.wdssii.dualpol
Class IDLGridProperties

java.lang.Object
  extended by org.wdssii.dualpol.IDLGridProperties

public class IDLGridProperties
extends Object

Deals with properties that may be missing in the IDL files themselves These are obtained from the environment, so set a Java property of the form org.wdssii.dualpol.deltaLat=0.005 to change the value

Author:
lakshman

Field Summary
private  float deltaHeightKms
           
private  float deltaLat
           
private  float deltaLon
           
private static org.apache.commons.logging.Log log
           
private  float radarHtKms
           
private  float radarLat
           
private  float radarLon
           
 
Constructor Summary
IDLGridProperties(ucar.nc2.Attribute radarlat, ucar.nc2.Attribute radarlon, ucar.nc2.Attribute ident, ucar.nc2.Attribute xdelta, ucar.nc2.Attribute ydelta, ucar.nc2.Attribute zdelta)
           
 
Method Summary
 float getDeltaHeightKms()
           
 float getDeltaLat()
           
 float getDeltaLon()
           
static String getFileNameDateFormat()
           
private static float getProperty(String name, float defaultValue)
           
private static String getProperty(String name, String defaultValue)
           
 float getRadarHtKms()
           
 float getRadarLat()
           
 float getRadarLon()
           
 String getTypeName(String variableName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

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

deltaLat

private float deltaLat

deltaLon

private float deltaLon

deltaHeightKms

private float deltaHeightKms

radarLat

private float radarLat

radarLon

private float radarLon

radarHtKms

private float radarHtKms
Constructor Detail

IDLGridProperties

public IDLGridProperties(ucar.nc2.Attribute radarlat,
                         ucar.nc2.Attribute radarlon,
                         ucar.nc2.Attribute ident,
                         ucar.nc2.Attribute xdelta,
                         ucar.nc2.Attribute ydelta,
                         ucar.nc2.Attribute zdelta)
Method Detail

getProperty

private static String getProperty(String name,
                                  String defaultValue)

getProperty

private static float getProperty(String name,
                                 float defaultValue)

getDeltaLat

public float getDeltaLat()

getDeltaLon

public float getDeltaLon()

getDeltaHeightKms

public float getDeltaHeightKms()

getRadarLat

public float getRadarLat()

getRadarLon

public float getRadarLon()

getRadarHtKms

public float getRadarHtKms()

getTypeName

public String getTypeName(String variableName)

getFileNameDateFormat

public static String getFileNameDateFormat()