Tabnine Logo
NUWGConvention$NavInfo.getName
Code IndexAdd Tabnine to your IDE (free)

How to use
getName
method
in
ucar.nc2.dataset.conv.NUWGConvention$NavInfo

Best Java code snippets using ucar.nc2.dataset.conv.NUWGConvention$NavInfo.getName (Showing top 15 results out of 315)

origin: edu.ucar/cdm

 public String toString() {
  buf.setLength(0);
  buf.append(getName());
  buf.append(" ");
  Format.tab(buf, 15, true);
  buf.append(getStringValue());
  buf.append(" ");
  Format.tab(buf, 35, true);
  buf.append(getDescription());
  return buf.toString();
 }
}
origin: edu.ucar/netcdf

 public String toString() {
  buf.setLength(0);
  buf.append(getName());
  buf.append(" ");
  Format.tab(buf, 15, true);
  buf.append(getStringValue());
  buf.append(" ");
  Format.tab(buf, 35, true);
  buf.append(getDescription());
  return buf.toString();
 }
}
origin: edu.ucar/netcdf

public NavInfo findInfo( String name) {
 Iterator iter = iterator();
 while (iter.hasNext()) {
  NavInfo nav = (NavInfo) iter.next();
  if (name.equalsIgnoreCase(nav.getName()))
   return nav;
 }
 return null;
}
origin: edu.ucar/cdm

NavInfo( Variable ncvar) throws IOException {
 this.ncvar = ncvar;
 valueType = ncvar.getDataType();
 try {
  if ((valueType == DataType.CHAR) || (valueType == DataType.STRING))
   svalue =  ncvar.readScalarString();
  else if (valueType == DataType.BYTE)
   bvalue = ncvar.readScalarByte();
  else if ((valueType == DataType.INT) || (valueType == DataType.SHORT))
   ivalue = ncvar.readScalarInt();
  else
   dvalue = ncvar.readScalarDouble();
 } catch (java.lang.UnsupportedOperationException e) {
  parseInfo.format("Nav variable %s  not a scalar%n", getName());
 }
 //List<String> values = new ArrayList<String>();
 //values.add( getStringValue());
 // ncDataset.setValues( ncvar, values); // WHY?
}
origin: Unidata/thredds

NavInfo( Variable ncvar) throws IOException {
 this.ncvar = ncvar;
 valueType = ncvar.getDataType();
 try {
  if ((valueType == DataType.CHAR) || (valueType == DataType.STRING))
   svalue =  ncvar.readScalarString();
  else if (valueType == DataType.BYTE)
   bvalue = ncvar.readScalarByte();
  else if ((valueType == DataType.INT) || (valueType == DataType.SHORT))
   ivalue = ncvar.readScalarInt();
  else
   dvalue = ncvar.readScalarDouble();
 } catch (java.lang.UnsupportedOperationException e) {
  parseInfo.format("Nav variable %s  not a scalar%n", getName());
 }
 //List<String> values = new ArrayList<String>();
 //values.add( getStringValue());
 // ncDataset.setValues( ncvar, values); // WHY?
}
origin: edu.ucar/netcdf

NavInfo( Variable ncvar) throws IOException {
 this.ncvar = ncvar;
 valueType = ncvar.getDataType();
 try {
  if ((valueType == DataType.CHAR) || (valueType == DataType.STRING))
   svalue =  ncvar.readScalarString();
  else if (valueType == DataType.BYTE)
   bvalue = ncvar.readScalarByte();
  else if ((valueType == DataType.INT) || (valueType == DataType.SHORT))
   ivalue = ncvar.readScalarInt();
  else
   dvalue = ncvar.readScalarDouble();
 } catch (java.lang.UnsupportedOperationException e) {
  parseInfo.format("Nav variable %s  not a scalar\n", getName());
 }
 //List<String> values = new ArrayList<String>();
 //values.add( getStringValue());
 // ncDataset.setValues( ncvar, values); // WHY?
}
origin: edu.ucar/netcdf

public int compare(NavInfo n1, NavInfo n2) {
 return n1.getName().compareTo( n2.getName());
}
public boolean equals(Object obj) {
origin: Unidata/thredds

 public String toString() {
  buf.setLength(0);
  buf.append(getName());
  buf.append(" ");
  Format.tab(buf, 15, true);
  buf.append(getStringValue());
  buf.append(" ");
  Format.tab(buf, 35, true);
  buf.append(getDescription());
  return buf.toString();
 }
}
origin: edu.ucar/netcdf

public String getDescription() {
 Attribute att = ncvar.findAttributeIgnoreCase(CDM.LONG_NAME);
 return (att == null) ? getName() : att.getStringValue();
}
public DataType getValueType() { return valueType; }
origin: Unidata/thredds

public int compare(NavInfo n1, NavInfo n2) {
 return n1.getName().compareTo( n2.getName());
}
public boolean equals(Object obj) {
origin: edu.ucar/cdm

public int compare(NavInfo n1, NavInfo n2) {
 return n1.getName().compareTo( n2.getName());
}
public boolean equals(Object obj) {
origin: edu.ucar/cdm

public NavInfo findInfo( String name) {
 for (NavInfo nav : this) {
  if (name.equalsIgnoreCase(nav.getName()))
   return nav;
 }
 return null;
}
origin: edu.ucar/cdm

public String getDescription() {
 Attribute att = ncvar.findAttributeIgnoreCase(CDM.LONG_NAME);
 return (att == null) ? getName() : att.getStringValue();
}
public DataType getValueType() { return valueType; }
origin: Unidata/thredds

public String getDescription() {
 Attribute att = ncvar.findAttributeIgnoreCase(CDM.LONG_NAME);
 return (att == null) ? getName() : att.getStringValue();
}
public DataType getValueType() { return valueType; }
origin: Unidata/thredds

public NavInfo findInfo( String name) {
 for (NavInfo nav : this) {
  if (name.equalsIgnoreCase(nav.getName()))
   return nav;
 }
 return null;
}
ucar.nc2.dataset.convNUWGConvention$NavInfogetName

Popular methods of NUWGConvention$NavInfo

  • <init>
  • getDescription
  • getStringValue

Popular in Java

  • Parsing JSON documents to java classes using gson
  • onRequestPermissionsResult (Fragment)
  • getSupportFragmentManager (FragmentActivity)
  • scheduleAtFixedRate (Timer)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • FileWriter (java.io)
    A specialized Writer that writes to a file in the file system. All write requests made by calling me
  • Path (java.nio.file)
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • TimerTask (java.util)
    The TimerTask class represents a task to run at a specified time. The task may be run once or repeat
  • Top plugins for Android Studio
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