code: protected static ArrayList getSoilLayer(HashMap data) {
          if (data.containsKey("soil") || !data.containsKey("soilLayer")) {
              return MapUtil.getBucket(data, "soil").getDataList();
          } else {
              return new BucketEntry(data).getDataList();
          }
      }
docs: Get soil layer data array from data holder.
  
  @param data The experiment data holder
  @return The soil layer data array