@Test public void testInstallAuxdata() throws Exception { Path auxPath = OlciHarmonisationIO.installAuxdata(); assertNotNull(auxPath); }
static Path installAuxdata() throws IOException { Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("harmonisation"); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(OlciO2aHarmonisationOp.class).resolve("auxdata/luts"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }
OlciHarmonisationIO { static Path installAuxdata() throws IOException { Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("harmonisation"); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(OlciO2aHarmonisationOp.class).resolve("auxdata/luts"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; } }
OlciHarmonisationIO { static Path installAuxdata() throws IOException { Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("harmonisation"); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(OlciO2aHarmonisationOp.class).resolve("auxdata/luts"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }  }
OlciHarmonisationIO { static Path installAuxdata() throws IOException { Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("harmonisation"); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(OlciO2aHarmonisationOp.class).resolve("auxdata/luts"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }   }
OlciHarmonisationIO { static Path installAuxdata() throws IOException { Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("harmonisation"); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(OlciO2aHarmonisationOp.class).resolve("auxdata/luts"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }    }