Skip to content

Commit

Permalink
add support for xcube-levels directory archiving
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-boettcher committed Jan 23, 2025
1 parent c3e82ed commit c509d7e
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,13 @@ public ProductFormatter(String productName, String outputFormat, String desiredO
} else {
outputCompression = "dir2";
}
} else if (outputFormat.equalsIgnoreCase("xcube-levels")) {
outputExtension = ".levels";
if ("zip".equals(desiredOutputCompression)) {
outputCompression = "zip";
} else {
outputCompression = "dir2";
}
} else if (outputFormat.equals("NetCDF4-LC")) {
outputExtension = ".nc";
outputCompression = ""; // no further compression required
Expand Down

0 comments on commit c509d7e

Please sign in to comment.