public class WrfUtil extends GridUtil
GridUtil.Grid2DDEFAULT_ERROR_MODE, DEFAULT_SAMPLING_MODE, DEPENDENT_ERRORS, ENSEMBLE_TYPE, FUNC_AVERAGE, FUNC_DIFFERENCE, FUNC_MAX, FUNC_MIN, FUNC_SUM, INDEPENDENT_ERRORS, NEAREST_NEIGHBOR, NO_ERRORS, SMOOTH_5POINT, SMOOTH_9POINT, SMOOTH_CIRCULAR, SMOOTH_CRESSMAN, SMOOTH_GAUSSIAN, SMOOTH_RECTANGULAR, WEIGHTED_AVERAGE| Constructor and Description | 
|---|
WrfUtil()  | 
| Modifier and Type | Method and Description | 
|---|---|
double | 
distance(double lat1,
        double lon1,
        double lat2,
        double lon2)  | 
static Range[] | 
fieldMinMax(visad.FlatField field,
           java.lang.String function)
* Find min and max of range data in any VisAD FlatField
      *
      * @param field       a VisAD FlatField. 
 | 
static float[] | 
findPointDisFromMaxCenter(visad.FieldImpl timeStep,
                         float val,
                         float preVal,
                         float lat0,
                         float lon0,
                         float alt0,
                         float deltaAlt)  | 
static float[] | 
findPointDisFromMaxCenter(visad.FieldImpl timeStep,
                         float val,
                         float preVal,
                         float lat0,
                         float lon0,
                         float alt0,
                         float deltaLatLon,
                         float angle)  | 
static float[] | 
findPointDisFromSFC(visad.FieldImpl timeStep,
                   float val,
                   float preVal,
                   float lat0,
                   float lon0,
                   float deltaAlt)  | 
double | 
getArea(java.util.List points,
       int IDX_LAT,
       int IDX_LON)  | 
static visad.FieldImpl | 
getGridMinMaxAsPointObs(visad.FieldImpl grid,
                       double min,
                       double max)
Find min and max of range data in any VisAD FieldImpl 
 | 
static visad.FieldImpl | 
getIsoSurfaceTopBottomAsPointObs(visad.FieldImpl gridh,
                                visad.FieldImpl grid,
                                int level,
                                float value)  | 
static visad.FieldImpl | 
getIsoSurfaceTopBottomAsPointObs(visad.FieldImpl grid,
                                float value)  | 
protected float[][] | 
getLatLons(java.util.List points,
          int IDX_LAT,
          int IDX_LON)
Convert points list of array of xyz or lat/lon/alt 
 | 
static PointObTuple | 
getPointObValTuple(float[] lln,
                  float value,
                  float alt0,
                  visad.RealTupleType rtt,
                  visad.TupleType rangeType0,
                  visad.DateTime dt)  | 
static visad.FieldImpl | 
getSpeedAreaNRadiusAsPointObs(visad.FieldImpl grid1,
                             visad.FieldImpl grid0,
                             int level,
                             float value)  | 
static visad.FieldImpl | 
getSpeedAreaNRadiusAsPointObs(visad.FieldImpl grid0,
                             int level,
                             float value)
Find min and max of range data in any VisAD FieldImpl 
 | 
static PointOb[] | 
makePointObsForAreaRadius(visad.FlatField timeStep,
                         visad.DateTime dt,
                         float val,
                         java.lang.String function)
Make point obs from a single timestep of a grid 
 | 
static PointOb[] | 
makePointObsForAreaRadius(visad.FlatField timeSteph,
                         visad.FlatField timeStep,
                         visad.DateTime dt,
                         float val,
                         java.lang.String function)  | 
static PointOb[] | 
makePointObsForTopBottom(visad.FlatField timeStep,
                        visad.DateTime dt,
                        float val,
                        java.lang.String function)
Make point obs from a single timestep of a grid 
 | 
static PointOb[] | 
makePointObsForTopBottom(visad.FlatField timehStep,
                        visad.FlatField timeStep,
                        visad.DateTime dt,
                        float val,
                        java.lang.String function)  | 
addLevelToGrid, applyFunctionOverTime, averageOverTime, canSliceAtLevel, canSliceAtLevel, canSwapLatLon, differenceFromBaseTime, exportGridToNetcdf, exportGridToNetcdf, extractParam, extractParam, fieldMinMax, fillMissing, findContainedIndices, findContainedIndices, findContainedLatLons, findContainedLatLons, findIndicesInsideRange, findIndicesOutsideRange, findMinMaxAverage, findMinMaxAverageFromRange, findNotContainedIndices, findNotContainedIndices, getAltitude, getAltitude, getCenterLatLonPoint, getCenterLatLonPoint, getCenterPoint, getCenterPoint, getDateTimeList, getEarthLocationPoints, getEnsembleSet, getEnsembleType, getGridAsPointObs, getLatLon, getLatLonRect, getLatLons, getLatLons, getLevel, getMinMax, getNavigation, getNavigation, getParam, getParam, getParamType, getParamUnits, getProfileAtLatLonPoint, getProfileAtLatLonPoint, getProfileAtLatLonPoint, getSequenceType, getSpatialDomain, getSpatialDomain, getTimeSet, getVerticalType, getVerticalType, getVerticalUnit, getVerticalUnit, getWholeSpatialDomain, glyphsToMap, hasEnsemble, is2D, is2D, is3D, is3D, isAllMissing, isAllMissing, isAnyMissing, isConstantSpatialDomain, isGrid, isLatLonOrder, isLatLonOrder, isLonCyclic, isLonCyclic, isNavigated, isNavigated, isSequence, isSinglePointDomain, isSinglePointDomain, isTimeSequence, isVolume, lonFlip, main, make2DGridFromSlice, make2DGridFromSlice, makeDataRange, makeDataRanges, makeDomain2D, makeGrid, makeGrid, makeGrid2D, makeNewParamType, makeRadarMapProjection, makeRange, makeRanges, max, maxOverTime, min, minOverTime, normalizeLongitude, normalizeLongitude, normalizeLongitude, parseXml, printit, printModes, read, resampleGrid, resampleGrid, resampleGrid, sample, sample, sample, sample, sample, sample, sampleToReal, sampleToReal, sampleToReal, sampleToRealTuple, sampleToRealTuple, setAltitudeValues, setParamType, setParamType, setParamType, setParamType, setParamType, setParamType, setParamType, setPressureValues, setSpatialDomain, setSpatialDomain, setVerticalValues, slice, slice, slice, sliceAlongLatLonLine, sliceAlongLatLonLine, sliceAlongLatLonLine, sliceAlongLatLonLine, sliceAlongLatLonLine, sliceAtLevel, sliceAtLevel, sliceAtLevel, sliceAtLevel, smooth, smooth, subset, subset, subset, subsetDomain, sumFromBaseTime, sumOverTime, swapLatLon, testIt, timeStepDifference, timeStepFunc, timeStepSum, writeGridAtPolygonToXls, writeGridToXls, writeGridToXlspublic static visad.FieldImpl getGridMinMaxAsPointObs(visad.FieldImpl grid,
                                                      double min,
                                                      double max)
                                               throws visad.VisADException
grid - a VisAD FlatField.  Cannot be nulljava.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD Errorpublic static visad.FieldImpl getSpeedAreaNRadiusAsPointObs(visad.FieldImpl grid0,
                                                            int level,
                                                            float value)
                                                     throws visad.VisADException
grid0 - a VisAD FlatField.  Cannot be nulljava.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD Errorpublic static visad.FieldImpl getSpeedAreaNRadiusAsPointObs(visad.FieldImpl grid1,
                                                            visad.FieldImpl grid0,
                                                            int level,
                                                            float value)
                                                     throws visad.VisADException
visad.VisADExceptionpublic static PointOb[] makePointObsForAreaRadius(visad.FlatField timeSteph, visad.FlatField timeStep, visad.DateTime dt, float val, java.lang.String function) throws visad.VisADException, java.rmi.RemoteException
visad.VisADExceptionjava.rmi.RemoteExceptionpublic static PointOb[] makePointObsForAreaRadius(visad.FlatField timeStep, visad.DateTime dt, float val, java.lang.String function) throws visad.VisADException, java.rmi.RemoteException
timeStep - the griddt - the timestep for the gridjava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic static PointObTuple getPointObValTuple(float[] lln, float value, float alt0, visad.RealTupleType rtt, visad.TupleType rangeType0, visad.DateTime dt) throws visad.VisADException, java.rmi.RemoteException
visad.VisADExceptionjava.rmi.RemoteExceptionpublic static float[] findPointDisFromMaxCenter(visad.FieldImpl timeStep,
                                                float val,
                                                float preVal,
                                                float lat0,
                                                float lon0,
                                                float alt0,
                                                float deltaLatLon,
                                                float angle)
                                         throws visad.VisADException,
                                                java.rmi.RemoteException
visad.VisADExceptionjava.rmi.RemoteExceptionpublic static Range[] fieldMinMax(visad.FlatField field, java.lang.String function) throws visad.VisADException, java.rmi.RemoteException
java.rmi.RemoteException - Java RMI errorvisad.VisADException - VisAD Errorpublic static visad.FieldImpl getIsoSurfaceTopBottomAsPointObs(visad.FieldImpl grid,
                                                               float value)
                                                        throws visad.VisADException
visad.VisADExceptionpublic static PointOb[] makePointObsForTopBottom(visad.FlatField timeStep, visad.DateTime dt, float val, java.lang.String function) throws visad.VisADException, java.rmi.RemoteException
timeStep - the griddt - the timestep for the gridjava.rmi.RemoteException - Java RMI problemvisad.VisADException - VisAD problempublic static float[] findPointDisFromMaxCenter(visad.FieldImpl timeStep,
                                                float val,
                                                float preVal,
                                                float lat0,
                                                float lon0,
                                                float alt0,
                                                float deltaAlt)
                                         throws visad.VisADException,
                                                java.rmi.RemoteException
visad.VisADExceptionjava.rmi.RemoteExceptionpublic double getArea(java.util.List points,
                      int IDX_LAT,
                      int IDX_LON)
               throws java.lang.Exception
java.lang.Exceptionpublic double distance(double lat1,
                       double lon1,
                       double lat2,
                       double lon2)
                throws java.lang.Exception
java.lang.Exceptionprotected float[][] getLatLons(java.util.List points,
                               int IDX_LAT,
                               int IDX_LON)
                        throws visad.VisADException,
                               java.rmi.RemoteException
points - List of points. Either double array or EarthLocationjava.rmi.RemoteException - On badnessvisad.VisADException - On badnesspublic static visad.FieldImpl getIsoSurfaceTopBottomAsPointObs(visad.FieldImpl gridh,
                                                               visad.FieldImpl grid,
                                                               int level,
                                                               float value)
                                                        throws visad.VisADException
visad.VisADExceptionpublic static PointOb[] makePointObsForTopBottom(visad.FlatField timehStep, visad.FlatField timeStep, visad.DateTime dt, float val, java.lang.String function) throws visad.VisADException, java.rmi.RemoteException
visad.VisADExceptionjava.rmi.RemoteExceptionpublic static float[] findPointDisFromSFC(visad.FieldImpl timeStep,
                                          float val,
                                          float preVal,
                                          float lat0,
                                          float lon0,
                                          float deltaAlt)
                                   throws visad.VisADException,
                                          java.rmi.RemoteException
visad.VisADExceptionjava.rmi.RemoteException