maxR = .99 * this.major_axis * Math.sqrt((P - 1) / (P + 1)); addParameter(CF.GRID_MAPPING_NAME, "MSGnavigation"); addParameter(CF.LONGITUDE_OF_PROJECTION_ORIGIN, lon0); addParameter(CF.LATITUDE_OF_PROJECTION_ORIGIN, lat0); addParameter(CF.SEMI_MAJOR_AXIS, major_axis); addParameter(CF.SEMI_MINOR_AXIS, minor_axis); addParameter(HEIGHT_FROM_EARTH_CENTER, sat_height); addParameter(SCALE_X, scale_x); addParameter(SCALE_Y, scale_y);
maxR = .99 * this.major_axis * Math.sqrt((P - 1) / (P + 1)); addParameter(CF.GRID_MAPPING_NAME, "MSGnavigation"); addParameter(CF.LONGITUDE_OF_PROJECTION_ORIGIN, lon0); addParameter(CF.LATITUDE_OF_PROJECTION_ORIGIN, lat0); addParameter(CF.SEMI_MAJOR_AXIS, major_axis); addParameter(CF.SEMI_MINOR_AXIS, minor_axis); addParameter(HEIGHT_FROM_EARTH_CENTER, sat_height); addParameter(SCALE_X, scale_x); addParameter(SCALE_Y, scale_y);
maxR2 = maxR * maxR; addParameter(CF.GRID_MAPPING_NAME, "MSGnavigation"); addParameter(CF.LONGITUDE_OF_PROJECTION_ORIGIN, new Double(lon0)); addParameter(CF.LATITUDE_OF_PROJECTION_ORIGIN, new Double(lat0)); addParameter(CF.SEMI_MAJOR_AXIS, new Double(major_axis)); addParameter(CF.SEMI_MINOR_AXIS, new Double(minor_axis)); addParameter(HEIGHT_FROM_EARTH_CENTER, new Double(sat_height)); addParameter(SCALE_X, new Double(scale_x)); addParameter(SCALE_Y, new Double(scale_y));
maxR2 = maxR * maxR; addParameter("grid_mapping_name", "MSGnavigation"); addParameter("longitude_of_projection_origin", new Double(lon0)); addParameter("latitude_of_projection_origin", new Double(lat0)); addParameter("semi_major_axis", new Double(major_axis)); addParameter("semi_minor_axis", new Double(minor_axis)); addParameter("height_from_earth_center", new Double(sat_height)); addParameter("scale_x", new Double(scale_x)); addParameter("scale_y", new Double(scale_y));