public class DerivedGridFactory
extends java.lang.Object
(x,y) -> (parm) (x,y) -> (parm1, ..., parmN) (x,y,z) -> (parm) (x,y,z) -> (parm1, ..., parmN) (t -> (x,y) -> (parm)) (t -> (x,y) -> (parm1, ..., parmN)) (t -> (x,y,z) -> (parm)) (t -> (x,y,z) -> (parm1, ..., parmN)) (t -> (index -> (x,y) -> (parm))) (t -> (index -> (x,y) -> (parm1, ..., parmN))) (t -> (index -> (x,y,z) -> (parm))) (t -> (index -> (x,y,z) -> (parm1, ..., parmN)))In general, t is a time variable, but it might also be just an index.
Modifier and Type | Field and Description |
---|---|
static visad.Unit |
CLIMATE_UNITS
climatology units
|
static visad.Real |
EARTH_RADIUS
EARTH RADIUS (6371 km)
|
static visad.Real |
EARTH_TWO_OMEGA
EARTH 2 omega
|
static visad.Real |
GRAVITY
gravity
|
static visad.Real |
NEGATIVE_ONE
negative one
|
Constructor and Description |
---|
DerivedGridFactory()
Default ctor; does nothing
|
Modifier and Type | Method and Description |
---|---|
static int |
binaryIndexDec(float[] a,
float theta0)
_more_
|
static int |
binaryIndexInc(float[] a,
float theta0)
_more_
|
static visad.FieldImpl |
calculateDailyAnomaly(visad.FieldImpl dailyData,
visad.FieldImpl dailyClim)
Calculate the daily anomaly
|
static visad.FieldImpl |
calculateDailyAnomaly(visad.FieldImpl dailyData,
visad.FieldImpl dailyClim,
boolean asPercent)
Calculate the daily anomaly
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl[] grids)
Combine an array of grids into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl[] grids,
boolean flatten)
Combine an array of grids into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl[] grids,
int samplingMode,
int errorMode,
boolean flatten)
Combine an array of grids into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl grid1,
visad.FieldImpl grid2)
Combine two Fields into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl grid1,
visad.FieldImpl grid2,
boolean flatten)
Combine two Fields into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl grid1,
visad.FieldImpl grid2,
visad.FieldImpl grid3)
Combine three Fields into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl grid1,
visad.FieldImpl grid2,
int samplingMode,
int errorMode,
boolean flatten)
Combine two Fields into one.
|
static visad.FieldImpl |
combineGrids(visad.FieldImpl grid1,
visad.FieldImpl grid2,
int samplingMode,
int errorMode,
boolean flatten,
boolean copy)
Combine two Fields into one.
|
static visad.FieldImpl |
combineGrids1(visad.FieldImpl grid1,
visad.FieldImpl grid2)
This is not working, hope to do colored by and over topo at the same time
|
static visad.FieldImpl |
combineGridsN(visad.FieldImpl grid1,
visad.FieldImpl grid2)
Combine two Fields into one.
|
static visad.FieldImpl |
combineGridsR(visad.FieldImpl[] grids,
int samplingMode,
int errorMode,
boolean flatten)
Combine an array of grids into one.
|
static visad.FieldImpl |
ComputePrecipRatesDbz(visad.FieldImpl field)
Calculate the radar precip rate based on Marshall-Palmer drop size distribution
|
static visad.FlatField |
ComputePrecipRatesDbzFF(visad.FlatField[] grids) |
static visad.FieldImpl |
ComputePrecipRatesZZDR(visad.FieldImpl gridz,
visad.FieldImpl gridzdr)
Calculate the radar precip rate based on
www.chill.colostate.edu/w/Differential_Reflectivity_from_Raindrops_and_WSR-88D_Rainfall_Estimation
|
static visad.FlatField |
ComputePrecipRatesZZDRFF(visad.FlatField[] gridz,
visad.FlatField[] gridzdr) |
static float[][] |
convert2Darray(visad.FlatField grid,
int ii)
_more_
|
static float[][][] |
convert3Darray(visad.FlatField grid,
int ii)
_more_
|
static visad.FieldImpl |
convertPressureToHeight(visad.FieldImpl pressureField)
Convert a pressure field to height values using the supplied coordinate system
|
static visad.FieldImpl |
convertPressureToHeight(visad.FieldImpl pressureField,
visad.CoordinateSystem pressToHeightCS)
Convert a pressure field to height values using the supplied coordinate system
|
static visad.FieldImpl |
convertPressureVelocityToHeightVelocity(visad.FieldImpl wGrid)
calculate the vertical velocity based on pressure velocity
dz/dt= dp/dt * dz/dp
|
static visad.FieldImpl |
convertPressureVelocityToHeightVelocity(visad.FieldImpl pressureVelField,
visad.FieldImpl hField,
visad.CoordinateSystem pressToHeightCS)
Convert pressure velocity to height velocity
|
static visad.FieldImpl |
convertPressureVelocityToHeightVelocity2(visad.FieldImpl wGrid,
visad.FieldImpl tGrid)
calculate the vertical velocity based on hydrostatic
and ideal gas law equation
(w, m/s) = -(R*T/gP)*(w, Pa/s)
|
static visad.FieldImpl |
convertToAirPressure(visad.FieldImpl press)
Convert the pressure field to use AirPressure.getRealType as the
parameter type, converting to hPa.
|
static visad.FieldImpl |
create2DTopography(visad.FieldImpl paramGrid,
visad.FieldImpl topoGrid)
Make a FieldImpl of some parameter and topography.
|
static visad.FieldImpl |
create2DTopography(visad.FieldImpl paramGrid,
visad.FieldImpl topoGrid,
boolean resampleToTopography)
Make a FieldImpl of some parameter and topography.
|
static visad.FieldImpl |
createAbsoluteVorticity(visad.FieldImpl uFI,
visad.FieldImpl vFI)
Computes absolute vorticity from grid-relative wind components.
|
static visad.FieldImpl |
createAirDensity(visad.FieldImpl pressFI,
visad.FieldImpl temperFI)
Calculate the AirDensity
|
static visad.FieldImpl |
createColumnBuoyancyIndex(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Calculate the Column Buoyancy Index
|
static visad.FieldImpl |
createConservedSounding(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Make the FieldImpl of dewpoint temperature scalar values;
possibly for sequence of times
|
static visad.FieldImpl |
createCoriolisGrid(visad.FieldImpl input)
Every geo-located data grid can be used
to make a grid with the coriolis parameter for the grid values as well
|
static visad.FieldImpl |
createDailyClimatology(visad.FieldImpl dailyData,
boolean use366)
Calculate a daily climatology from a grid of daily values for a period of time
|
static visad.FieldImpl |
createDewpoint(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Make the FieldImpl of dewpoint temperature scalar values;
possibly for sequence of times
|
static visad.FieldImpl |
createEPTFromSpecificHumidity(visad.FieldImpl temperFI,
visad.FieldImpl specificFI)
Make a FieldImpl of Equivalent Potential Temperature; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createEPTFromSpecificHumidity(visad.FieldImpl temperFI,
visad.FieldImpl pressFI,
visad.FieldImpl specificFI)
Make a FieldImpl of Equivalent Potential Temperature; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createEquivalentPotentialTemperature(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Make a FieldImpl of Equivalent Potential Temperature; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createEquivalentPotentialTemperature(visad.FieldImpl temperFI,
visad.FieldImpl pressFI,
visad.FieldImpl rhFI)
Make a FieldImpl of Equivalent Potential Temperature; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createFlowVectors(visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Make a FieldImpl of wind vectors from u and v components.
|
static visad.FieldImpl |
createFlowVectors(visad.FieldImpl uGrid,
visad.FieldImpl vGrid,
visad.FieldImpl wGrid)
Make a FieldImpl of flow vectors from u, v and w components.
|
static visad.FieldImpl |
createFlowVectorsN(visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
_more_
|
static visad.FieldImpl |
createFlowVectorsN(visad.FieldImpl uGrid,
visad.FieldImpl vGrid,
visad.FieldImpl wGrid)
_more_
|
static visad.FieldImpl |
createFlowVectorsN1(visad.FieldImpl wGrid)
_more_
|
static java.util.List<visad.FieldImpl> |
createFlowVectorsNA(visad.FieldImpl uGrid,
visad.FieldImpl vGrid,
visad.FieldImpl wGrid,
visad.FieldImpl topo)
_more_
|
static visad.FieldImpl |
createGalvezDavisonIndex(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Calculate the Galvez-Davison Index
|
static visad.FieldImpl |
createGeostrophicWindVector(visad.FieldImpl paramFI)
Make a FieldImpl of geostrophic wind.
|
static visad.FieldImpl |
createHeatIndex(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Make the FieldImpl of heatindex scalar values;
possibly for sequence of times
|
static visad.FieldImpl |
createHorizontalAdvection(visad.FieldImpl paramGrid,
visad.FieldImpl flowVector)
Make a FieldImpl of horizontal scalar advection from flow vector,
defined as u*(dp/dx) + v*(dp/dy)
|
static visad.FieldImpl |
createHorizontalAdvection(visad.FieldImpl paramGrid,
visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Make a FieldImpl of horizontal scalar advection from u and v components,
defined as u*(dp/dx) + v*(dp/dy)
|
static visad.FieldImpl |
createHorizontalDivergence(visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Make a FieldImpl of horizontal wind divergence from u and v components.
|
static visad.FieldImpl |
createHorizontalFluxDivergence(visad.FieldImpl paramGrid,
visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Make a FieldImpl of horizontal scalar flux divergence
defined as u*(dp/dx) + v*(dp/dy) + p*(du/dx + dv/dy)
[because the Advection() routine, returns negative
the formulation is (div - adv)]
|
static visad.FieldImpl |
createIPV(visad.FieldImpl temperFI,
visad.FieldImpl absvor)
Make a FieldImpl of isentropic potential vorticity
|
static visad.FieldImpl |
createIPV(visad.FieldImpl temperFI,
visad.FieldImpl pressFI,
visad.FieldImpl absvor)
Make a grid of isentropic potential vorticity
|
static visad.FieldImpl |
createLatitudeGrid(visad.FieldImpl fi)
Every geo-located data grid can be used
to make a grid with latitude with the grid values as well
|
static visad.FieldImpl |
createLayerAverage(visad.FieldImpl grid,
double value1,
double value2)
Make the average of 2 levels of a grid
|
static visad.FieldImpl |
createLayerAverage(visad.FieldImpl grid,
double value1,
double value2,
visad.Unit levelUnit)
Make the average of 2 levels of a grid
|
static visad.FieldImpl |
createLayerAverage(visad.FieldImpl grid,
java.lang.String value1,
java.lang.String value2)
Make the average of 2 levels of a grid
|
static visad.FieldImpl |
createLayerAverage(visad.FieldImpl grid,
java.lang.String value1,
java.lang.String value2,
java.lang.String levelUnit)
Make the average of 2 levels of a grid
|
static visad.FieldImpl |
createLayerDifference(visad.FieldImpl grid,
double value1,
double value2)
Make the difference of one grid's values at the given levels;
first level subtract second level values.
|
static visad.FieldImpl |
createLayerDifference(visad.FieldImpl grid,
double value1,
double value2,
visad.Unit levelUnit)
Make the difference of one grid's values at the given levels;
first level subtract second level values.
|
static visad.FieldImpl |
createLayerDifference(visad.FieldImpl grid,
java.lang.String value1,
java.lang.String value2)
Make the difference of one grid's values at the given levels;
first level subtract second level values.
|
static visad.FieldImpl |
createLayerDifference(visad.FieldImpl grid,
java.lang.String value1,
java.lang.String value2,
java.lang.String levelUnit)
Make the difference of one grid's values at the given levels;
first level subtract second level values.
|
static visad.FieldImpl |
createLongitudeGrid(visad.FieldImpl fi)
Every geo-located data grid can be used
to make a grid with longitude with the grid values as well
|
static visad.FieldImpl |
createMixingRatio(visad.FieldImpl temperFI,
visad.FieldImpl rhFI)
Make a FieldImpl of mixing ratio values for series of times
in general mr = (saturation mixing ratio) * (RH/100%);
|
static visad.FieldImpl |
createMixingRatio(visad.FieldImpl temperFI,
visad.FieldImpl pressFI,
visad.FieldImpl rhFI)
Make a FieldImpl of mixing ratio values for series of times
in general mr = (saturation mixing ratio) * (RH/100%);
|
static visad.FieldImpl |
createPotentialTemperature(visad.FieldImpl temperFI)
Make a FieldImpl of potential temperature values for series of times
of temperature grids.
|
static visad.FieldImpl |
createPotentialTemperature(visad.FieldImpl temperFI,
visad.FieldImpl pressFI)
Make a FieldImpl of potential temperature values for series of times
in general theta = t * (1000/p)** .286
|
static visad.FieldImpl |
createPotentialVorticity(visad.FieldImpl thetaFI,
visad.FieldImpl vectorFI)
Make a grid of isentropic potential vorticity
|
static visad.FieldImpl |
createPressureField(visad.FieldImpl geoPH) |
static visad.FieldImpl |
createPressureGrid(visad.FieldImpl ff)
Every data grid with pressure as the z coord can be used
to make a grid with pressure with the grid values as well
|
static visad.FlatField |
createPressureGridFromDomain(visad.FlatField ff)
Every data grid with pressure as the z coord can be used
to make a grid with pressure with the grid values as well
|
static visad.FieldImpl |
createRelativeHumidity(visad.FieldImpl temperFI,
visad.FieldImpl mixingRatioFI)
Make a FieldImpl of Relative Humidity; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createRelativeHumidity(visad.FieldImpl temperFI,
visad.FieldImpl mixingRatioFI,
boolean isSpecificHumidity)
Make a FieldImpl of Relative Humidity; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createRelativeHumidity(visad.FieldImpl temperFI,
visad.FieldImpl pressFI,
visad.FieldImpl mixingRatioFI,
boolean isSpecificHumidity)
Make a FieldImpl of Relative Humidity; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createRelativeHumidityFromSpecificHumidity(visad.FieldImpl temperFI,
visad.FieldImpl specificFI)
Make a FieldImpl of Relative Humidity; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createRelativeHumidityFromSpecificHumidity(visad.FieldImpl temperFI,
visad.FieldImpl pressFI,
visad.FieldImpl specificFI)
Make a FieldImpl of Relative Humidity; usually in 3d grids
in a time series (at one or more times).
|
static visad.FieldImpl |
createRelativeVorticity(visad.FieldImpl uFI,
visad.FieldImpl vFI)
Computes relative vorticity from grid-relative wind components.
|
static visad.FieldImpl |
createSatEquivalentPotentialTemperature(visad.FieldImpl temperFI) |
static visad.FieldImpl |
createSatEquivalentPotentialTemperature(visad.FieldImpl temperFI,
visad.FieldImpl pressFI)
Make a FieldImpl of Saturation equivalent potential temperature values for series of times
|
static visad.FieldImpl |
createSurfaceWindAngle(visad.FieldImpl gridu,
visad.FieldImpl gridv,
visad.FieldImpl gridw,
double value1,
java.lang.String lUnit)
Calculate the surface wind angle at certain level
|
static visad.FieldImpl |
createThickness(visad.FieldImpl grid)
Create a 1000-500 mb thickness grid
|
static visad.FieldImpl |
createTrueFlowVector(visad.FieldImpl uvGrid)
Create true flow vectors from a uv grid.
|
static visad.FieldImpl |
createTrueFlowVector0(visad.FieldImpl uvGrid)
Make a grid of true flow vectors from grid relative u and v
components.
|
static visad.FieldImpl |
createTrueFlowVectors(visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Make a grid of true flow vectors from grid relative u and v
components.
|
static visad.FieldImpl |
createTrueFlowVectors(visad.FieldImpl uGrid,
visad.FieldImpl vGrid,
visad.FieldImpl wGrid)
_more_
|
static visad.FieldImpl |
createTrueWindVectors(visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Make a grid of true wind vectors from grid relative u and v
components.
|
static visad.FieldImpl |
createVectorDirection(visad.FieldImpl vector)
Make a FieldImpl the magnitude of the vector components
|
static visad.FieldImpl |
createVectorDirection(visad.FieldImpl uFI,
visad.FieldImpl vFI)
Make a FieldImpl the direction of the vector components
|
static visad.FieldImpl |
createVectorMagnitude(visad.FieldImpl vector)
Make a FieldImpl the magnitude of the vector components
|
static visad.FieldImpl |
createVectorMagnitude(visad.FieldImpl uFI,
visad.FieldImpl vFI)
Make a FieldImpl the magnitude of the vector components
|
static visad.FieldImpl |
createVectorMagnitude(visad.FieldImpl uFI,
visad.FieldImpl vFI,
java.lang.String name)
Make a FieldImpl the magnitude of the vector components
|
static visad.FieldImpl |
createVirtualPotentialTemperature(visad.FieldImpl pressFI,
visad.FieldImpl temperFI,
visad.FieldImpl dewPtFI)
Calculate the VirtualPotentialTemperature
|
static visad.FieldImpl |
createVirtualTemperature(visad.FieldImpl pressFI,
visad.FieldImpl temperFI,
visad.FieldImpl dewPtFI)
Calculate the VirtualTemperature
|
static visad.FieldImpl |
createWindSpeed(visad.FieldImpl uFI,
visad.FieldImpl vFI)
Make a FieldImpl of wind speed scalar values from u and v components.
|
static visad.FieldImpl |
createWindVectors(visad.FieldImpl uGrid,
visad.FieldImpl vGrid)
Deprecated.
use #createFlowVectors(uGrid, vGrid)
|
static visad.FieldImpl |
createWRFMixingRatio(visad.FieldImpl pFI,
visad.FieldImpl pbFI,
visad.FieldImpl temperFI,
visad.FieldImpl rhFI) |
static visad.FieldImpl |
ddx(visad.FieldImpl grid)
Deprecated.
use GridMath.ddx(FieldImpl)
|
static visad.FieldImpl |
ddy(visad.FieldImpl grid)
Deprecated.
use GridMath.ddy(FieldImpl)
|
static visad.FieldImpl |
ensembleAverage(visad.FieldImpl grid)
Create an ensemble average
|
static visad.FieldImpl |
extractGridADVOverThetaTopoSurface(visad.FieldImpl theta,
visad.FieldImpl vector,
visad.FieldImpl other,
float theta0)
We interpolate gridded data to the theta surface and then calc the advection
and create 2d topo of the advection result
|
static visad.FieldImpl |
extractGridOverThetaTopoSurface(visad.FieldImpl theta,
visad.FieldImpl other,
float theta0)
Every data grid with pressure as the z coord can be used
to make a grid with altitude with the constant grid value
|
static visad.FieldImpl |
extractGridOverThetaTopoSurface(visad.FieldImpl theta,
float theta0)
Every data grid with pressure as the z coord can be used
to make a grid with altitude with the constant grid value
|
static visad.FieldImpl |
extractMaxGridSurface(visad.FieldImpl theta,
float theta0) |
static visad.FieldImpl |
extractUVGridOverThetaTopoSurface(visad.FieldImpl theta,
visad.FieldImpl other1,
visad.FieldImpl other2,
float theta0)
Every data grid with pressure as the z coord can be used
to make a grid with altitude with the constant grid value
|
static visad.FieldImpl |
extractVectorGridOverThetaTopoSurface(visad.FieldImpl theta,
visad.FieldImpl vector,
float theta0)
Every data grid with pressure as the z coord can be used
to make a grid with altitude with the constant grid value
|
static visad.FieldImpl |
getComponent(visad.FieldImpl vector,
int index,
boolean copy)
Get nth component of a vector
|
static int |
getIndexOfLargest(float[] a) |
static visad.FieldImpl |
getLatitudeGrid(visad.FieldImpl fi)
Deprecated.
use createLatitudeGrid(FieldImpl)
|
static visad.FieldImpl |
getUComponent(visad.FieldImpl vector)
Get U component of a vector
|
static visad.FieldImpl |
getUComponent(visad.FieldImpl vector,
boolean copy)
Get U component of a vector
|
static visad.FieldImpl |
getVComponent(visad.FieldImpl vector)
Get V component of a vector
|
static visad.FieldImpl |
getVComponent(visad.FieldImpl vector,
boolean copy)
Get V component of a vector
|
static float |
interpolateMaxHeight(visad.FieldImpl grid,
float lat0,
float lon0,
float alt0) |
static boolean |
isScalar(visad.FieldImpl grid)
Is this a vector?
|
static boolean |
isVector(visad.FieldImpl grid)
Is this a vector?
|
static float |
linearInterpolateHeight(float[] theta,
float[] other,
float[] z,
float theta0,
boolean isDec)
_more_
|
static float |
linearInterpolateHeight(float[] theta,
float[] z,
float theta0,
boolean isDec)
_more_
|
static visad.FieldImpl |
mask(visad.FieldImpl gridToMask,
visad.FieldImpl mask,
float maskValue)
Mask the values in a grid with the mask
|
static visad.FieldImpl |
mask(visad.FieldImpl gridToMask,
visad.FieldImpl mask,
float maskValue,
boolean resampleToMask)
Mask the values in a grid with the mask
|
static visad.FlatField |
mergeTracks(java.util.List datas)
This is a duplication and should be removed later
|
static visad.FieldImpl |
partial(visad.FieldImpl grid,
int domainIndex)
Deprecated.
use GridMath.partial(FieldImpl, int)
|
static visad.FieldImpl |
relativeVorticityFromTrueWind(visad.FieldImpl uFI,
visad.FieldImpl vFI)
Computes relative vorticity from U and V.
|
static visad.FieldImpl |
removeUnit(visad.FieldImpl field)
remove unit
|
static visad.FieldImpl |
removeUnit(java.lang.String varname,
visad.FieldImpl field) |
static double[] |
subArray(double[] a,
int start,
int count,
int strike)
_more_
|
static float[] |
subArray(float[] a,
int start,
int count,
int strike)
_more_
|
static visad.FieldImpl |
timeStepAccumulatedPrecip(visad.FieldImpl grid)
Make the fix interval of one grid's values ;
|
public static final visad.Real NEGATIVE_ONE
public static final visad.Real EARTH_RADIUS
public static final visad.Real EARTH_TWO_OMEGA
public static final visad.Real GRAVITY
public static final visad.Unit CLIMATE_UNITS
public static visad.FieldImpl ensembleAverage(visad.FieldImpl grid) throws visad.VisADException, java.rmi.RemoteException
grid
- the grid of ensemblesjava.rmi.RemoteException
- java RMI problemvisad.VisADException
- VisAD errorpublic static visad.FieldImpl createThickness(visad.FieldImpl grid) throws visad.VisADException, java.rmi.RemoteException
grid
- grid (hopefully a height grid)java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD ErrorcreateLayerDifference(FieldImpl, String, String)
public static visad.FieldImpl createLayerDifference(visad.FieldImpl grid, java.lang.String value1, java.lang.String value2) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level the first as a Stringvalue2
- level the second as a Stringjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerDifference(visad.FieldImpl grid, java.lang.String value1, java.lang.String value2, java.lang.String levelUnit) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level the first as a Stringvalue2
- level the second as a StringlevelUnit
- unit spec for leveljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerDifference(visad.FieldImpl grid, double value1, double value2) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level of firstvalue2
- level of secondjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerDifference(visad.FieldImpl grid, double value1, double value2, visad.Unit levelUnit) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level of firstvalue2
- level of secondlevelUnit
- unit for leveljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerAverage(visad.FieldImpl grid, java.lang.String value1, java.lang.String value2) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level the first as a Stringvalue2
- level the second as a Stringjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerAverage(visad.FieldImpl grid, java.lang.String value1, java.lang.String value2, java.lang.String levelUnit) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level the first as a Stringvalue2
- level the second as a StringlevelUnit
- unit for leveljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerAverage(visad.FieldImpl grid, double value1, double value2) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level of firstvalue2
- level of secondjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createLayerAverage(visad.FieldImpl grid, double value1, double value2, visad.Unit levelUnit) throws visad.VisADException, java.rmi.RemoteException
grid
- grid of datavalue1
- level of firstvalue2
- level of secondlevelUnit
- unit for leveljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createRelativeVorticity(visad.FieldImpl uFI, visad.FieldImpl vFI) throws visad.VisADException, java.rmi.RemoteException
FieldImpl
are assumed to be the velocity of the wind
in the direction of increasing first and second dimension of the
domain, respectively.uFI
- grid or time sequence of grids of positive-X wind comp.vFI
- grid or time sequence of grids of positive-Y wind comp.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl relativeVorticityFromTrueWind(visad.FieldImpl uFI, visad.FieldImpl vFI) throws visad.VisADException, java.rmi.RemoteException
CoordinateSystem
of the input spatial
domains.uFI
- grid or time sequence of grids of the eastward wind comp.vFI
- grid or time sequence of grids of the northward wind comp.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createAbsoluteVorticity(visad.FieldImpl uFI, visad.FieldImpl vFI) throws visad.VisADException, java.rmi.RemoteException
FieldImpl
are assumed to be the velocity of the wind
in the direction of increasing first and second dimension of the
domain, respectively.uFI
- grid or time sequence of grids of positive-X wind comp.vFI
- grid or time sequence of grids of positive-Y wind comp.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createTrueWindVectors(visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- grid of U wind componentvGrid
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createTrueFlowVectors(visad.FieldImpl uGrid, visad.FieldImpl vGrid, visad.FieldImpl wGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- _more_vGrid
- _more_wGrid
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public static visad.FieldImpl createTrueFlowVectors(visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- grid of U wind componentvGrid
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createTrueFlowVector0(visad.FieldImpl uvGrid) throws visad.VisADException, java.rmi.RemoteException
uvGrid
- vector of uv gridsjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createTrueFlowVector(visad.FieldImpl uvGrid) throws visad.VisADException, java.rmi.RemoteException
uvGrid
- the uv gridjava.rmi.RemoteException
- Java RMI Exceptionvisad.VisADException
- VisAD problempublic static visad.FieldImpl createWindVectors(visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- grid of U wind componentvGrid
- grid of V wind componentvisad.VisADException
- VisAD problemjava.rmi.RemoteException
- remote problempublic static visad.FieldImpl createGeostrophicWindVector(visad.FieldImpl paramFI) throws visad.VisADException, java.rmi.RemoteException
paramFI
- parameter to use (height)java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl create2DTopography(visad.FieldImpl paramGrid, visad.FieldImpl topoGrid) throws visad.VisADException, java.rmi.RemoteException
paramGrid
- parameter gridtopoGrid
- grid of topography. Must have units convertible
with meter or geopotential meter.visad.VisADException
- VisAD problemjava.rmi.RemoteException
- remote problempublic static visad.FieldImpl create2DTopography(visad.FieldImpl paramGrid, visad.FieldImpl topoGrid, boolean resampleToTopography) throws visad.VisADException, java.rmi.RemoteException
paramGrid
- parameter gridtopoGrid
- grid of topography. Must have units convertible
with meter or geopotential meter.resampleToTopography
- true to resample to the topography domainvisad.VisADException
- VisAD problemjava.rmi.RemoteException
- remote problempublic static visad.FieldImpl convertPressureToHeight(visad.FieldImpl pressureField) throws visad.VisADException, java.rmi.RemoteException
pressureField
- the pressure field. Must have units convertible with hPa
and have a single range dimension.java.rmi.RemoteException
- Java RMI exceptionvisad.VisADException
- Illegal field or some other VisAD errorpublic static visad.FieldImpl convertPressureToHeight(visad.FieldImpl pressureField, visad.CoordinateSystem pressToHeightCS) throws visad.VisADException, java.rmi.RemoteException
pressureField
- the pressure field. Must have units convertible with hPa
and have a single range dimension.pressToHeightCS
- The transform. If null, standard atmosphere is used.java.rmi.RemoteException
- Java RMI exceptionvisad.VisADException
- Illegal field or some other VisAD errorpublic static visad.FieldImpl convertPressureVelocityToHeightVelocity(visad.FieldImpl wGrid) throws visad.VisADException, java.rmi.RemoteException
wGrid
- pressure velocity fieldjava.rmi.RemoteException
- Java RMI problemvisad.VisADException
- VisAD problempublic static visad.FieldImpl convertPressureVelocityToHeightVelocity2(visad.FieldImpl wGrid, visad.FieldImpl tGrid) throws visad.VisADException, java.rmi.RemoteException
wGrid
- pressure velocity fieldtGrid
- the temperature fieldjava.rmi.RemoteException
- Java RMI problemvisad.VisADException
- VisAD problempublic static visad.FieldImpl convertPressureVelocityToHeightVelocity(visad.FieldImpl pressureVelField, visad.FieldImpl hField, visad.CoordinateSystem pressToHeightCS) throws visad.VisADException, java.rmi.RemoteException
pressureVelField
- pressure velocity fieldhField
- the height fieldpressToHeightCS
- _more_java.rmi.RemoteException
- Java RMI problemvisad.VisADException
- VisAD problempublic static visad.FieldImpl createFlowVectors(visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- grid of U flow componentvGrid
- grid of V flow componentvisad.VisADException
- VisAD problemjava.rmi.RemoteException
- remote problempublic static visad.FieldImpl createFlowVectors(visad.FieldImpl uGrid, visad.FieldImpl vGrid, visad.FieldImpl wGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- grid of U flow componentvGrid
- grid of V flow componentwGrid
- grid of W flow componentvisad.VisADException
- VisAD problemjava.rmi.RemoteException
- remote problempublic static visad.FieldImpl createFlowVectorsN(visad.FieldImpl uGrid, visad.FieldImpl vGrid, visad.FieldImpl wGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- _more_vGrid
- _more_wGrid
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public static java.util.List<visad.FieldImpl> createFlowVectorsNA(visad.FieldImpl uGrid, visad.FieldImpl vGrid, visad.FieldImpl wGrid, visad.FieldImpl topo) throws visad.VisADException, java.rmi.RemoteException, java.lang.Exception
uGrid
- _more_vGrid
- _more_wGrid
- _more_topo
- _more_java.lang.Exception
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public static visad.FieldImpl createFlowVectorsN(visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- _more_vGrid
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public static visad.FieldImpl createFlowVectorsN1(visad.FieldImpl wGrid) throws visad.VisADException, java.rmi.RemoteException
wGrid
- _more_java.rmi.RemoteException
- _more_visad.VisADException
- _more_public static visad.FieldImpl combineGrids(visad.FieldImpl[] grids) throws visad.VisADException, java.rmi.RemoteException
grids
- array of grids (must have at least 2)java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl[] grids, boolean flatten) throws visad.VisADException, java.rmi.RemoteException
grids
- array of grids (must have at least 2)flatten
- flatten the structurejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl[] grids, int samplingMode, int errorMode, boolean flatten) throws visad.VisADException, java.rmi.RemoteException
grids
- array of grids (must have at least 2)samplingMode
- sampling mode (e.g. WEIGHTED_AVERAGE, NEAREST_NEIGHBOR)errorMode
- sampling error mode (e.g. NO_ERRORS)flatten
- false to keep tuple integrity.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGridsR(visad.FieldImpl[] grids, int samplingMode, int errorMode, boolean flatten) throws visad.VisADException, java.rmi.RemoteException
grids
- array of grids (must have at least 2)samplingMode
- sampling mode (e.g. WEIGHTED_AVERAGE, NEAREST_NEIGHBOR)errorMode
- sampling error mode (e.g. NO_ERRORS)flatten
- false to keep tuple integrity.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl grid1, visad.FieldImpl grid2, visad.FieldImpl grid3) throws visad.VisADException, java.rmi.RemoteException
grid1
- first grid. This will be used for the time/space domaingrid2
- second grid.grid3
- third grid.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl grid1, visad.FieldImpl grid2) throws visad.VisADException, java.rmi.RemoteException
grid1
- first grid. This will be used for the time/space domaingrid2
- second grid.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGridsN(visad.FieldImpl grid1, visad.FieldImpl grid2) throws visad.VisADException, java.rmi.RemoteException
grid1
- first grid. This will be used for the time/space domaingrid2
- second grid.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl grid1, visad.FieldImpl grid2, boolean flatten) throws visad.VisADException, java.rmi.RemoteException
grid1
- first grid. This will be used for the time/space domaingrid2
- second grid.flatten
- true to flattenjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl grid1, visad.FieldImpl grid2, int samplingMode, int errorMode, boolean flatten) throws visad.VisADException, java.rmi.RemoteException
grid1
- first grid. This will be used for the time/space domaingrid2
- second grid.samplingMode
- sampling mode (e.g. WEIGHTED_AVERAGE, NEAREST_NEIGHBOR)errorMode
- sampling error mode (e.g. NO_ERRORS)flatten
- false to keep tuple integrity.java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids(visad.FieldImpl grid1, visad.FieldImpl grid2, int samplingMode, int errorMode, boolean flatten, boolean copy) throws visad.VisADException, java.rmi.RemoteException
grid1
- first grid. This will be used for the time/space domaingrid2
- second grid.samplingMode
- sampling mode (e.g. WEIGHTED_AVERAGE, NEAREST_NEIGHBOR)errorMode
- sampling error mode (e.g. NO_ERRORS)flatten
- false to keep tuple integrity.copy
- copy the values during combinejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createWindSpeed(visad.FieldImpl uFI, visad.FieldImpl vFI) throws visad.VisADException, java.rmi.RemoteException
uFI
- grid of U wind componentvFI
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createVectorMagnitude(visad.FieldImpl uFI, visad.FieldImpl vFI) throws visad.VisADException, java.rmi.RemoteException
uFI
- grid of U wind componentvFI
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createVectorMagnitude(visad.FieldImpl vector) throws visad.VisADException, java.rmi.RemoteException
vector
- vector of grid of U and V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createVectorMagnitude(visad.FieldImpl uFI, visad.FieldImpl vFI, java.lang.String name) throws visad.VisADException, java.rmi.RemoteException
uFI
- grid of U wind componentvFI
- grid of V wind componentname
- name of the resulting valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createVectorDirection(visad.FieldImpl vector) throws visad.VisADException, java.rmi.RemoteException
vector
- vector of grid of U and V direction componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createVectorDirection(visad.FieldImpl uFI, visad.FieldImpl vFI) throws visad.VisADException, java.rmi.RemoteException
uFI
- grid of U flow componentvFI
- grid of V flow componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createHorizontalDivergence(visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
uGrid
- grid of U wind componentvGrid
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createHorizontalFluxDivergence(visad.FieldImpl paramGrid, visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
paramGrid
- grid of scalar parameteruGrid
- grid of U wind componentvGrid
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createHorizontalAdvection(visad.FieldImpl paramGrid, visad.FieldImpl flowVector) throws visad.VisADException, java.rmi.RemoteException
paramGrid
- grid of scalar parameterflowVector
- grid of wind vectorjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createHorizontalAdvection(visad.FieldImpl paramGrid, visad.FieldImpl uGrid, visad.FieldImpl vGrid) throws visad.VisADException, java.rmi.RemoteException
paramGrid
- grid of scalar parameteruGrid
- grid of U wind componentvGrid
- grid of V wind componentjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createConservedSounding(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createDewpoint(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createHeatIndex(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createEquivalentPotentialTemperature(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createEquivalentPotentialTemperature(visad.FieldImpl temperFI, visad.FieldImpl pressFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturepressFI
- grid of air pressurerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl removeUnit(java.lang.String varname, visad.FieldImpl field) throws visad.VisADException
visad.VisADException
public static visad.FieldImpl createRelativeHumidity(visad.FieldImpl temperFI, visad.FieldImpl mixingRatioFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturemixingRatioFI
- grid of mixing ratiojava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createRelativeHumidityFromSpecificHumidity(visad.FieldImpl temperFI, visad.FieldImpl specificFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturespecificFI
- grid of specific humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createRelativeHumidityFromSpecificHumidity(visad.FieldImpl temperFI, visad.FieldImpl pressFI, visad.FieldImpl specificFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturepressFI
- grid of air pressurespecificFI
- grid of specific humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createEPTFromSpecificHumidity(visad.FieldImpl temperFI, visad.FieldImpl specificFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturespecificFI
- grid of specific humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createEPTFromSpecificHumidity(visad.FieldImpl temperFI, visad.FieldImpl pressFI, visad.FieldImpl specificFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturepressFI
- grid of air pressurespecificFI
- grid of specific humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createRelativeHumidity(visad.FieldImpl temperFI, visad.FieldImpl mixingRatioFI, boolean isSpecificHumidity) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturemixingRatioFI
- grid of mixing ratioisSpecificHumidity
- is the mixingRationFI really SH?java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createRelativeHumidity(visad.FieldImpl temperFI, visad.FieldImpl pressFI, visad.FieldImpl mixingRatioFI, boolean isSpecificHumidity) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturepressFI
- grid of air pressuremixingRatioFI
- grid of mixing ratioisSpecificHumidity
- is the mixingRationFI really SH?java.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createMixingRatio(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createMixingRatio(visad.FieldImpl temperFI, visad.FieldImpl pressFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid of air temperaturepressFI
- grid of air temperaturerhFI
- grid of relative humidityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createWRFMixingRatio(visad.FieldImpl pFI, visad.FieldImpl pbFI, visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
java.rmi.RemoteException
public static visad.FieldImpl createPotentialTemperature(visad.FieldImpl temperFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- one grid or a time sequence of grids of temperature
with a spatial domain that includes pressure
in verticaljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createSatEquivalentPotentialTemperature(visad.FieldImpl temperFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- one grid or a time sequence of grids of temperature
with a spatial domain that includes pressure
in verticaljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createPressureField(visad.FieldImpl geoPH) throws visad.VisADException, java.rmi.RemoteException
geoPH
- one grid or a time sequence of geo potential height
with a spatial domain that includes pressure
in verticaljava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl convertToAirPressure(visad.FieldImpl press) throws visad.VisADException, java.rmi.RemoteException
press
- the pressurejava.rmi.RemoteException
- Java RMI Exceptionvisad.VisADException
- problem in VisAD landpublic static visad.FieldImpl createPotentialTemperature(visad.FieldImpl temperFI, visad.FieldImpl pressFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid or time sequence of grids of temperaturepressFI
- grid or time sequence of grids of pressurejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createSatEquivalentPotentialTemperature(visad.FieldImpl temperFI, visad.FieldImpl pressFI) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid or time sequence of grids of temperaturepressFI
- grid or time sequence of grids of pressurejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createIPV(visad.FieldImpl temperFI, visad.FieldImpl absvor) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid or time sequence of grids of temperature with
a spatial domain that includes pressure in verticalabsvor
- grid or time sequence of grids of absolute vorticityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createIPV(visad.FieldImpl temperFI, visad.FieldImpl pressFI, visad.FieldImpl absvor) throws visad.VisADException, java.rmi.RemoteException
temperFI
- grid or time sequence of grids of temperaturepressFI
- grid or time sequence of grids of pressures at
levels in gridabsvor
- grid or time sequence of grids of absolute vorticityjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createPotentialVorticity(visad.FieldImpl thetaFI, visad.FieldImpl vectorFI) throws visad.VisADException, java.rmi.RemoteException
thetaFI
- grid or time sequence of grids of theta, thetae, etvectorFI
- grid or time sequence of grids of u and vjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FlatField createPressureGridFromDomain(visad.FlatField ff) throws visad.VisADException, java.rmi.RemoteException
ff
- FlatField with pressure in grid domainjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createPressureGrid(visad.FieldImpl ff) throws visad.VisADException, java.rmi.RemoteException
ff
- FieldImpl with pressure in grid domainjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl combineGrids1(visad.FieldImpl grid1, visad.FieldImpl grid2) throws visad.VisADException, java.rmi.RemoteException
grid1
- with u, v, hgrid2
- otherjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl extractGridOverThetaTopoSurface(visad.FieldImpl theta, float theta0) throws visad.VisADException, java.rmi.RemoteException
theta
- FlatField with pressure in grid domaintheta0
- constant valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl extractVectorGridOverThetaTopoSurface(visad.FieldImpl theta, visad.FieldImpl vector, float theta0) throws visad.VisADException, java.rmi.RemoteException
theta
- FlatField with pressure in grid domainvector
- FlatField with pressure in grid domaintheta0
- constant valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl extractGridADVOverThetaTopoSurface(visad.FieldImpl theta, visad.FieldImpl vector, visad.FieldImpl other, float theta0) throws visad.VisADException, java.rmi.RemoteException
theta
- FlatField with pressure in grid domainvector
- FlatField with pressure in grid domainother
- FlatField to be advectedtheta0
- constant valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl extractUVGridOverThetaTopoSurface(visad.FieldImpl theta, visad.FieldImpl other1, visad.FieldImpl other2, float theta0) throws visad.VisADException, java.rmi.RemoteException
theta
- FlatField with pressure in grid domainother1
- FlatField with pressure in grid domainother2
- FlatField with pressure in grid domaintheta0
- constant valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl extractGridOverThetaTopoSurface(visad.FieldImpl theta, visad.FieldImpl other, float theta0) throws visad.VisADException, java.rmi.RemoteException
theta
- FlatField with pressure in grid domainother
- FlatField with pressure in grid domaintheta0
- constant valuejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static float linearInterpolateHeight(float[] theta, float[] z, float theta0, boolean isDec)
theta
- _more_theta0
- _more_z
- _more_isDec
- _more_public static int binaryIndexDec(float[] a, float theta0)
a
- _more_theta0
- _more_public static int binaryIndexInc(float[] a, float theta0)
a
- _more_theta0
- _more_public static float linearInterpolateHeight(float[] theta, float[] other, float[] z, float theta0, boolean isDec)
theta
- _more_other
- _more_z
- _more_theta0
- _more_isDec
- _more_public static float[][][] convert3Darray(visad.FlatField grid, int ii) throws visad.VisADException, java.rmi.RemoteException
grid
- _more_ii
- _more_visad.VisADException
- for badjava.rmi.RemoteException
- for badpublic static float[][] convert2Darray(visad.FlatField grid, int ii) throws visad.VisADException, java.rmi.RemoteException
grid
- _more_ii
- _more_visad.VisADException
- for badjava.rmi.RemoteException
- for badpublic static visad.FieldImpl mask(visad.FieldImpl gridToMask, visad.FieldImpl mask, float maskValue) throws visad.VisADException
gridToMask
- the grid to maskmask
- the masking gridmaskValue
- the mask valuevisad.VisADException
- Problem reading or creating VisAD data objectspublic static visad.FieldImpl mask(visad.FieldImpl gridToMask, visad.FieldImpl mask, float maskValue, boolean resampleToMask) throws visad.VisADException
gridToMask
- the grid to maskmask
- the masking gridmaskValue
- the mask valueresampleToMask
- if true, resample to the mask domainvisad.VisADException
- Problem reading or creating VisAD data objectspublic static visad.FieldImpl createCoriolisGrid(visad.FieldImpl input) throws visad.VisADException, java.rmi.RemoteException
input
- Any geolocated gridjava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl getLatitudeGrid(visad.FieldImpl fi) throws visad.VisADException, java.rmi.RemoteException
fi
- Any geolocated gridjava.rmi.RemoteException
- for badvisad.VisADException
- for badpublic static visad.FieldImpl createLatitudeGrid(visad.FieldImpl fi) throws visad.VisADException, java.rmi.RemoteException
fi
- Any geolocated gridjava.rmi.RemoteException
- for badvisad.VisADException
- for badpublic static visad.FieldImpl createLongitudeGrid(visad.FieldImpl fi) throws visad.VisADException, java.rmi.RemoteException
fi
- Any geolocated gridjava.rmi.RemoteException
- for badvisad.VisADException
- for badpublic static visad.FlatField mergeTracks(java.util.List datas) throws visad.VisADException
datas
- _more_visad.VisADException
- _more_public static float[] subArray(float[] a, int start, int count, int strike)
a
- _more_start
- _more_count
- _more_strike
- _more_public static double[] subArray(double[] a, int start, int count, int strike)
a
- _more_start
- _more_count
- _more_strike
- _more_public static visad.FieldImpl ddx(visad.FieldImpl grid) throws visad.VisADException, java.rmi.RemoteException
grid
- grid to parializejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl ddy(visad.FieldImpl grid) throws visad.VisADException, java.rmi.RemoteException
grid
- grid to parializejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl partial(visad.FieldImpl grid, int domainIndex) throws visad.VisADException, java.rmi.RemoteException
grid
- grid to parializedomainIndex
- index of variable to use for derivativejava.rmi.RemoteException
- Java RMI errorvisad.VisADException
- VisAD Errorpublic static boolean isVector(visad.FieldImpl grid) throws visad.VisADException
grid
- grid to checkvisad.VisADException
- VisAD Errorpublic static boolean isScalar(visad.FieldImpl grid) throws visad.VisADException
grid
- grid to checkvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl getUComponent(visad.FieldImpl vector) throws visad.VisADException
vector
- vector quantityvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl getUComponent(visad.FieldImpl vector, boolean copy) throws visad.VisADException
vector
- vector quantitycopy
- true to copy valuesvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl getVComponent(visad.FieldImpl vector) throws visad.VisADException
vector
- vector quantityvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl getVComponent(visad.FieldImpl vector, boolean copy) throws visad.VisADException
vector
- vector quantitycopy
- true to copy valuesvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl getComponent(visad.FieldImpl vector, int index, boolean copy) throws visad.VisADException
vector
- vector quantityindex
- index of componentcopy
- true to copy valuesvisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createDailyClimatology(visad.FieldImpl dailyData, boolean use366) throws visad.VisADException
dailyData
- the daily datause366
- create a 366 day climatologyvisad.VisADException
- illegal grid or problem calculating climatologypublic static visad.FieldImpl calculateDailyAnomaly(visad.FieldImpl dailyData, visad.FieldImpl dailyClim) throws visad.VisADException
dailyData
- the daily datadailyClim
- the climatologyvisad.VisADException
- bad input or problem creating fieldspublic static visad.FieldImpl calculateDailyAnomaly(visad.FieldImpl dailyData, visad.FieldImpl dailyClim, boolean asPercent) throws visad.VisADException
dailyData
- the daily datadailyClim
- the climatologyasPercent
- return the values as a percentage of normal (+/-)visad.VisADException
- bad input or problem creating fieldspublic static visad.FieldImpl createSurfaceWindAngle(visad.FieldImpl gridu, visad.FieldImpl gridv, visad.FieldImpl gridw, double value1, java.lang.String lUnit) throws visad.VisADException, java.rmi.RemoteException
gridu
- windgridv
- windgridw
- windvalue1
- valuelUnit
- unitvisad.VisADException
- bad input or problem creating fieldsjava.rmi.RemoteException
- for badpublic static visad.FieldImpl timeStepAccumulatedPrecip(visad.FieldImpl grid) throws visad.VisADException
grid
- grid of datavisad.VisADException
- VisAD Errorpublic static visad.FieldImpl createVirtualPotentialTemperature(visad.FieldImpl pressFI, visad.FieldImpl temperFI, visad.FieldImpl dewPtFI) throws visad.VisADException, java.rmi.RemoteException
pressFI
- pressuretemperFI
- temperaturedewPtFI
- dewPTvisad.VisADException
- bad input or problem creating fieldsjava.rmi.RemoteException
- for badpublic static visad.FieldImpl createVirtualTemperature(visad.FieldImpl pressFI, visad.FieldImpl temperFI, visad.FieldImpl dewPtFI) throws visad.VisADException, java.rmi.RemoteException
pressFI
- windtemperFI
- winddewPtFI
- windvisad.VisADException
- bad input or problem creating fieldsjava.rmi.RemoteException
- for badpublic static int getIndexOfLargest(float[] a)
public static float interpolateMaxHeight(visad.FieldImpl grid, float lat0, float lon0, float alt0) throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
java.rmi.RemoteException
public static visad.FieldImpl extractMaxGridSurface(visad.FieldImpl theta, float theta0) throws visad.VisADException, java.rmi.RemoteException
visad.VisADException
java.rmi.RemoteException
public static visad.FieldImpl createAirDensity(visad.FieldImpl pressFI, visad.FieldImpl temperFI) throws visad.VisADException, java.rmi.RemoteException
pressFI
- windtemperFI
- windvisad.VisADException
- bad input or problem creating fieldsjava.rmi.RemoteException
- for badpublic static visad.FieldImpl createGalvezDavisonIndex(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
rhFI
- relative humiditytemperFI
- temperaturevisad.VisADException
- bad input or problem creating fieldsjava.rmi.RemoteException
- for badpublic static visad.FieldImpl createColumnBuoyancyIndex(visad.FieldImpl temperFI, visad.FieldImpl rhFI) throws visad.VisADException, java.rmi.RemoteException
rhFI
- relative humiditytemperFI
- temperaturevisad.VisADException
- bad input or problem creating fieldsjava.rmi.RemoteException
- for badpublic static visad.FieldImpl ComputePrecipRatesDbz(visad.FieldImpl field) throws visad.VisADException
field
- radar reflectivityvisad.VisADException
- bad input or problem creating fieldspublic static visad.FlatField ComputePrecipRatesDbzFF(visad.FlatField[] grids) throws visad.VisADException
visad.VisADException
public static visad.FieldImpl ComputePrecipRatesZZDR(visad.FieldImpl gridz, visad.FieldImpl gridzdr) throws visad.VisADException
gridz
- radar reflectivitygridzdr
- radar differential reflectivityvisad.VisADException
- bad input or problem creating fieldspublic static visad.FlatField ComputePrecipRatesZZDRFF(visad.FlatField[] gridz, visad.FlatField[] gridzdr) throws visad.VisADException
visad.VisADException
public static visad.FieldImpl removeUnit(visad.FieldImpl field) throws visad.VisADException
field
- input fieldvisad.VisADException
- bad input or problem creating fields