congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
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
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • findViewById (Activity)
  • onRequestPermissionsResult (Fragment)
  • Permission (java.security)
    Legacy security code; do not use.
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Map (java.util)
    A Map is a data structure consisting of a set of keys and values in which each key is mapped to a si
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JTextField (javax.swing)
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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