thredds.featurecollection.FeatureCollectionType Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cdm Show documentation
Show all versions of cdm Show documentation
The NetCDF-Java Library is a Java interface to NetCDF files,
as well as to many other types of scientific data formats.
The newest version!
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 - 2024 Weber Informatics LLC | Privacy Policy