Package ucar.nc2.dataset.transform
Class Geostationary
- java.lang.Object
-
- ucar.nc2.dataset.transform.AbstractTransformBuilder
-
- ucar.nc2.dataset.transform.Geostationary
-
- All Implemented Interfaces:
HorizTransformBuilderIF
public class Geostationary extends AbstractTransformBuilder implements HorizTransformBuilderIF
Describe: http://cfconventions.org/Data/cf-conventions/cf-conventions-1.7/cf-conventions.html#_geostationary_projection Accepted for CF-1.7 grid_mapping_name = geostationary Map parameters: latitude_of_projection_origin longitude_of_projection_origin perspective_point_height semi_minor_axis semi_major_axis inverse_flattening sweep_angle_axis fixed_angle_axis Map coordinates: The x (abscissa) and y (ordinate) rectangular coordinates are identified by the standard_name attribute value projection_x_coordinate and projection_y_coordinate respectively. In the case of this projection, the projection coordinates in this projection are directly related to the scanning angle of the satellite instrument, and their units are radians. Notes: The algorithm for computing the mapping may be found at http://www.eumetsat.int/idcplg?IdcService=GET_FILE&dDocName=PDF_CGMS_03&RevisionSelectionMethod=LatestReleased. This document assumes the point of observation is directly over the equator, and that the sweep_angle_axis is y. Notes on using the PROJ.4 software packages for computing the mapping may be found at http://trac.osgeo.org/proj/wiki/proj%3Dgeos and http://remotesensing.org/geotiff/proj_list/geos.html . The "perspective_point_height" is the distance to the surface of the ellipsoid. Adding the earth major axis gives the distance from the centre of the earth. The "sweep_angle_axis" attribute indicates which axis the instrument sweeps. The value = "y" corresponds to the spin-stabilized Meteosat satellites, the value = "x" to the GOES-R satellite. The "fixed_angle_axis" attribute indicates which axis the instrument is fixed. The values are opposite to "sweep_angle_axis". Only one of those two attributes are mandatory. latitude_of_projection_origin will be taken as zero (at the Equator). inverse_flattening may be specified independent of the semi_minor/major axes (GRS80). If left unspecified it will be computed from semi_minor/major_axis values.- Since:
- 12/5/13
-
-
Field Summary
-
Fields inherited from class ucar.nc2.dataset.transform.AbstractTransformBuilder
earth, earth_radius, false_easting, false_northing, lat0, lon0
-
-
Constructor Summary
Constructors Constructor Description Geostationary()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getTransformName()
Get the Transform name.TransformType
getTransformType()
ProjectionCT
makeCoordinateTransform(AttributeContainer ctv, String geoCoordinateUnits)
Make a ProjectionCT from a Coordinate Transform Variable.-
Methods inherited from class ucar.nc2.dataset.transform.AbstractTransformBuilder
addParameter, getFalseEastingScaleFactor, getFalseEastingScaleFactor, getGeoCoordinateUnits, getGeoCoordinateUnits, readAttributeDouble, setErrorBuffer
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface ucar.nc2.dataset.transform.HorizTransformBuilderIF
setErrorBuffer
-
-
-
-
Method Detail
-
getTransformName
public String getTransformName()
Description copied from interface:HorizTransformBuilderIF
Get the Transform name. Typically this is matched on by an attribute in the dataset.- Specified by:
getTransformName
in interfaceHorizTransformBuilderIF
- Specified by:
getTransformName
in classAbstractTransformBuilder
- Returns:
- name of the transform.
-
getTransformType
public TransformType getTransformType()
-
makeCoordinateTransform
public ProjectionCT makeCoordinateTransform(AttributeContainer ctv, String geoCoordinateUnits)
Description copied from interface:HorizTransformBuilderIF
Make a ProjectionCT from a Coordinate Transform Variable. A ProjectionCT is just a container for the metadata, the real work is in the ProjectionImpl- Specified by:
makeCoordinateTransform
in interfaceHorizTransformBuilderIF
- Parameters:
ctv
- the coordinate transform variable.geoCoordinateUnits
- the geo X/Y coordinate units, or null.- Returns:
- ProjectionCT
-
-