V2_1.java [src/java/d/soils/wwe02_wepssoilinput] Revision: default  Date:
/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package d.soils.wwe02_wepssoilinput;

import csip.annotations.Resource;
import static csip.annotations.ResourceType.FILE;
import javax.ws.rs.Path;
import csip.annotations.Description;
import csip.annotations.Name;
import soils.Component;
import soils.db.DBResources;

/**
 *
 * @author Brad
 */
@Name("WWE-02:  WEPS Soil Input IFC (wepssoilinput)")
@Description("Gets data from the NRCS Soil Data Mart and generates a soil IFC input file for the WEPS model. Added the long name for WEPS team.")
@Path("d/wepssoilinput/2.1")
@Resource(from = DBResources.class)
@Resource(type = FILE, file = "/data/StratifiedTextures.txt", id = "stratified")
public class V2_1 extends V2_0 {

  @Override
  protected String buildFileName(Component comp) {
    return comp.comp_long_name() + ".ifc";
  }
}