congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
GridCoordSys.isGridCoordSys
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: edu.ucar/netcdf

public GridCoordSys getGridCoordSys(VariableEnhanced ve) {
 List<CoordinateSystem> csList = ve.getCoordinateSystems();
 for (CoordinateSystem cs : csList) {
  if (GridCoordSys.isGridCoordSys(null, cs, ve)) {
   return new GridCoordSys(cs, null);
  }
 }
 return null;
}
origin: edu.ucar/cdm

public GridCoordSys getGridCoordSys(VariableEnhanced ve) {
 List<CoordinateSystem> csList = ve.getCoordinateSystems();
 for (CoordinateSystem cs : csList) {
  if (GridCoordSys.isGridCoordSys(null, cs, ve)) {
   return new GridCoordSys(cs, null);
  }
 }
 return null;
}
origin: Unidata/thredds

public GridCoordSys getGridCoordSys(VariableEnhanced ve) {
 List<CoordinateSystem> csList = ve.getCoordinateSystems();
 for (CoordinateSystem cs : csList) {
  if (GridCoordSys.isGridCoordSys(null, cs, ve)) {
   return new GridCoordSys(cs, null);
  }
 }
 return null;
}
origin: edu.ucar/cdm

/**
 * Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.
 *
 * @param sbuff put debug information into this StringBuffer; may be null.
 * @param cs    CoordinateSystem to check.
 * @param v     Variable to check.
 * @return the GridCoordSys made from cs, else null.
 */
public static GridCoordSys makeGridCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v) {
 if (sbuff != null) {
  sbuff.format(" ");
  v.getNameAndDimensions(sbuff, false, true);
  sbuff.format(" check CS %s: ", cs.getName());
 }
 if (isGridCoordSys(sbuff, cs, v)) {
  GridCoordSys gcs = new GridCoordSys(cs, sbuff);
  if (sbuff != null) sbuff.format(" OK%n");
  return gcs;
 }
 return null;
}
origin: edu.ucar/netcdf

/**
 * Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.
 *
 * @param sbuff put debug information into this StringBuffer; may be null.
 * @param cs    CoordinateSystem to check.
 * @param v     Variable to check.
 * @return the GridCoordSys made from cs, else null.
 */
public static GridCoordSys makeGridCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v) {
 if (sbuff != null) {
  sbuff.format(" ");
  v.getNameAndDimensions(sbuff, false, true);
  sbuff.format(" check CS %s: ", cs.getName());
 }
 if (isGridCoordSys(sbuff, cs, v)) {
  GridCoordSys gcs = new GridCoordSys(cs, sbuff);
  if (sbuff != null) sbuff.format(" OK\n");
  return gcs;
 }
 return null;
}
origin: Unidata/thredds

/**
 * Determine if the CoordinateSystem cs can be made into a GridCoordSys for the Variable v.
 *
 * @param sbuff put debug information into this StringBuffer; may be null.
 * @param cs    CoordinateSystem to check.
 * @param v     Variable to check.
 * @return the GridCoordSys made from cs, else null.
 */
public static GridCoordSys makeGridCoordSys(Formatter sbuff, CoordinateSystem cs, VariableEnhanced v) {
 if (sbuff != null) {
  sbuff.format(" ");
  v.getNameAndDimensions(sbuff, false, true);
  sbuff.format(" check CS %s: ", cs.getName());
 }
 if (isGridCoordSys(sbuff, cs, v)) {
  GridCoordSys gcs = new GridCoordSys(cs, sbuff);
  if (sbuff != null) sbuff.format(" OK%n");
  return gcs;
 }
 return null;
}
origin: edu.ucar/netcdf

for (CoordinateSystem cs : csList) {
 Element csElem;
 if (GridCoordSys.isGridCoordSys(null, cs, null)) {
  GridCoordSys gcs = new GridCoordSys(cs, null);
  csElem = new Element("gridCoordSystem");
origin: Unidata/thredds

for (CoordinateSystem cs : csList) {
 Element csElem;
 if (GridCoordSys.isGridCoordSys(null, cs, null)) {
  GridCoordSys gcs = new GridCoordSys(cs, null);
  csElem = new Element("gridCoordSystem");
origin: edu.ucar/cdm

for (CoordinateSystem cs : csList) {
 Element csElem;
 if (GridCoordSys.isGridCoordSys(null, cs, null)) {
  GridCoordSys gcs = new GridCoordSys(cs, null);
  csElem = new Element("gridCoordSystem");
ucar.nc2.dt.gridGridCoordSysisGridCoordSys

Javadoc

Determine if this CoordinateSystem can be made into a GridCoordSys. Optionally for a given variable. This currently assumes that the CoordinateSystem:
  1. is georeferencing (cs.isGeoReferencing())
  2. x, y are 1 or 2-dimensional axes.
  3. z, t, if they exist, are 1-dimensional axes.
  4. domain rank > 1

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

  • Updating database using SQL prepared statement
  • scheduleAtFixedRate (ScheduledExecutorService)
  • startActivity (Activity)
  • getContentResolver (Context)
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Window (java.awt)
    A Window object is a top-level window with no borders and no menubar. The default layout for a windo
  • SortedMap (java.util)
    A map that has its keys ordered. The sorting is according to either the natural ordering of its keys
  • JLabel (javax.swing)
  • Reflections (org.reflections)
    Reflections one-stop-shop objectReflections scans your classpath, indexes the metadata, allows you t
  • Top plugins for WebStorm
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