
thredds.featurecollection.FeatureCollectionType Maven / Gradle / Ivy
package thredds.featurecollection;
import ucar.nc2.constants.FeatureType;
/**
* FeatureCollection Types
*
* @author caron
* @since 11/8/12
*/
public enum FeatureCollectionType {
GRIB1, GRIB2, FMRC, Point, Station, Station_Profile;
public FeatureType getFeatureType() {
switch (this) {
case GRIB1: return FeatureType.GRID;
case GRIB2: return FeatureType.GRID;
case FMRC: return FeatureType.FMRC;
case Point: return FeatureType.POINT;
case Station: return FeatureType.STATION;
case Station_Profile: return FeatureType.STATION_PROFILE;
}
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy