public class PointUtil
extends java.lang.Object
Constructor and Description |
---|
PointUtil() |
Modifier and Type | Method and Description |
---|---|
static FeatureDatasetPoint |
openPointDataset(FeatureType wantFeatureType,
java.lang.String location)
Opens the dataset at
location as a FeatureDatasetPoint. |
static void |
printPointFeatures(FeatureDatasetPoint fdPoint,
java.io.PrintStream outStream) |
public static FeatureDatasetPoint openPointDataset(FeatureType wantFeatureType, java.lang.String location) throws java.io.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)
.java.io.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, java.io.PrintStream outStream) throws java.io.IOException
java.io.IOException