public class AreaDirectoryList extends Object
Constructor and Description |
---|
AreaDirectoryList(String imageSource)
creates an AreaDirectory object that allows reading
of McIDAS 'area' file format image data.
|
AreaDirectoryList(URL url)
creates an AreaDirectory object that allows reading
of the directory of McIDAS 'area' files from a URL
|
Modifier and Type | Method and Description |
---|---|
ArrayList |
getDirs()
returns the directory blocks for the requested images.
|
AreaDirectory[][] |
getSortedDirs()
returns the directory blocks for the requested images,
sorted into an array of AreaDirectories by time and
then bands as the second dimenison, if multiple directories
with the same ADDE position number are returned.
|
static void |
main(String[] args) |
String |
toString()
Prints out a formatted listing of the directory info
|
public AreaDirectoryList(String imageSource) throws AreaFileException
imageSource
- the file name or ADDE URL to read fromAreaFileException
- if file cannot be openedpublic AreaDirectoryList(URL url) throws AreaFileException
url
- - the URL to go afterAreaFileException
- if file cannot be openedpublic AreaDirectory[][] getSortedDirs() throws AreaFileException
AreaFileException
public ArrayList getDirs() throws AreaFileException
AreaFileException
- if there was a problem
reading the directorypublic String toString()
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.