Tabnine Logo
CoverageCoordAxis1D.getAxisType
Code IndexAdd Tabnine to your IDE (free)

How to use
getAxisType
method
in
ucar.nc2.ft2.coverage.CoverageCoordAxis1D

Best Java code snippets using ucar.nc2.ft2.coverage.CoverageCoordAxis1D.getAxisType (Showing top 2 results out of 315)

origin: Unidata/thredds

public List<NamedObject> getCoordValueNames(CoverageCoordAxis1D axis) {
 axis.loadValuesIfNeeded();
 List<NamedObject> result = new ArrayList<>();
 for (int i = 0; i < axis.getNcoords(); i++) {
  double value;
  switch (axis.getSpacing()) {
   case regularPoint:
   case irregularPoint:
    value = axis.getCoordMidpoint(i);
    result.add(new NamedAnything(makeDate(value), axis.getAxisType().toString()));
    break;
   case regularInterval:
   case contiguousInterval:
   case discontiguousInterval:
    CoordInterval coord = new CoordInterval(axis.getCoordEdge1(i), axis.getCoordEdge2(i), 3);
    result.add(new NamedAnything(coord, coord + " " + axis.getUnits()));
    break;
  }
 }
 return result;
}
origin: Unidata/thredds

switch (getAxisType()) {
 case GeoZ:
 case Pressure:
ucar.nc2.ft2.coverageCoverageCoordAxis1DgetAxisType

Popular methods of CoverageCoordAxis1D

  • getCoordMidpoint
  • getEndValue
  • getNcoords
  • getResolution
  • makeDate
  • <init>
  • getCoordEdge1
  • getCoordEdge2
  • getDependenceType
  • getSpacing
  • getStartValue
  • convert
  • getStartValue,
  • convert,
  • copy,
  • getCalendar,
  • getCalendarDateUnit,
  • getCoordEdgeFirst,
  • getCoordEdgeLast,
  • getCoordObject,
  • getCoordsAsArray

Popular in Java

  • Parsing JSON documents to java classes using gson
  • startActivity (Activity)
  • setScale (BigDecimal)
  • onRequestPermissionsResult (Fragment)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • ResultSet (java.sql)
    An interface for an object which represents a database table entry, returned as the result of the qu
  • Iterator (java.util)
    An iterator over a sequence of objects, such as a collection.If a collection has been changed since
  • ImageIO (javax.imageio)
  • Best plugins for Eclipse
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now