public class Vis5DFamily extends FunctionFormFamily
Data data = new Vis5DFamily("vis5d").open(string);
Vis5DAdaptedForm
,
Vis5DTopoForm
forms
Constructor and Description |
---|
Vis5DFamily(String name)
Construct a family of the supported map datatype Forms
|
Modifier and Type | Method and Description |
---|---|
static void |
addFormToList(FormNode form)
Add to the family of the supported map datatype Forms
|
static void |
main(String[] args)
Test the Vis5DFamily class
run java visad.data.vis5d.Vis5DFamily v5dfile1 v5dfile2 ...
|
DataImpl |
open(String id)
Open a local data object using the first appropriate map form.
|
DataImpl |
open(URL url)
Open a remote data object using the first appropriate map form.
|
add, save
addFormNode, getForms
public Vis5DFamily(String name)
name
- name of the familypublic static void addFormToList(FormNode form) throws ArrayIndexOutOfBoundsException
form
- FormNode to add to the listArrayIndexOutOfBoundsException
- If there is no more room in the list.public DataImpl open(String id) throws BadFormException, VisADException
open
in class FunctionFormFamily
id
- String representing the path of the map fileBadFormException
- - no form is appropriateVisADException
- - VisAD errorpublic DataImpl open(URL url) throws BadFormException, VisADException, IOException
open
in class FunctionFormFamily
url
- URL representing the location of the map fileBadFormException
- - no form is appropriateVisADException
- - VisAD errorIOException
- - file not foundpublic static void main(String[] args) throws BadFormException, IOException, RemoteException, VisADException
Copyright © 1996–2023 The SSEC Visualization Project. All rights reserved.