title: I want to add an object to ArrayList but having issue doing it.
body: <pre><code>/**
       *  Add Lambert Conformal CRS to variables
       *  
       * @param field
       * @return
       * @throws Exception
  */
  
  public CoverageField getCRS(CoverageField field) throws Exception {
    log.debug("No problem returning crsField");
    List&lt;TemporalCube&gt; tc = field.getTimeCube();
    CoverageDimensions cd = field.getDimensions();
    CoverageField crsField = new CoverageField(tc,cd);
    crsField.setName("LambertConformal_Projection");
    crsField.setStandardName("Lambert Conformal Projection");
    crsField.setUnits("");
    crsField.setPaddingValue(0);
    return crsField;
  }
  </code></pre>
  
  <p>Getting an error "Problem formatting coverage" after I added the above code to my existing  project. Don't know if I'm doing it right.</p>