Returns the {@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} or{@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} view of this sample dimension.By definition, a
geophysics sample dimension is a sample dimension with a {@linkplain #getRange range of sample values} transformed in such a way that the{@linkplain #getSampleToGeophysics sample to geophysics} transform is always the{@linkplain MathTransform1D#isIdentity identity} transform, or {@code null} if no suchtransform existed in the first place. In other words, the range of sample values in all {@linkplain Category categories} maps directly the "
real world" valueswithout the need for any transformation.
{@code GridSampleDimension} objects live by pair: a{@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} one (used forcomputation) and a {@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} one(used for storing data, usually as integers). The {@code geo} argument specifies whichobject from the pair is wanted, regardless if this method is invoked on the geophysics or packed instance of the pair.
@param geo {@code true} to get a sample dimension with an identity{@linkplain #getSampleToGeophysics transform} and a {@linkplain #getRange range ofvalues} matching the {@linkplain org.geotools.coverage.grid.ViewType#GEOPHYSICS geophysics} values, or {@code false} to get back the{@linkplain org.geotools.coverage.grid.ViewType#PACKED packed} sample dimension.
@return The sample dimension. Never {@code null}, but may be {@code this}.
@see Category#geophysics
@see org.geotools.coverage.grid.GridCoverage2D#view