public class PointUtil extends Object
| Constructor and Description |
|---|
PointUtil() |
| Modifier and Type | Method and Description |
|---|---|
static FeatureDatasetPoint |
openPointDataset(FeatureType wantFeatureType,
String location)
Opens the dataset at
location as a FeatureDatasetPoint. |
static void |
printPointFeatures(FeatureDatasetPoint fdPoint,
PrintStream outStream) |
public static FeatureDatasetPoint openPointDataset(FeatureType wantFeatureType, String location) throws IOException, NoFactoryFoundException
location as a FeatureDatasetPoint.wantFeatureType - open this kind of FeatureDataset; may be null, which means search all factories.
It should be one of the point types.location - the URL or file location of the dataset.
See FeatureDatasetFactoryManager.open(ucar.nc2.constants.FeatureType, java.lang.String, ucar.nc2.util.CancelTask, java.util.Formatter).IOException - if an I/O error occurs.NoFactoryFoundException - if no FeatureDatasetFactory could be found that can open
the dataset at location.public static void printPointFeatures(FeatureDatasetPoint fdPoint, PrintStream outStream) throws IOException
IOExceptionCopyright © 1999–2015 UCAR/Unidata. All rights reserved.