Skip to content

Commit

Permalink
final version
Browse files Browse the repository at this point in the history
matakleo committed Jul 18, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 7ee573e commit 642b9f2
Showing 4 changed files with 4 additions and 7 deletions.
5 changes: 1 addition & 4 deletions cdm/core/src/main/java/ucar/nc2/filter/Classifier.java
Original file line number Diff line number Diff line change
@@ -126,16 +126,13 @@ public static int[] stringToIntArray(String str) {
}

public static class Provider implements EnhancementProvider {



@Override
public boolean appliesTo(Enhance enhance, AttributeContainer attributes, DataType dt) {
return enhance == Enhance.ApplyClassifier && attributes.findAttribute(CDM.CLASSIFY) != null && dt.isNumeric();
}

@Override
public Classifier Create(VariableDS var) {
public Classifier create(VariableDS var) {
return createFromVariable(var);
}
}
Original file line number Diff line number Diff line change
@@ -18,7 +18,7 @@ public interface EnhancementProvider {

boolean appliesTo(Enhance enhance, AttributeContainer attributes, DataType dt);

Enhancement Create(VariableDS var);
Enhancement create(VariableDS var);


}
2 changes: 1 addition & 1 deletion cdm/core/src/main/java/ucar/nc2/filter/Normalizer.java
Original file line number Diff line number Diff line change
@@ -87,7 +87,7 @@ public boolean appliesTo(Enhance enhance, AttributeContainer attributes, DataTyp
}

@Override
public Normalizer Create(VariableDS var) {
public Normalizer create(VariableDS var) {
return Normalizer.createFromVariable(var);
}

2 changes: 1 addition & 1 deletion cdm/core/src/main/java/ucar/nc2/filter/Standardizer.java
Original file line number Diff line number Diff line change
@@ -89,7 +89,7 @@ public boolean appliesTo(Enhance enhance, AttributeContainer attributes, DataTyp
}

@Override
public Standardizer Create(VariableDS var) {
public Standardizer create(VariableDS var) {
return createFromVariable(var);
}
}

0 comments on commit 642b9f2

Please sign in to comment.