congrats Icon
New! Announcing our next generation AI code completions
Read here
Tabnine Logo
GeoTiff.readIntValue
Code IndexAdd Tabnine to your IDE (free)

How to use
readIntValue
method
in
ucar.nc2.geotiff.GeoTiff

Best Java code snippets using ucar.nc2.geotiff.GeoTiff.readIntValue (Showing top 3 results out of 315)

origin: edu.ucar/cdm

private void readValues(ByteBuffer buffer, IFDEntry ifd) {
 if (ifd.type == FieldType.ASCII) {
  ifd.valueS = readSValue(buffer, ifd);
 } else if (ifd.type == FieldType.RATIONAL) {
  ifd.value = new int[ifd.count * 2];
  for (int i = 0; i < ifd.count * 2; i++)
   ifd.value[i] = readIntValue(buffer, ifd);
 } else if (ifd.type == FieldType.FLOAT) {
  ifd.valueD = new double[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.valueD[i] = (double) buffer.getFloat();
 } else if (ifd.type == FieldType.DOUBLE) {
  ifd.valueD = new double[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.valueD[i] = buffer.getDouble();
 } else {
  ifd.value = new int[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.value[i] = readIntValue(buffer, ifd);
 }
}
origin: edu.ucar/netcdf

private void readValues(ByteBuffer buffer, IFDEntry ifd) {
 if (ifd.type == FieldType.ASCII) {
  ifd.valueS = readSValue(buffer, ifd);
 } else if (ifd.type == FieldType.RATIONAL) {
  ifd.value = new int[ifd.count * 2];
  for (int i = 0; i < ifd.count * 2; i++)
   ifd.value[i] = readIntValue(buffer, ifd);
 } else if (ifd.type == FieldType.FLOAT) {
  ifd.valueD = new double[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.valueD[i] = (double) buffer.getFloat();
 } else if (ifd.type == FieldType.DOUBLE) {
  ifd.valueD = new double[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.valueD[i] = buffer.getDouble();
 } else {
  ifd.value = new int[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.value[i] = readIntValue(buffer, ifd);
 }
}
origin: Unidata/thredds

private void readValues(ByteBuffer buffer, IFDEntry ifd) {
 if (ifd.type == FieldType.ASCII) {
  ifd.valueS = readSValue(buffer, ifd);
 } else if (ifd.type == FieldType.RATIONAL) {
  ifd.value = new int[ifd.count * 2];
  for (int i = 0; i < ifd.count * 2; i++)
   ifd.value[i] = readIntValue(buffer, ifd);
 } else if (ifd.type == FieldType.FLOAT) {
  ifd.valueD = new double[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.valueD[i] = (double) buffer.getFloat();
 } else if (ifd.type == FieldType.DOUBLE) {
  ifd.valueD = new double[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.valueD[i] = buffer.getDouble();
 } else {
  ifd.value = new int[ifd.count];
  for (int i = 0; i < ifd.count; i++)
   ifd.value[i] = readIntValue(buffer, ifd);
 }
}
ucar.nc2.geotiffGeoTiffreadIntValue

Popular methods of GeoTiff

  • <init>
    Constructor. Does not open or create the file.
  • findTag
  • showInfo
    Write the geotiff Tag information to out.
  • addGeoKey
  • addTag
  • close
    Close the Geotiff file.
  • init
  • initTags
  • parseGeoInfo
  • readHeader
  • readIFD
  • readIFDEntry
  • readIFD,
  • readIFDEntry,
  • readSValue,
  • readUShortValue,
  • readValues,
  • setTransform,
  • writeData,
  • writeGeoKeys,
  • writeHeader

Popular in Java

  • Parsing JSON documents to java classes using gson
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • requestLocationUpdates (LocationManager)
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • List (java.util)
    An ordered collection (also known as a sequence). The user of this interface has precise control ove
  • ServletException (javax.servlet)
    Defines a general exception a servlet can throw when it encounters difficulty.
  • IOUtils (org.apache.commons.io)
    General IO stream manipulation utilities. This class provides static utility methods for input/outpu
  • 21 Best Atom Packages for 2021
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