ucar.nc2.ft.point.writer
Class FeatureDatasetPointXML
java.lang.Object
ucar.nc2.ft.point.writer.FeatureDatasetPointXML
public class FeatureDatasetPointXML
- extends Object
generate capabilities XML for a FeatureDatasetPoint / StationTimeSeriesFeatureCollection
- Since:
- Aug 19, 2009
- Author:
- caron
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FeatureDatasetPointXML
public FeatureDatasetPointXML(FeatureDatasetPoint fdp,
String path)
getCapabilities
public String getCapabilities()
getCapabilities
public void getCapabilities(OutputStream os)
throws IOException
- Throws:
IOException
makeStationCollectionDocument
public org.jdom.Document makeStationCollectionDocument(LatLonRect bb,
String[] names)
throws IOException
- Create an XML document for the stations in this dataset.
- Parameters:
bb
- restrict stations to this bounding box, may be nullnames
- restrict stations to these names, may be null
- Returns:
- XML document for the stations
- Throws:
IOException
- on read error
getCapabilitiesDocument
public org.jdom.Document getCapabilitiesDocument()
- Create the capabilities XML document for this datasets
- Returns:
- capabilities XML document
getSpatialExtent
public static LatLonRect getSpatialExtent(org.jdom.Document doc)
throws IOException
- Throws:
IOException
getTimeSpan
public static DateRange getTimeSpan(org.jdom.Document doc)
throws IOException
- Throws:
IOException
getDataVariables
public static List<VariableSimpleIF> getDataVariables(org.jdom.Document doc)
throws IOException
- Throws:
IOException
doOne
public static void doOne(String location,
String path,
String result)
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws IOException
- Throws:
IOException
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.