Tabnine Logo
GridCoordSys.isProductSet
Code IndexAdd Tabnine to your IDE (free)

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

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

origin: edu.ucar/cdm

private void constructCoordinateSystems(NetcdfDataset ds, VariableEnhanced v, Formatter parseInfo) {
 if (v instanceof StructureDS) {
  StructureDS s = (StructureDS) v;
  List<Variable> members = s.getVariables();
  for (Variable nested : members) {
   // LOOK flatten here ??
   constructCoordinateSystems(ds, (VariableEnhanced) nested, parseInfo);
  }
 } else {
  // see if it has a GridCS
  // LOOK: should add geogrid it multiple times if there are multiple geoCS ??
  GridCoordSys gcs = null;
  List<CoordinateSystem> csys = v.getCoordinateSystems();
  for (CoordinateSystem cs : csys) {
   GridCoordSys gcsTry = GridCoordSys.makeGridCoordSys(parseInfo, cs, v);
   if (gcsTry != null) {
    gcs = gcsTry;
    if (gcsTry.isProductSet()) break;
   }
  }
  if (gcs != null)
   addGeoGrid((VariableDS) v, gcs, parseInfo);
 }
}
origin: edu.ucar/netcdf

private void constructCoordinateSystems(NetcdfDataset ds, VariableEnhanced v, Formatter parseInfo) {
 if (v instanceof StructureDS) {
  StructureDS s = (StructureDS) v;
  List<Variable> members = s.getVariables();
  for (Variable nested : members) {
   // LOOK flatten here ??
   constructCoordinateSystems(ds, (VariableEnhanced) nested, parseInfo);
  }
 } else {
  // see if it has a GridCS
  // LOOK: should add geogrid it multiple times if there are multiple geoCS ??
  GridCoordSys gcs = null;
  List<CoordinateSystem> csys = v.getCoordinateSystems();
  for (CoordinateSystem cs : csys) {
   GridCoordSys gcsTry = GridCoordSys.makeGridCoordSys(parseInfo, cs, v);
   if (gcsTry != null) {
    gcs = gcsTry;
    if (gcsTry.isProductSet()) break;
   }
  }
  if (gcs != null)
   addGeoGrid((VariableDS) v, gcs, parseInfo);
 }
}
origin: Unidata/thredds

private void constructCoordinateSystems(NetcdfDataset ds, VariableEnhanced v, Formatter parseInfo) {
 if (v instanceof StructureDS) {
  StructureDS s = (StructureDS) v;
  List<Variable> members = s.getVariables();
  for (Variable nested : members) {
   // LOOK flatten here ??
   constructCoordinateSystems(ds, (VariableEnhanced) nested, parseInfo);
  }
 } else {
  // see if it has a GridCS
  // LOOK: should add geogrid it multiple times if there are multiple geoCS ??
  GridCoordSys gcs = null;
  List<CoordinateSystem> csys = v.getCoordinateSystems();
  for (CoordinateSystem cs : csys) {
   GridCoordSys gcsTry = GridCoordSys.makeGridCoordSys(parseInfo, cs, v);
   if (gcsTry != null) {
    gcs = gcsTry;
    if (gcsTry.isProductSet()) break;
   }
  }
  if (gcs != null)
   addGeoGrid((VariableDS) v, gcs, parseInfo);
 }
}
ucar.nc2.dt.gridGridCoordSysisProductSet

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

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • scheduleAtFixedRate (Timer)
  • compareTo (BigDecimal)
  • BigInteger (java.math)
    An immutable arbitrary-precision signed integer.FAST CRYPTOGRAPHY This implementation is efficient f
  • Properties (java.util)
    A Properties object is a Hashtable where the keys and values must be Strings. Each property can have
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • JLabel (javax.swing)
  • Get (org.apache.hadoop.hbase.client)
    Used to perform Get operations on a single row. To get everything for a row, instantiate a Get objec
  • 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