Examples of Grib1Pds


Examples of ucar.grib.grib1.Grib1Pds

   * @return decimal scale
   */
  @Override
  public int getDecimalScale() {
    if (edition == 1) {
      Grib1Pds pds1 = (Grib1Pds) pds;
      return pds1.getDecimalScale();
    } else {
      return GribNumbers.UNDEFINED;
    }
  }
View Full Code Here

Examples of ucar.grib.grib1.Grib1Pds

*/
public abstract class GribPds {

  static public GribPds factory(int edition, byte[] raw, long baseTime, Calendar cal) throws IOException {
    if (edition == 1)
      return new Grib1Pds(raw, cal);
    else
      return Grib2Pds.factory(raw, baseTime, cal);
  }
View Full Code Here

Examples of ucar.grib.grib1.Grib1Pds

          GribPds pdsv = GribPds.factory(ggr.edition, pdsData, refTime, calendar);
          if (pdsv == null) continue;
          ggr.setPds(pdsv);

          if (grid_edition_1) {
            Grib1Pds pds1 = (Grib1Pds) pdsv;
            ggr.bmsExists = pds1.bmsExists();
            ggr.center = pds1.getCenter();
            ggr.subCenter = pds1.getSubCenter();
            ggr.tableVersion = pds1.getParameterTableVersion();

          } else {
            ggr.center = center;
            ggr.subCenter = sub_center;
            ggr.tableVersion = table_version;
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.