Examples of ProjectionCT


Examples of ucar.nc2.dataset.ProjectionCT

  public CoordinateTransform makeCoordinateTransform(NetcdfDataset ds, Variable ctv) {
    double lon0 = readAttributeDouble( ctv, "longitude_of_projection_origin", Double.NaN);
    double lat0 = readAttributeDouble( ctv, "latitude_of_projection_origin", Double.NaN);

    ucar.unidata.geoloc.projection.FlatEarth proj = new ucar.unidata.geoloc.projection.FlatEarth(lat0, lon0);
    return new ProjectionCT(ctv.getShortName(), "FGDC", proj);
  }
View Full Code Here

Examples of ucar.nc2.dataset.ProjectionCT

      double scale_x = readAttributeDouble( ctv, "scale_x", Double.NaN);
      double scale_y = readAttributeDouble( ctv, "scale_y", Double.NaN);

      //ProjectionImpl proj = new ucar.unidata.geoloc.projection.sat.MSGnavigation(lat0, lon0, major_axis, minor_axis, height, scale_x, scale_y);
      ProjectionImpl proj = new ucar.unidata.geoloc.projection.sat.MSGnavigation(lat0, lon0, minor_axis, major_axis, height, scale_x, scale_y)// LOOK WTF?
      return new ProjectionCT(ctv.getShortName(), "FGDC", proj);
    }
View Full Code Here

Examples of ucar.nc2.dataset.ProjectionCT

  public CoordinateTransform makeCoordinateTransform(NetcdfDataset ds, Variable ctv) {
    double lon = readAttributeDouble( ctv, "grid_north_pole_longitude", Double.NaN);
    double lat = readAttributeDouble( ctv, "grid_north_pole_latitude", Double.NaN);

    ucar.unidata.geoloc.projection.RotatedPole proj = new ucar.unidata.geoloc.projection.RotatedPole( lat, lon);
    return new ProjectionCT(ctv.getShortName(), "FGDC", proj);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.