Java Doc for NetcdfReadParam.java in  » GIS » GeoTools-2.4.1 » org » geotools » image » io » netcdf » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » GIS » GeoTools 2.4.1 » org.geotools.image.io.netcdf 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.geotools.image.io.GeographicImageReadParam
   org.geotools.image.io.netcdf.NetcdfReadParam

NetcdfReadParam
public class NetcdfReadParam extends GeographicImageReadParam (Code)
Default parameters for NetcdfImageReader .
since:
   2.4
version:
   $Id: NetcdfReadParam.java 27071 2007-09-19 19:02:54Z desruisseaux $
author:
   Martin Desruisseaux


Field Summary
final static  intDEFAULT_INDICE
     The default source band to read from the NetCDF file.

Constructor Summary
public  NetcdfReadParam(ImageReader reader)
     Creates a new, initially empty, set of parameters.

Method Summary
public  intgetBandDimension(VariableEnhanced variable)
     Returns the dimension to assign to bands for the specified variable.
public  AxisType[]getBandDimensionTypes()
     Returns the dimension assigned to bands.
public  intgetSliceIndice(AxisType axis)
     Returns the indice to set at the dimension of the specified axis.
final  booleanhasNonDefaultIndices()
     Returns true if this set of parameters contains a least one indice defined to a value different than 0.
public  voidsetBandDimensionTypes(AxisType[] types)
     Assigns the dimension of the specified types to bands.
public  voidsetSliceIndice(AxisType dimension, int indice)
     Sets the indice for the dimension of the specified axis.

Field Detail
DEFAULT_INDICE
final static int DEFAULT_INDICE(Code)
The default source band to read from the NetCDF file. Also the default indice for any additional dimension after the one assigned to bands. We use the same default for consistency, because the third dimension (typically z) could be selected either by NetcdfReadParam.setSourceBands or by NetcdfReadParam.setSliceIndice ; the relevant method depends on NetcdfImageReader.getBandDimension value.




Constructor Detail
NetcdfReadParam
public NetcdfReadParam(ImageReader reader)(Code)
Creates a new, initially empty, set of parameters.
Parameters:
  reader - The reader for which this parameter block is created




Method Detail
getBandDimension
public int getBandDimension(VariableEnhanced variable)(Code)
Returns the dimension to assign to bands for the specified variable. The default implementation returns the last dimension corresponding to one of the types specified to NetcdfReadParam.setBandDimensionTypes .

Example: For a NetCDF variable having dimensions in the (t,z,y,x) order (as in CF convention), if the and types have been to bands, then this method will returns the index of the z dimension, i.e. 1 .
Parameters:
  variable - The variable for which we want to determine the dimension to assign to bands. The dimension assigned to bands, or -1 if none.




getBandDimensionTypes
public AxisType[] getBandDimensionTypes()(Code)
Returns the dimension assigned to bands. This method returns the values given to the last call to NetcdfReadParam.setBandDimensionTypes , or null if none.



getSliceIndice
public int getSliceIndice(AxisType axis)(Code)
Returns the indice to set at the dimension of the specified axis. This is relevant only for n-dimensional data set where n>2. This method returns the last value set by NetcdfReadParam.setSliceIndice .
Parameters:
  dimension - The axis type (typically or). The indice to set at the dimension of the specified axis (0 by default).



hasNonDefaultIndices
final boolean hasNonDefaultIndices()(Code)
Returns true if this set of parameters contains a least one indice defined to a value different than 0.



setBandDimensionTypes
public void setBandDimensionTypes(AxisType[] types)(Code)
Assigns the dimension of the specified types to bands. For example in a NetCDF variable having (t,y,x) dimensions, it may be useful to treat the t dimension as bands. After invoking this method with the value, users can select a time through the standard NetcdfReadParam.setSourceBands API.

More than one type may be specified if they should be considered as synonymous. For example in order to assign the z dimension to bands, it may be necessary to specify both the and types.
Parameters:
  type - The types of dimension to assign to bands.




setSliceIndice
public void setSliceIndice(AxisType dimension, int indice)(Code)
Sets the indice for the dimension of the specified axis. This is relevant only for n-dimensional data set where n>2. For example in 4-D data set with (x,y,z,t) axis, those indices may be used by image readers for z and t dimensions.

The default value is 0 for all cases. This means that for the above-cited 4-D data set, only the image at the first time (t=0) and first altitude (z=0) is selected.
Parameters:
  dimension - The axis type (typically or).
Parameters:
  indice - The indice as a positive value.




Fields inherited from org.geotools.image.io.GeographicImageReadParam
final public static String DEFAULT_PALETTE_NAME(Code)(Java Doc)

Methods inherited from org.geotools.image.io.GeographicImageReadParam
public String getPaletteName()(Code)(Java Doc)
public int getVisibleBand()(Code)(Java Doc)
public void setPaletteName(String palette)(Code)(Java Doc)
public void setVisibleBand(int visibleBand) throws IllegalArgumentException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.