Codota Logo
VariableSimpleIF.findAttributeIgnoreCase
Code IndexAdd Codota to your IDE (free)

How to use
findAttributeIgnoreCase
method
in
ucar.nc2.VariableSimpleIF

Best Java code snippets using ucar.nc2.VariableSimpleIF.findAttributeIgnoreCase (Showing top 10 results out of 315)

  • Common ways to obtain VariableSimpleIF
private void myMethod () {
VariableSimpleIF v =
  • Codota IconIterator iterator;(VariableSimpleIF) iterator.next()
  • Codota IconHashMap hashMap;Object key;(VariableSimpleIF) hashMap.get(key)
  • Codota IconTrajectoryObsDataset trajectoryObsDataset;String str;trajectoryObsDataset.getDataVariable(str)
  • Smart code suggestions by Codota
}
origin: Unidata/thredds

public ucar.nc2.Attribute findAttributeIgnoreCase(String attName){
 return v.findAttributeIgnoreCase(attName);
}
origin: edu.ucar/netcdf

public ucar.nc2.Attribute findAttributeIgnoreCase(String attName){
 return v.findAttributeIgnoreCase(attName);
}
origin: edu.ucar/cdm

public ucar.nc2.Attribute findAttributeIgnoreCase(String attName){
 return v.findAttributeIgnoreCase(attName);
}
origin: Unidata/thredds

public ThreddsMetadata.VariableGroup extractVariables(FeatureDatasetPoint fd) {
 List<ThreddsMetadata.Variable> vars = new ArrayList<>();
 List<VariableSimpleIF> dataVars = fd.getDataVariables();
 if (dataVars == null)
  return null;
 for (VariableSimpleIF v : dataVars) {
  String name = v.getShortName();
  String desc = v.getDescription();
  String units = v.getUnitsString();
  String vname = null;
  String id = null;
  ucar.nc2.Attribute att = v.findAttributeIgnoreCase("standard_name");
  if (att != null)
   vname = att.getStringValue();
  vars.add(new ThreddsMetadata.Variable(name, desc, vname, units, id));
 }
 Collections.sort(vars);
                      // String vocab, String vocabHref, URI vocabUri, URI mapUri, List<Variable> variables
 return new ThreddsMetadata.VariableGroup("CF-1.0", null, null, vars);
}
origin: Unidata/thredds

v.setUnits( vs.getUnitsString());
ucar.nc2.Attribute att = vs.findAttributeIgnoreCase("standard_name");
if (att != null)
 v.setVocabularyName(att.getStringValue());
origin: edu.ucar/cdm

static public ThreddsMetadata.Variables extractVariables(FeatureDatasetPoint fd) {
 ThreddsMetadata.Variables vars = new ThreddsMetadata.Variables("CF-1.5");
 List<VariableSimpleIF> dataVars =  fd.getDataVariables();
 if (dataVars == null)
  return vars;
 for (VariableSimpleIF v : dataVars) {
  ThreddsMetadata.Variable tv = new ThreddsMetadata.Variable();
  vars.addVariable(tv);
  tv.setName(v.getShortName());
  tv.setDescription(v.getDescription());
  tv.setUnits(v.getUnitsString());
  ucar.nc2.Attribute att = v.findAttributeIgnoreCase("standard_name");
  if (att != null)
    tv.setVocabularyName(att.getStringValue());
 }
 vars.sort();
 return vars;
}
origin: edu.ucar/netcdf

v.setUnits( vs.getUnitsString());
ucar.nc2.Attribute att = vs.findAttributeIgnoreCase("standard_name");
if (att != null)
 v.setVocabularyName(att.getStringValue());
origin: edu.ucar/cdm

v.setUnits( vs.getUnitsString());
ucar.nc2.Attribute att = vs.findAttributeIgnoreCase("standard_name");
if (att != null)
 v.setVocabularyName(att.getStringValue());
origin: Unidata/thredds

static public ThreddsMetadata.Variables extractVariables(FeatureDatasetPoint fd) {
 ThreddsMetadata.Variables vars = new ThreddsMetadata.Variables("CF-1.5");
 List<VariableSimpleIF> dataVars =  fd.getDataVariables();
 if (dataVars == null)
  return vars;
 for (VariableSimpleIF v : dataVars) {
  ThreddsMetadata.Variable tv = new ThreddsMetadata.Variable();
  vars.addVariable(tv);
  tv.setName(v.getShortName());
  tv.setDescription(v.getDescription());
  tv.setUnits(v.getUnitsString());
  ucar.nc2.Attribute att = v.findAttributeIgnoreCase("standard_name");
  if (att != null)
    tv.setVocabularyName(att.getStringValue());
 }
 vars.sort();
 return vars;
}
origin: edu.ucar/netcdf

static public ThreddsMetadata.Variables extractVariables(FeatureDatasetPoint fd) {
 ThreddsMetadata.Variables vars = new ThreddsMetadata.Variables("CF-1.5");
 List<VariableSimpleIF> dataVars =  fd.getDataVariables();
 if (dataVars == null)
  return vars;
 for (VariableSimpleIF v : dataVars) {
  ThreddsMetadata.Variable tv = new ThreddsMetadata.Variable();
  vars.addVariable(tv);
  tv.setName(v.getShortName());
  tv.setDescription(v.getDescription());
  tv.setUnits(v.getUnitsString());
  ucar.nc2.Attribute att = v.findAttributeIgnoreCase("standard_name");
  if (att != null)
    tv.setVocabularyName(att.getStringValue());
 }
 vars.sort();
 return vars;
}
ucar.nc2VariableSimpleIFfindAttributeIgnoreCase

Javadoc

find the attribute for the variable with the given name, ignoring case.

Popular methods of VariableSimpleIF

  • getShortName
    short name of the data Variable
  • getDescription
    description of the Variable
  • getUnitsString
    Units of the Variable. These should be udunits compatible if possible
  • getAttributes
    Attributes for the variable.
  • getDataType
    Variable's data type
  • getDimensions
    Dimension List. empty for a scalar variable.
  • getFullName
    full, backslash escaped name of the data Variable
  • getRank
    Variable rank
  • getShape
    Variable shape

Popular in Java

  • Updating database using SQL prepared statement
  • notifyDataSetChanged (ArrayAdapter)
  • addToBackStack (FragmentTransaction)
  • putExtra (Intent)
  • Table (com.google.common.collect)
    A collection that associates an ordered pair of keys, called a row key and a column key, with a sing
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • TimeZone (java.util)
    TimeZone represents a time zone offset, and also figures out daylight savings. Typically, you get a
  • DataSource (javax.sql)
    A factory for connections to the physical data source that this DataSource object represents. An alt
  • Runner (org.openjdk.jmh.runner)
  • Option (scala)
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