Codota Logo
GridCoordSys.makeTimeAxisForRun
Code IndexAdd Codota to your IDE (free)

How to use
makeTimeAxisForRun
method
in
ucar.nc2.dt.grid.GridCoordSys

Best Java code snippets using ucar.nc2.dt.grid.GridCoordSys.makeTimeAxisForRun (Showing top 3 results out of 315)

  • Common ways to obtain GridCoordSys
private void myMethod () {
GridCoordSys g =
  • Codota IconCoordinateSystem cs;new GridCoordSys(cs, null)
  • Codota IconCoordinateSystem cs;Formatter sbuff;new GridCoordSys(cs, sbuff)
  • Codota IconFormatter sbuff;CoordinateSystem cs;VariableEnhanced v;GridCoordSys.makeGridCoordSys(sbuff, cs, v)
  • Smart code suggestions by Codota
}
origin: edu.ucar/netcdf

@Override
public CoordinateAxis1DTime getTimeAxisForRun(int run_index) {
 if (!hasTimeAxis() || hasTimeAxis1D() || runTimeAxis == null) return null;
 int nruns = (int) runTimeAxis.getSize();
 if ((run_index < 0) || (run_index >= nruns))
  throw new IllegalArgumentException("getTimeAxisForRun index out of bounds= " + run_index);
 if (timeAxisForRun == null)
  timeAxisForRun = new CoordinateAxis1DTime[nruns];
 if (timeAxisForRun[run_index] == null)
  timeAxisForRun[run_index] = makeTimeAxisForRun(run_index);
 return timeAxisForRun[run_index];
}
origin: edu.ucar/cdm

@Override
public CoordinateAxis1DTime getTimeAxisForRun(int run_index) {
 if (!hasTimeAxis() || hasTimeAxis1D() || runTimeAxis == null) return null;
 int nruns = (int) runTimeAxis.getSize();
 if ((run_index < 0) || (run_index >= nruns))
  throw new IllegalArgumentException("getTimeAxisForRun index out of bounds= " + run_index);
 if (timeAxisForRun == null)
  timeAxisForRun = new CoordinateAxis1DTime[nruns];
 if (timeAxisForRun[run_index] == null)
  timeAxisForRun[run_index] = makeTimeAxisForRun(run_index);
 return timeAxisForRun[run_index];
}
origin: Unidata/thredds

/**
 * @deprecated doesnt work correctly for intervals
 */
@Override
public CoordinateAxis1DTime getTimeAxisForRun(int run_index) {
 if (!hasTimeAxis() || hasTimeAxis1D() || runTimeAxis == null) return null;
 int nruns = (int) runTimeAxis.getSize();
 if ((run_index < 0) || (run_index >= nruns))
  throw new IllegalArgumentException("getTimeAxisForRun index out of bounds= " + run_index);
 if (timeAxisForRun == null)
  timeAxisForRun = new CoordinateAxis1DTime[nruns];
 if (timeAxisForRun[run_index] == null)
  timeAxisForRun[run_index] = makeTimeAxisForRun(run_index);
 return timeAxisForRun[run_index];
}
ucar.nc2.dt.gridGridCoordSysmakeTimeAxisForRun

Popular methods of GridCoordSys

  • hasVerticalAxis
  • <init>
    Create a GridCoordSys as a section of an existing GridCoordSys. This will create sections of the cor
  • convertUnits
  • findXYindexFromCoord
    Given a point in x,y coordinate space, find the x,y index in the coordinate system.
  • findXYindexFromCoordBounded
    Given a point in x,y coordinate space, find the x,y index in the coordinate system. If outside the r
  • getBoundingBox
    Get the x,y bounding box in projection coordinates.
  • getCalendarDates
  • getCoordinateTransforms
  • getEnsembleAxis
    get the Ensemble axis, else null
  • getHorizStaggerType
  • getLatLon
    Get the Lat/Lon coordinates of the midpoint of a grid cell, using the x,y indices
  • getLatLonBoundingBox
  • getLatLon,
  • getLatLonBoundingBox,
  • getLevels,
  • getMinOrMaxLon,
  • getName,
  • getProjection,
  • getRangesFromLatLonRect,
  • getRunTimeAxis,
  • getTimeAxis,
  • getTimeAxis1D

Popular in Java

  • Making http post requests using okhttp
  • runOnUiThread (Activity)
  • getApplicationContext (Context)
  • orElseThrow (Optional)
  • PrintWriter (java.io)
    Prints formatted representations of objects to a text-output stream. This class implements all of th
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Table (org.hibernate.mapping)
    A relational table
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now