@Test public void testInstallRayleighAux() throws Exception { Path path = RayleighAux.installAuxdata(); assertNotNull(path); assertTrue(path.toFile().exists()); }
static Path installAuxdata() throws IOException { OperatorSpiRegistry operatorSpiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry(); OperatorSpi spi = operatorSpiRegistry.getOperatorSpi("RayleighCorrection"); String version = "v" + spi.getOperatorDescriptor().getVersion(); Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("olci/rayleigh/" + version); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(RayleighAux.class).resolve("auxdata/rayleigh"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }
RayleighAux { static Path installAuxdata() throws IOException { OperatorSpiRegistry operatorSpiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry(); OperatorSpi spi = operatorSpiRegistry.getOperatorSpi("RayleighCorrection"); String version = "v" + spi.getOperatorDescriptor().getVersion(); Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("olci/rayleigh/" + version); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(RayleighAux.class).resolve("auxdata/rayleigh"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; } }
RayleighAux { static Path installAuxdata() throws IOException { OperatorSpiRegistry operatorSpiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry(); OperatorSpi spi = operatorSpiRegistry.getOperatorSpi("RayleighCorrection"); String version = "v" + spi.getOperatorDescriptor().getVersion(); Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("olci/rayleigh/" + version); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(RayleighAux.class).resolve("auxdata/rayleigh"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }  }
RayleighAux { static Path installAuxdata() throws IOException { OperatorSpiRegistry operatorSpiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry(); OperatorSpi spi = operatorSpiRegistry.getOperatorSpi("RayleighCorrection"); String version = "v" + spi.getOperatorDescriptor().getVersion(); Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("olci/rayleigh/" + version); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(RayleighAux.class).resolve("auxdata/rayleigh"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }  static double[] parseJSON1DimArray(JSONObject parse, String ray_coeff_matrix); static void initDefaultAuxiliary(); void setSolarFluxs(double[] solarFluxs); void setAltitudes(Tile altitude); double[] getTaur(); double[] getAltitudes(); void setAltitudes(double... alt); Map<Integer, List<double[]>> getInterpolation(); void setWavelength(float waveLength); double getWaveLength(); double[] getSunAzimuthAnglesRad(); void setSunAzimuthAnglesRad(double[] sunAzimuthAngles); double[] getViewAzimuthAnglesRad(); void setViewAzimuthAnglesRad(double[] viewAzimuthAngles); double[] getSunZenithAnglesRad(); void setSunZenithAnglesRad(double[] sunZenithAngles); double[] getViewZenithAnglesRad(); void setViewZenithAnglesRad(double[] viewZenithAngles); double[] getAirMass(); double[] getAziDifferent(); double[] getCosSZARads(); void setCosSZARads(double[] sunZenithAnglesRad); double[] getCosOZARads(); void setCosOZARads(double[] zenithAnglesRad); double[] getSinSZARads(); void setSinSZARads(double[] sunZenithAnglesRad); double[] getSinOZARads(); void setSinOZARads(double[] zenithAnglesRad); double[] getSunZenithAngles(); void setSunZenithAngles(Tile sourceTile); void setSunZenithAngles(double... sunZenithAngles); double[] getViewZenithAngles(); void setViewZenithAngles(double... viewZenithAngles); void setViewZenithAngles(Tile sourceTile); void setSunAzimuthAngles(double... sunAzimuthAngles); void setSunAzimuthAngles(Tile sourceTile); double[] getLatitudes(); void setLatitudes(double... lat); void setLatitudes(Tile sourceTile); void setViewAzimuthAngles(double... viewAzimuthAngles); void setViewAzimuthAngles(Tile sourceTile); double[] getSeaLevels(); void setSeaLevels(double... seaLevels); void setS2MsiSeaLevelsPressures(double seaLevel, Rectangle rectangle); void setS2MsiTotalOzones(double ozone, Rectangle rectangle); void setS2MsiAngles(GeoCoding geoCoding, Tile szaTile, Tile vzaTile, Tile saaTile, Tile vaaTile, Rectangle rectangle); void setSeaLevels(Tile sourceTile); double[] getTotalOzones(); void setTotalOzones(double... totalO); void setTotalOzones(Tile sourceTile); void setOlciTotalOzones(Tile sourceTile); double[] getSolarFluxs(); void setSolarFluxs(Tile sourceTile); double[] getSourceSampleRad(); void setSourceSampleRad(Tile sourceTile); double[] getLongitudes(); void setLongitudes(double... longitudes); void setLongitude(Tile sourceTile); double[] getInterpolateRayleighThickness(double... taur); double[] getSquarePower(double[] sinOZARads); }
RayleighAux { static Path installAuxdata() throws IOException { OperatorSpiRegistry operatorSpiRegistry = GPF.getDefaultInstance().getOperatorSpiRegistry(); OperatorSpi spi = operatorSpiRegistry.getOperatorSpi("RayleighCorrection"); String version = "v" + spi.getOperatorDescriptor().getVersion(); Path auxdataDirectory = SystemUtils.getAuxDataPath().resolve("olci/rayleigh/" + version); final Path sourceDirPath = ResourceInstaller.findModuleCodeBasePath(RayleighAux.class).resolve("auxdata/rayleigh"); final ResourceInstaller resourceInstaller = new ResourceInstaller(sourceDirPath, auxdataDirectory); resourceInstaller.install(".*", ProgressMonitor.NULL); return auxdataDirectory; }  static double[] parseJSON1DimArray(JSONObject parse, String ray_coeff_matrix); static void initDefaultAuxiliary(); void setSolarFluxs(double[] solarFluxs); void setAltitudes(Tile altitude); double[] getTaur(); double[] getAltitudes(); void setAltitudes(double... alt); Map<Integer, List<double[]>> getInterpolation(); void setWavelength(float waveLength); double getWaveLength(); double[] getSunAzimuthAnglesRad(); void setSunAzimuthAnglesRad(double[] sunAzimuthAngles); double[] getViewAzimuthAnglesRad(); void setViewAzimuthAnglesRad(double[] viewAzimuthAngles); double[] getSunZenithAnglesRad(); void setSunZenithAnglesRad(double[] sunZenithAngles); double[] getViewZenithAnglesRad(); void setViewZenithAnglesRad(double[] viewZenithAngles); double[] getAirMass(); double[] getAziDifferent(); double[] getCosSZARads(); void setCosSZARads(double[] sunZenithAnglesRad); double[] getCosOZARads(); void setCosOZARads(double[] zenithAnglesRad); double[] getSinSZARads(); void setSinSZARads(double[] sunZenithAnglesRad); double[] getSinOZARads(); void setSinOZARads(double[] zenithAnglesRad); double[] getSunZenithAngles(); void setSunZenithAngles(Tile sourceTile); void setSunZenithAngles(double... sunZenithAngles); double[] getViewZenithAngles(); void setViewZenithAngles(double... viewZenithAngles); void setViewZenithAngles(Tile sourceTile); void setSunAzimuthAngles(double... sunAzimuthAngles); void setSunAzimuthAngles(Tile sourceTile); double[] getLatitudes(); void setLatitudes(double... lat); void setLatitudes(Tile sourceTile); void setViewAzimuthAngles(double... viewAzimuthAngles); void setViewAzimuthAngles(Tile sourceTile); double[] getSeaLevels(); void setSeaLevels(double... seaLevels); void setS2MsiSeaLevelsPressures(double seaLevel, Rectangle rectangle); void setS2MsiTotalOzones(double ozone, Rectangle rectangle); void setS2MsiAngles(GeoCoding geoCoding, Tile szaTile, Tile vzaTile, Tile saaTile, Tile vaaTile, Rectangle rectangle); void setSeaLevels(Tile sourceTile); double[] getTotalOzones(); void setTotalOzones(double... totalO); void setTotalOzones(Tile sourceTile); void setOlciTotalOzones(Tile sourceTile); double[] getSolarFluxs(); void setSolarFluxs(Tile sourceTile); double[] getSourceSampleRad(); void setSourceSampleRad(Tile sourceTile); double[] getLongitudes(); void setLongitudes(double... longitudes); void setLongitude(Tile sourceTile); double[] getInterpolateRayleighThickness(double... taur); double[] getSquarePower(double[] sinOZARads);  }