|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectucar.unidata.data.point.PointObFactory
public class PointObFactory
Factory for dealing with point observations
| Constructor Summary | |
|---|---|
PointObFactory()
Constructor |
|
| Method Summary | |
|---|---|
static FieldImpl |
barnes(FieldImpl pointObs,
RealType type,
double xSpacing,
double ySpacing,
int numPasses)
Perform an object analysis on a set of point obs |
static FlatField |
barnesOneTime(FieldImpl pointObs,
RealType type,
double xSpacing,
double ySpacing,
int numPasses)
Do the analysis on the single time. |
static List |
binTimes(List times,
double binRoundTo,
double binWidth)
Bin the times |
static void |
main(String[] args)
main |
static PointOb |
makePointOb(EarthLocation el)
Make a PointOb from an EarthLocation. |
static PointOb |
makePointOb(EarthLocation el,
DateTime dt)
Make a PointOb from an EarthLocation. |
static PointOb |
makePointOb(EarthLocation el,
DateTime dt,
Tuple tuple)
|
static FieldImpl |
makePointObField(PointOb point)
Returns a point observation as a FieldImpl of type. |
static FieldImpl |
makePointObs(EarthLocation el)
Make a FieldImpl of PointOb-s from an EarthLocation. |
static FieldImpl |
makePointObs(EarthLocation el,
DateTime dt)
Make a FieldImpl of PointOb-s from an EarthLocation. |
static FieldImpl |
makePointObs(PointOb po)
Make a FieldImpl from a PointOb. |
static FieldImpl |
makePointObs(ucar.nc2.dt.PointObsDataset input)
Make point obs from a PointObsDataset |
static FieldImpl |
makePointObs(ucar.nc2.dt.PointObsDataset input,
double binRoundTo,
double binWidth)
Make point obs |
static FieldImpl |
makePointObs(ucar.nc2.dt.PointObsDataset input,
double binRoundTo,
double binWidth,
ucar.unidata.geoloc.LatLonRect llr)
Make point obs |
static FieldImpl |
makePointObsFromField(FieldImpl input)
Take a field of data and turn it into a field of PointObs. |
static FieldImpl |
makePointObsFromField(FieldImpl input,
double binRoundTo,
double binWidth)
Take a field of data and turn it into a field of PointObs. |
static FieldImpl |
makeTimeSequenceOfPointObs(FieldImpl pointObs)
From a field of point observations, reorder them with time as the outer dimension. |
static FieldImpl |
makeTimeSequenceOfPointObs(FieldImpl pointObs,
int lumpMinutes)
From a field of point observations, reorder them with time as the outer dimension. |
static FieldImpl |
makeTimeSequenceOfPointObs(List pointObs,
int lumpMinutes,
int componentIndex)
From a field of point observations, reorder them with time as the outer dimension. |
static FieldImpl |
mergeData(List datas)
Merge a List of FieldImpls of point obs into one. |
static FieldImpl |
removeTimeDimension(FieldImpl pointObs)
Remove the time dimension from a field of point obs, returning just and indexed list of the obs |
static FieldImpl |
subSet(FieldImpl pointObs,
LinearLatLonSet bounds)
Returns a subset of the field of point observations that lie within the boundaries of the LinearLatLonSet. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PointObFactory()
| Method Detail |
|---|
public static FieldImpl makePointObField(PointOb point)
throws VisADException,
RemoteException
(Time -> ((lat, lon, alt) -> (data)))
point - point observation
RemoteException - Java RMI error
VisADException - VisAD Error
public static FieldImpl makeTimeSequenceOfPointObs(FieldImpl pointObs)
throws VisADException,
RemoteException
pointObs - Field of point observations (index -> pointobs)
RemoteException - Java RMI error
VisADException - VisAD Error
public static FieldImpl makeTimeSequenceOfPointObs(FieldImpl pointObs,
int lumpMinutes)
throws VisADException,
RemoteException
pointObs - Field of point observations (index -> pointobs)lumpMinutes - If greater then 0 is used to lump the times of the point obs
together
RemoteException - Java RMI error
VisADException - VisAD Error
public static FieldImpl makeTimeSequenceOfPointObs(List pointObs,
int lumpMinutes,
int componentIndex)
throws VisADException,
RemoteException
pointObs - Field of point observations (index -> pointobs)lumpMinutes - If greater then 0 is used to lump the times of the point obs togethercomponentIndex - If >= 0 then make a T->componentvalue field
RemoteException - Java RMI error
VisADException - VisAD Error
public static FieldImpl subSet(FieldImpl pointObs,
LinearLatLonSet bounds)
throws VisADException,
RemoteException
pointObs - set of obs.bounds - LinearLatLonSet bounding box
RemoteException - Java RMI error
VisADException - VisAD Error
public static FieldImpl makePointObsFromField(FieldImpl input)
throws VisADException
input - FieldImpl of raw VisAD data
VisADException - couldn't create the VisAD data
public static FieldImpl makePointObsFromField(FieldImpl input,
double binRoundTo,
double binWidth)
throws VisADException
input - FieldImpl of raw VisAD databinRoundTo - time bin round tobinWidth - time bin size
VisADException - On badness
public static FieldImpl makePointObs(ucar.nc2.dt.PointObsDataset input)
throws Exception
input - pointobs dataset to load
Exception - problem creating the ob or a cancel
public static List binTimes(List times,
double binRoundTo,
double binWidth)
throws VisADException
times - List of timesbinRoundTo - round to factorbinWidth - bin size
VisADException - On badness
public static FieldImpl makePointObs(ucar.nc2.dt.PointObsDataset input,
double binRoundTo,
double binWidth)
throws Exception
input - the data setbinRoundTo - bin round tobinWidth - time bin size
Exception - On badness
public static FieldImpl makePointObs(ucar.nc2.dt.PointObsDataset input,
double binRoundTo,
double binWidth,
ucar.unidata.geoloc.LatLonRect llr)
throws Exception
input - the data setbinRoundTo - bin round tobinWidth - time bin sizellr - bounding box
Exception - On badness
public static FieldImpl mergeData(List datas)
throws VisADException
datas - List of FieldImpls of point obs
VisADException - problem getting the data
public static PointOb makePointOb(EarthLocation el)
throws VisADException,
RemoteException
el - EarthLocation to use
RemoteException - Java RMI error
VisADException - problem getting the data
public static PointOb makePointOb(EarthLocation el,
DateTime dt)
throws VisADException,
RemoteException
el - EarthLocation to usedt - DateTime to use
RemoteException - Java RMI error
VisADException - problem getting the data
public static PointOb makePointOb(EarthLocation el,
DateTime dt,
Tuple tuple)
throws VisADException,
RemoteException
VisADException
RemoteException
public static FieldImpl makePointObs(EarthLocation el)
throws VisADException,
RemoteException
el - EarthLocation to use
RemoteException - Java RMI error
VisADException - problem getting the data
public static FieldImpl makePointObs(EarthLocation el,
DateTime dt)
throws VisADException,
RemoteException
el - EarthLocation to usedt - DateTime to use
RemoteException - Java RMI error
VisADException - problem getting the data
public static FieldImpl makePointObs(PointOb po)
throws VisADException,
RemoteException
po - The ob
RemoteException - Java RMI error
VisADException - problem getting the data
public static FieldImpl removeTimeDimension(FieldImpl pointObs)
throws VisADException,
RemoteException
pointObs - time field of obs
RemoteException - Java RMI error
VisADException - problem getting the data
public static FieldImpl barnes(FieldImpl pointObs,
RealType type,
double xSpacing,
double ySpacing,
int numPasses)
throws VisADException,
RemoteException
pointObs - Observations to analyze
RemoteException - Java RMI error
VisADException - problem getting the data
public static FlatField barnesOneTime(FieldImpl pointObs,
RealType type,
double xSpacing,
double ySpacing,
int numPasses)
throws VisADException,
RemoteException
pointObs - Observations to analyzetype - RealTypes of parameter
RemoteException - Java RMI error
VisADException - problem getting the data
public static void main(String[] args)
throws Exception
args - args
Exception - on badness
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||