congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ucar.unidata.geoloc.projection.sat
Code IndexAdd Tabnine to your IDE (free)

How to use ucar.unidata.geoloc.projection.sat

Best Java code snippets using ucar.unidata.geoloc.projection.sat (Showing top 20 results out of 315)

origin: edu.ucar/cdm

public Geostationary() {
 super(NAME, false);
 navigation = new GEOSTransform();
 makePP();
}
origin: Unidata/thredds

public GEOSTransform(double subLonDegrees,
           double perspective_point_height,
           double semi_minor_axis,
           double semi_major_axis,
           String sweep_angle_axis) {
 Geoid geoid = new Geoid(semi_minor_axis, semi_major_axis);
 scan_geom = sweepAngleAxisToScanGeom(sweep_angle_axis);
 init(subLonDegrees, scan_geom, geoid, perspective_point_height);
}
origin: Unidata/thredds

private void makePP() {
 addParameter(CF.GRID_MAPPING_NAME, NAME);
 addParameter(CF.LONGITUDE_OF_PROJECTION_ORIGIN, navigation.sub_lon_degrees);
 addParameter(CF.LATITUDE_OF_PROJECTION_ORIGIN, 0.0);
 addParameter(CF.PERSPECTIVE_POINT_HEIGHT, navigation.sat_height * 1000.0);
 addParameter(CF.SWEEP_ANGLE_AXIS, GEOSTransform.scanGeomToSweepAngleAxis(navigation.scan_geom));
 addParameter(CF.SEMI_MAJOR_AXIS, navigation.r_eq * 1000.0);
 addParameter(CF.SEMI_MINOR_AXIS, navigation.r_pol * 1000.0);
}
origin: edu.ucar/unidataCommon

/**
 * copy constructor - avoid clone !!
 */
@Override
public ProjectionImpl constructCopy() {
 return new MSGnavigation(lat0, lon0, 1000 * major_axis, 1000 * minor_axis, 1000 * sat_height, scale_x, scale_y);
}
origin: edu.ucar/cdm

/**
 * Create a ProjectionRect from the given LatLonRect.
 * Handles lat/lon points that do not intersect the projection panel.
 *
 * @param rect the LatLonRect
 * @return ProjectionRect, or null if no part of the LatLonRect intersects the projection plane
 */
@Override
public ProjectionRect latLonToProjBB(LatLonRect rect) {
 BoundingBoxHelper bbhelper = new BoundingBoxHelper(this, maxR);
 return bbhelper.latLonToProjBB(rect);
}
origin: Unidata/thredds

public Geostationary(double subLonDegrees, String sweepAngleAxis, double geoCoordinateScaleFactor) {
 super(NAME, false);
 String scanGeometry = GEOSTransform.sweepAngleAxisToScanGeom(sweepAngleAxis);
 navigation = new GEOSTransform(subLonDegrees, scanGeometry);
 if (geoCoordinateScaleFactor > 0) {
  isGeoCoordinateScaled = true;
  this.geoCoordinateScaleFactor = geoCoordinateScaleFactor;
 }
 makePP();
}
origin: edu.ucar/cdm

public GEOSTransform(double subLonDegrees,
           double perspective_point_height,
           double semi_minor_axis,
           double semi_major_axis,
           String sweep_angle_axis) {
 Geoid geoid = new Geoid(semi_minor_axis, semi_major_axis);
 init(subLonDegrees, scan_geom, geoid, perspective_point_height);
}
origin: Unidata/thredds

/**
 * copy constructor - avoid clone !!
 */
@Override
public ProjectionImpl constructCopy() {
 // constructor takes sweep_angle_axis, so need to translate between
 // scan geometry and sweep_angle_axis first
 // GOES: x
 // GEOS: y
 String sweepAxisAngle = GEOSTransform.scanGeomToSweepAngleAxis(navigation.scan_geom);
 return new Geostationary(navigation.sub_lon_degrees, sweepAxisAngle, geoCoordinateScaleFactor);
}
origin: edu.ucar/cdm

/**
 * Transform integer FGF coordinates to (longitude, latitude) of pixel center
 * The (i,j) pixel, zero-based, refers to the pixel center.
 *
 * @param scale_x  scaleFactor from the x coordinate variable
 * @param offset_x addOffset from the x coordinate variable
 * @param scale_y  scaleFactor from the y coordinate variable
 * @param offset_y addOffset from the y coordinate variable
 * @return (Longitude, Latitude), units: degrees, of FGF (i,j) pixel center
 */
public double[] elemLineToEarth(int elem, int line, double scale_x, double offset_x, double scale_y, double offset_y) {
 return FGFtoEarth((double) elem, (double) line, scale_x, offset_x, scale_y, offset_y);
}
origin: edu.ucar/cdm

/**
 * copy constructor - avoid clone !!
 */
@Override
public ProjectionImpl constructCopy() {
 return new Geostationary(navigation.sub_lon_degrees, navigation.scan_geom);
}
origin: Unidata/thredds

public Geostationary() {
 super(NAME, false);
 navigation = new GEOSTransform();
 makePP();
}
origin: Unidata/thredds

/**
 * Create a ProjectionRect from the given LatLonRect.
 * Handles lat/lon points that do not intersect the projection panel.
 *
 * @param rect the LatLonRect
 * @return ProjectionRect, or null if no part of the LatLonRect intersects the projection plane
 */
@Override
public ProjectionRect latLonToProjBB(LatLonRect rect) {
 BoundingBoxHelper bbhelper = new BoundingBoxHelper(this, maxR);
 return bbhelper.latLonToProjBB(rect);
}
origin: Unidata/thredds

public Geostationary(double subLonDegrees, boolean isSweepX) {
 super(NAME, false);
 String sweepAngleAxis = "y";
 if (isSweepX) {
  sweepAngleAxis = "x";
 }
 String scanGeometry = GEOSTransform.sweepAngleAxisToScanGeom(sweepAngleAxis);
 navigation = new GEOSTransform(subLonDegrees, scanGeometry);
 makePP();
}
origin: Unidata/thredds

/**
 * Transform integer FGF coordinates to (longitude, latitude) of pixel center
 * The (i,j) pixel, zero-based, refers to the pixel center.
 *
 * @param scale_x  scaleFactor from the x coordinate variable
 * @param offset_x addOffset from the x coordinate variable
 * @param scale_y  scaleFactor from the y coordinate variable
 * @param offset_y addOffset from the y coordinate variable
 * @return (Longitude, Latitude), units: degrees, of FGF (i,j) pixel center
 */
public double[] elemLineToEarth(int elem, int line, double scale_x, double offset_x, double scale_y, double offset_y) {
 return FGFtoEarth((double) elem, (double) line, scale_x, offset_x, scale_y, offset_y);
}
origin: edu.ucar/cdm

public Geostationary(double subLonDegrees) {
 super(NAME, false);
 navigation = new GEOSTransform(subLonDegrees, GEOSTransform.GOES);
 makePP();
}
origin: edu.ucar/cdm

/**
 * Create a ProjectionRect from the given LatLonRect.
 * Handles lat/lon points that do not intersect the projection panel.
 *
 * @param rect the LatLonRect
 * @return ProjectionRect, or null if no part of the LatLonRect intersects the projection plane
 */
@Override
public ProjectionRect latLonToProjBB(LatLonRect rect) {
 BoundingBoxHelper bbhelper = new BoundingBoxHelper(this, maxR);
 return bbhelper.latLonToProjBB(rect);
}
origin: Unidata/thredds

public Geostationary(double subLonDegrees) {
 super(NAME, false);
 navigation = new GEOSTransform(subLonDegrees, GEOSTransform.GOES);
 makePP();
}
origin: Unidata/thredds

/**
 * Create a ProjectionRect from the given LatLonRect.
 * Handles lat/lon points that do not intersect the projection panel.
 *
 * @param rect the LatLonRect
 * @return ProjectionRect, or null if no part of the LatLonRect intersects the projection plane
 */
@Override
public ProjectionRect latLonToProjBB(LatLonRect rect) {
 BoundingBoxHelper bbhelper = new BoundingBoxHelper(this, maxR);
 return bbhelper.latLonToProjBB(rect);
}
origin: edu.ucar/cdm

public Geostationary(double subLonDegrees, boolean isSweepX) {
 super(NAME, false);
 String scanGeometry = GEOSTransform.GOES;
 if (!isSweepX) {
  scanGeometry = GEOSTransform.GEOS;
 }
 navigation = new GEOSTransform(subLonDegrees, scanGeometry);
 makePP();
}
origin: edu.ucar/cdm

public Geostationary(double subLonDegrees, String sweepAngleAxis) {
 super(NAME, false);
 String scanGeometry = GEOSTransform.GOES;
 if (sweepAngleAxis.equals("x")) {
   scanGeometry = GEOSTransform.GOES;
 }
 else if (sweepAngleAxis.equals("y")) {
   scanGeometry = GEOSTransform.GEOS;
 }
 navigation = new GEOSTransform(subLonDegrees, scanGeometry);
 makePP();
}
ucar.unidata.geoloc.projection.sat

Most used classes

  • MSGnavigation
    Port Eumetsat MSG_navigation.c to java from http://www.eumetsat.int/idcplg?IdcService=GET_FILE&dDocN
  • BoundingBoxHelper
    Describe
  • GEOSTransform$Geoid
    Earth Geoid definitions Note: CGMS Doc No CGMS 03, Issue 2.6 states the following geoid parameters:
  • GEOSTransform
    Geostationary Transform
  • Geostationary
    Describe: https://cf-pcmdi.llnl.gov/trac/ticket/72 Accepted for CF-1.7 grid_mapping_name = geostatio
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now