Example #1
0
 /**
  * Get a short name for this GDSKey for the netCDF group. Subclasses should implement as a short
  * description
  *
  * @return short name
  */
 public String getGroupName() {
   StringBuffer buf = new StringBuffer();
   buf.append(getParam(PROJ));
   buf.append("_");
   buf.append(getParam(NX));
   buf.append("x");
   buf.append(getParam(NY));
   return buf.toString();
 }
Example #2
0
 /**
  * Print out a string representation of this
  *
  * @return a String representation of this.
  */
 public String toString() {
   // TODO: make this more unique
   StringBuffer buf = new StringBuffer(getParam(PROJ));
   buf.append(" X:");
   buf.append(getParam(NX));
   buf.append(" ");
   buf.append("Y:");
   buf.append(getParam(NY));
   return buf.toString();
 }