Skip to content

Commit db4035c

Browse files
New default values set for title and licence.
1 parent 3dc6fff commit db4035c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

matchup-tool/src/main/java/com/bc/fiduceo/matchup/writer/AbstractMmdWriter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -373,10 +373,10 @@ private Variable getVariable(String variableName) {
373373
private void createGlobalAttributes() {
374374
final Map<String, String> ga = writerConfig.getGlobalAttributes();
375375

376-
final String title = ga.getOrDefault(GLOBAL_ATTR_TITLE, "FIDUCEO multi-sensor match-up dataset (MMD)");
376+
final String title = ga.getOrDefault(GLOBAL_ATTR_TITLE, "SCEPS multi-sensor match-up dataset (MMD)");
377377
final String institution = ga.getOrDefault(GLOBAL_ATTR_INSTITUTION, "Brockmann Consult GmbH");
378378
final String contact = ga.getOrDefault(GLOBAL_ATTR_CONTACT, "Tom Block ([email protected])");
379-
final String licence = ga.getOrDefault(GLOBAL_ATTR_LICENSE, "This dataset is released for use under CC-BY licence and was developed in the EC FIDUCEO project \"Fidelity and Uncertainty in Climate Data Records from Earth Observations\". Grant Agreement: 638822.");
379+
final String licence = ga.getOrDefault(GLOBAL_ATTR_LICENSE, "ESA Data Policy: free and open access.");
380380

381381
addGlobalAttribute(GLOBAL_ATTR_TITLE, title);
382382
addGlobalAttribute(GLOBAL_ATTR_INSTITUTION, institution);

matchup-tool/src/test/java/com/bc/fiduceo/matchup/writer/MmdWriter_IO_Test.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,10 +216,10 @@ public void testCreate() throws IOException, InvalidRangeException {
216216

217217
assertEquals(9, mmd.getGlobalAttributes().size());
218218

219-
assertGlobalAttribute("title", "FIDUCEO multi-sensor match-up dataset (MMD)", mmd);
219+
assertGlobalAttribute("title", "SCEPS multi-sensor match-up dataset (MMD)", mmd);
220220
assertGlobalAttribute("institution", "Brockmann Consult GmbH", mmd);
221221
assertGlobalAttribute("contact", "Tom Block ([email protected])", mmd);
222-
assertGlobalAttribute("license", "This dataset is released for use under CC-BY licence and was developed in the EC FIDUCEO project \"Fidelity and Uncertainty in Climate Data Records from Earth Observations\". Grant Agreement: 638822.", mmd);
222+
assertGlobalAttribute("license", "ESA Data Policy: free and open access.", mmd);
223223
assertGlobalDateAttribute("creation_date", TimeUtils.createNow(), mmd);
224224
assertGlobalAttribute("software_version", FiduceoConstants.VERSION, mmd);
225225
assertGlobalAttribute("sensor-names", "avhrr-n11,avhrr-n12", mmd);

0 commit comments

Comments
 (0)