RayleighAux { public double[] getAirMass() { if (Objects.isNull(airMass)) { airMass = SmileCorrectionUtils.getAirMass(this.getCosOZARads(), this.getCosSZARads()); } return airMass; }  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);  }
@Test public void testGetAirMass() throws Exception { assertArrayEquals(new double[]{2.0003046560878155, 2.0012190885976433, 2.002744691995842}, rayleighAux.getAirMass(), 1e-8); }