public static class AttributeNames.Dimension extends Object implements Serializable
AttributeNames
class and the other cells give the values assigned in this class fields for those constants.
Field in this class | LATITUDE |
LONGITUDE |
VERTICAL |
TIME |
---|---|---|---|---|
MINIMUM |
"geospatial_lat_min" |
"geospatial_lon_min" |
"geospatial_vertical_min" |
"time_coverage_start" |
MAXIMUM |
"geospatial_lat_max" |
"geospatial_lon_max" |
"geospatial_vertical_max" |
"time_coverage_end" |
SPAN |
"time_coverage_duration" |
|||
RESOLUTION |
"geospatial_lat_resolution" |
"geospatial_lon_resolution" |
"geospatial_vertical_resolution" |
"time_coverage_resolution" |
UNITS |
"geospatial_lat_units" |
"geospatial_lon_units" |
"geospatial_vertical_units" |
"time_coverage_units" |
POSITIVE |
"geospatial_vertical_positive" |
|||
DEFAULT_NAME_TYPE |
DimensionNameType.ROW |
DimensionNameType.COLUMN |
DimensionNameType.VERTICAL |
DimensionNameType.TIME |
Note: The member names in this class are upper-cases because they should be considered as constants. For exampleAttributeNames.LATITUDE.MINIMUM
maps exactly to the"geospatial_lat_min"
string and nothing else. A lower-caseminimum
member name could be misleading since it would suggest that the field contains the actual name value rather than the key by which the value is identified in a NetCDF file.
AttributeNames.Responsible
,
Serialized FormDefined in the sis-netcdf module
Modifier and Type | Field and Description |
---|---|
DimensionNameType |
DEFAULT_NAME_TYPE
The default ISO-19115 dimension name type, or
null if none. |
String |
MAXIMUM
The attribute name for the maximal value of the bounding box (Recommended).
|
String |
MINIMUM
The attribute name for the minimal value of the bounding box (Recommended).
|
String |
POSITIVE
The attribute name for indicating which direction is positive (Suggested).
|
String |
RESOLUTION
The attribute name for a further refinement of the geospatial bounding box
(Suggested).
|
String |
SPAN
The attribute name for the difference between the minimal and maximal values.
|
String |
UNITS
The attribute name for the bounding box units of measurement.
|
Constructor and Description |
---|
AttributeNames.Dimension(DimensionNameType type,
String min,
String max,
String span,
String resolution,
String units,
String positive)
Creates a new set of attribute names.
|
public final String MINIMUM
"geospatial_lat_min"
, "geospatial_lon_min"
,
"geospatial_vertical_min"
and "time_coverage_start"
.public final String MAXIMUM
"geospatial_lat_max"
, "geospatial_lon_max"
,
"geospatial_vertical_max"
and "time_coverage_end"
.public final String SPAN
"time_coverage_duration"
.public final String RESOLUTION
"geospatial_lat_resolution"
,
"geospatial_lon_resolution"
, "geospatial_vertical_resolution"
and "time_coverage_resolution"
.public final String UNITS
"geospatial_lat_units"
, "geospatial_lon_units"
,
"geospatial_vertical_units"
and "time_coverage_units"
.public final String POSITIVE
"geospatial_vertical_positive"
.public final DimensionNameType DEFAULT_NAME_TYPE
null
if none.
By default, DimensionNameType.COLUMN
is associated to longitudes and DimensionNameType.ROW
to latitudes since geographic maps in NetCDF files are typically shown horizontally.
The default associations may not be always correct since the columns and rows can be anything. Strictly speaking, the dimension name types shall be associated to the grid axes rather than the coordinate system axes. However the default association is correct in the common case (for NetCDF files) where there is no axis swapping in the grid to CRS conversion.
public AttributeNames.Dimension(DimensionNameType type, String min, String max, String span, String resolution, String units, String positive)
type
- The default ISO-19115 dimension name type, or null
if none.min
- The attribute name for the minimal value of the bounding box.max
- The attribute name for the maximal value of the bounding box.span
- The attribute name for the difference between the minimal and maximal values.resolution
- The attribute name for a further refinement of the geospatial bounding box.units
- The attribute name for the bounding box units of measurement.positive
- The attribute name for indicating which direction is positive.Copyright © 2010–2013 The Apache Software Foundation. All rights reserved.