visad.data.mcidas
Class PointDataAdapter
- java.lang.Object
-
- visad.data.mcidas.PointDataAdapter
-
public class PointDataAdapter extends java.lang.ObjectA class for adapting the results of an ADDE point data request into a VisAD Data object.
-
-
Constructor Summary
Constructors Constructor and Description PointDataAdapter(java.lang.String addePointRequest)Construct a PointDataAdapter using the adde request passed as a string.PointDataAdapter(java.lang.String addePointRequest, boolean useAliases)Construct a PointDataAdapter using the adde request passed as a string.PointDataAdapter(java.lang.String addePointRequest, boolean useAliases, boolean makeUniqueNames)Construct a PointDataAdapter using the adde request passed as a string.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method and Description DataImplgetData()Get the VisAD Data object that represents the output from the request.static voidmain(java.lang.String[] args)test with 'java visad.data.mcidas.PointDataAdapter args'
-
-
-
Constructor Detail
-
PointDataAdapter
public PointDataAdapter(java.lang.String addePointRequest) throws VisADExceptionConstruct a PointDataAdapter using the adde request passed as a string. This will take the data returned from the request and turn it into VisAD Data objects that can be returned by the getData() call.- Parameters:
addePointRequest- - string representing the ADDE request- Throws:
VisADException- bad request, no data available, VisAD error- See Also:
getData()
-
PointDataAdapter
public PointDataAdapter(java.lang.String addePointRequest, boolean useAliases) throws VisADExceptionConstruct a PointDataAdapter using the adde request passed as a string. This will take the data returned from the request and turn it into VisAD Data objects that can be returned by the getData() call.- Parameters:
addePointRequest- - string representing the ADDE requestuseAliases- - for quantities like Latitude, Longitude,etc alias the RealTypes to the original McIDAS variable name.- Throws:
VisADException- bad request, no data available, VisAD error- See Also:
getData()
-
PointDataAdapter
public PointDataAdapter(java.lang.String addePointRequest, boolean useAliases, boolean makeUniqueNames) throws VisADExceptionConstruct a PointDataAdapter using the adde request passed as a string. This will take the data returned from the request and turn it into VisAD Data objects that can be returned by the getData() call.- Parameters:
addePointRequest- - string representing the ADDE requestuseAliases- - for quantities like Latitude, Longitude,etc alias the RealTypes to the original McIDAS variable name.makeUniqueNames- - if true, make unique names to avoid null Types- Throws:
VisADException- bad request, no data available, VisAD error- See Also:
getData()
-
-
Method Detail
-
getData
public DataImpl getData()
Get the VisAD Data object that represents the output from the request.- Returns:
- requested data. The format is a FieldImpl of (obnum -> (tuple of parameters)
-
main
public static void main(java.lang.String[] args) throws java.lang.Exceptiontest with 'java visad.data.mcidas.PointDataAdapter args'- Parameters:
args- ADDE point data request- Throws:
java.lang.Exception
-
-
DMelt 3.0 © DataMelt by jWork.ORG