org.wdssii.nse
Class NseAlgorithm
java.lang.Object
org.wdssii.core.WDSSIIProgram
org.wdssii.core.Algorithm
org.wdssii.nse.NseAlgorithm
- All Implemented Interfaces:
- IndexRecordListener
public class NseAlgorithm
- extends Algorithm
Near-storm environment algorithm.
- Author:
- lakshman
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
heightProductName
private String heightProductName
temperatureProductName
private String temperatureProductName
relativeHumidityProductName
private String relativeHumidityProductName
gridRelativeUWindProductName
private String gridRelativeUWindProductName
gridRelativeVWindProductName
private String gridRelativeVWindProductName
verticalVelocityProductName
private String verticalVelocityProductName
terrainElevationProductName
private String terrainElevationProductName
mslPressureProductName
private String mslPressureProductName
sfcGridRelativeUWindProductName
private String sfcGridRelativeUWindProductName
sfcGridRelativeVWindProductName
private String sfcGridRelativeVWindProductName
sfcPressureProductName
private String sfcPressureProductName
sfcTemperatureProductName
private String sfcTemperatureProductName
sfcDewPointDepression
private String sfcDewPointDepression
subTypeSuffix
private String subTypeSuffix
numPressureLevels
private int numPressureLevels
in3DProducts
private NseAlgorithm.InProduct[] in3DProducts
inSfcProducts
private NseAlgorithm.InProduct[] inSfcProducts
NseAlgorithm
public NseAlgorithm()
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
init
private void init()
runNSE
private void runNSE()
writeOutputGrid
private void writeOutputGrid(LatLonGrid output,
float[][] values,
String typeName,
String subType,
String unit)
updateProduct
private boolean updateProduct(IndexRecord rec)
suffixMatches
private boolean suffixMatches(IndexRecord rec)
haveAllProducts
private boolean haveAllProducts()
clearAllProducts
private void clearAllProducts()
prepareWindProducts
private void prepareWindProducts(List<LatLonGrid> ugrid,
List<LatLonGrid> vgrid)
calcDewpointFromRH
public static float calcDewpointFromRH(float temp,
float rh)
prepareRelativeHumidity
private void prepareRelativeHumidity(List<LatLonGrid> tempGrids,
List<LatLonGrid> rhGrids)
prepareDewPointDepression
private void prepareDewPointDepression(List<LatLonGrid> tempGrids,
List<LatLonGrid> ddGrids)
handleRecord
public void handleRecord(IndexRecord rec)