ucar.nc2.constants
Enum CF.FeatureType
java.lang.Object
java.lang.Enum<CF.FeatureType>
ucar.nc2.constants.CF.FeatureType
- All Implemented Interfaces:
- Serializable, Comparable<CF.FeatureType>
- Enclosing interface:
- CF
public static enum CF.FeatureType
- extends Enum<CF.FeatureType>
Start of map from CF feature type names to our FeatureType enums.
Unofficial.
point
public static final CF.FeatureType point
timeSeries
public static final CF.FeatureType timeSeries
profile
public static final CF.FeatureType profile
trajectory
public static final CF.FeatureType trajectory
timeSeriesProfile
public static final CF.FeatureType timeSeriesProfile
trajectoryProfile
public static final CF.FeatureType trajectoryProfile
values
public static CF.FeatureType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (CF.FeatureType c : CF.FeatureType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static CF.FeatureType valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
convert
public static CF.FeatureType convert(FeatureType ft)
getFeatureType
public static CF.FeatureType getFeatureType(String s)
getFeatureTypeFromGlobalAttribute
public static CF.FeatureType getFeatureTypeFromGlobalAttribute(NetcdfFile ds)
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.