congrats Icon
New! Announcing our next generation AI code completions
Read here
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

  • Reading from database using SQL prepared statement
  • getContentResolver (Context)
  • getResourceAsStream (ClassLoader)
  • notifyDataSetChanged (ArrayAdapter)
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • RandomAccessFile (java.io)
    Allows reading from and writing to a file in a random-access manner. This is different from the uni-
  • URLConnection (java.net)
    A connection to a URL for reading or writing. For HTTP connections, see HttpURLConnection for docume
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • ImageIO (javax.imageio)
  • Top 17 PhpStorm Plugins
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