Package ucar.visad
Class ZebraAsciiMapAdapter
java.lang.Object
ucar.visad.ZebraAsciiMapAdapter
VisAD Adapter for Zebra ASCII map files
- Version:
- $Revision: 1.4 $ $Date: 2005/05/13 18:34:07 $
- Author:
- MetApps Development Team
-
Constructor Summary
ConstructorsConstructorDescriptionConstruct the adapter from an input streamZebraAsciiMapAdapter
(String filename) Construct the adapter from the filename specification.ZebraAsciiMapAdapter
(URL url) Construct the adapter from the URL location -
Method Summary
-
Constructor Details
-
ZebraAsciiMapAdapter
Construct the adapter from the filename specification.- Parameters:
filename
- path to file- Throws:
VisADException
- couldn't create the data objectIOException
- problem reading in file
-
ZebraAsciiMapAdapter
Construct the adapter from the URL location- Parameters:
url
- URL path to file- Throws:
VisADException
- couldn't create the data objectIOException
- problem reading in file
-
ZebraAsciiMapAdapter
Construct the adapter from an input stream- Parameters:
is
- InputStream for the data- Throws:
VisADException
- couldn't create the data objectIOException
- problem reading in file
-
-
Method Details
-
getData
Get the Data object.- Returns:
- UnionSet of Gridded2DSets of map lines.
- Throws:
VisADException
- can't create the VisAD data objects
-
main
Test by running java ucar.visad.ZebraAsciiMapAdapter- Parameters:
args
- mapfile locations (filenames- Throws:
Exception
- if there is a problem
-