@OperatorMetadata(alias = "SubGraph", category = "Input-Output", authors = "Jun Lu, Luis Veci", version = "1.0", description = "Encapsulates a graph within a graph.") public class SubGraphOp extends Operator { @Parameter private File graphFile; @Override public void initialize() throws OperatorException { throw new OperatorException("Please add a sub-graph file"); } public static class Spi extends OperatorSpi { public Spi() { super(SubGraphOp.class); } } }
@Parameter private int complexInt;
@OperatorMetadata(alias = "Tester", authors = "Nobody", version = "42", description = "This is very stupid operator.") public class TestOp extends Operator { @Parameter private double paramDouble; @Parameter private String paramString; @Parameter private Complex paramComplex; @Override public void initialize() throws OperatorException { } }
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Red source band", description = "The red band for the IPVI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the IPVI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "SWIR factor", defaultValue = "1.0F", description = "The value of the SWIR source band is multiplied by this value.") private float swirFactor; @Parameter(label = "Green source band", description = "The green band for the NDPI computation. If not provided, the " + "operator will try to find the best fitting band.", private String greenSourceBand; @Parameter(label = "SWIR source band", description = "The the short-wave infrared band-I for the NDPI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Red source band", description = "The red band for the PSSRa computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the PSSRa computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "MIR factor", defaultValue = "1.0F", description = "The value of the MIR source band is multiplied by this value.") private float mirFactor; @Parameter(label = "Green source band", description = "The green band for the MNDWI computation. If not provided, the " + "operator will try to find the best fitting band.", private String greenSourceBand; @Parameter(label = "MIR source band", description = "The mid-infrared band for the MNDWI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Red source band", description = "The red band for the TNDVI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the TNDVI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the RED source band is multiplied by this value.") private float redFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Red source band", description = "The red band for the GEMI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the GEMI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Green source band", description = "The green band for the GNDVI computation. If not provided, the " + "operator will try to find the best fitting band.", private String greenSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the GNDVI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "MIR factor", defaultValue = "1.0F", description = "The value of the MIR source band is multiplied by this value.") private float mirFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "MIR source band", description = "The mid-infrared band for the NDWI computation. If not provided," + " the operator will try to find the best fitting band.", private String mirSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the NDWI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "Red source band", description = "The red band for the BI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "Green source band", description = "The green band for the BI computation. If not provided, the " + "operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Red source band", description = "The red band for the RVI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the RVI computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Red (B4) factor", defaultValue = "1.0F", description = "The value of the red source band (B4) is multiplied by this value.") private float redB4Factor; @Parameter(label = "Red (B5) factor", defaultValue = "1.0F", description = "The value of the red source band (B5) is multiplied by this value.") private float redB5Factor; @Parameter(label = "Red source band 4", description = "The red band (B4) for the NDI45 computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand4; @Parameter(label = "Red source band 5", description = "The red band (B5) for the NDI45 computation. If not provided, the " + "operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "Red source band", description = "The red band for the RI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "Green source band", description = "The green band for the RI computation. If not provided, the " + "operator will try to find the best fitting band.",
@Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "NIR factor", defaultValue = "1.0F", description = "The value of the NIR source band is multiplied by this value.") private float nirFactor; @Parameter(label = "Green source band", description = "The green band for the NDWI2 computation. If not provided, the " + "operator will try to find the best fitting band.", private String greenSourceBand; @Parameter(label = "NIR source band", description = "The near-infrared band for the NDWI2 computation. If not provided," + " the operator will try to find the best fitting band.",
@Parameter(label = "Red factor", defaultValue = "1.0F", description = "The value of the red source band is multiplied by this value.") private float redFactor; @Parameter(label = "Green factor", defaultValue = "1.0F", description = "The value of the green source band is multiplied by this value.") private float greenFactor; @Parameter(label = "Red source band", description = "The red band for the NDTI computation. If not provided, the " + "operator will try to find the best fitting band.", private String redSourceBand; @Parameter(label = "Green source band", description = "The green band for the NDTI computation. If not provided, the " + "operator will try to find the best fitting band.",
private Product targetProduct; @Parameter(label = "Source bands", description = "The source bands for the computation.", rasterDataNodeType = Band.class) private String[] sourceBandNames; @Parameter(label = "Source masks", description = "The source masks for the computation.", rasterDataNodeType = Mask.class) private String[] sourceMaskNames;
@TargetProduct Product target; @Parameter(defaultValue = "true") boolean copyTiePointGrids; @Parameter(defaultValue = "false") Boolean copyMetadata; @Parameter(interval = "[-1,+1]", defaultValue = "-0.1") double threshold; @Parameter(valueSet = {"ME-203", "ME-208", "ME-002"}, defaultValue = "ME-208") String method; @Parameter(description = "Mask expression", label = "Mask expression", converter = GeneralExpressionConverter.class) String validExpression;