Skip to content

Commit

Permalink
Merge pull request #372 from dtcenter/issue/370-taylor
Browse files Browse the repository at this point in the history
 Add the Python implementation of the Taylor diagram #370
  • Loading branch information
TatianaBurek committed Feb 10, 2022
2 parents 9ec2233 + 64ae6bd commit c433776
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion java/edu/ucar/metviewer/jobManager/TaylorJobManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,16 @@ protected int getNumberPlotCurves(Map.Entry[] listDep1Plot) {
}
@Override
protected String getPythonScript() {
return "";
return "/plots/taylor_diagram/taylor_diagram.py";
}

@Override
protected Map<String, Object> createYamlInfoMap(MVPlotJob job) throws ValidationException {
Map<String, Object> yamlInfo = super.createYamlInfoMap( job);

yamlInfo.put("taylor_voc", job.getTaylorVoc() ? "True" : "False");
yamlInfo.put("taylor_show_gamma", job.getTaylorShowGamma() ? "True" : "False");
return yamlInfo;
}

}

0 comments on commit c433776

Please sign in to comment.