congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
VariableSimpleIF.findAttributeIgnoreCase
Code IndexAdd Tabnine 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)

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)
  • requestLocationUpdates (LocationManager)
  • getSupportFragmentManager (FragmentActivity)
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Handler (java.util.logging)
    A Handler object accepts a logging request and exports the desired messages to a target, for example
  • Table (org.hibernate.mapping)
    A relational table
  • From CI to AI: The AI layer in your organization
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