Repository navigation
Curvature of the Earth: IPSS correction of the TOA radiance LUT - #36
Open
Tristanovsk wants to merge 1 commit into
Open
Tristanovsk wants to merge 1 commit into
Tristanovsk wants to merge 1 commit into
Conversation
… TOA radiance LUT Table ipss_factor_opac_v3.nc (path.ipss_lut, in grsdata; settings.spherical_correction) on the grid of toa_lut_opac_wind_v3.nc: I1_spherical / I1_plane-parallel of the OSOAA atmosphere of each node, angles at the ground point, built by RadiativeTransferCode-SOS python/tools/grs_ipss_table.py. It multiplies the radiance window of the LUT in radiance_windows (cache key includes it). Missing file: warning, LUT used plane-parallel; grid mismatch: ValueError. Size: < 0.6 % up to SZA 70, up to 3 % at 80, 9 % at 84, 55 % at 88. Tests: tests/unit/test_ipss_factor.py
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Curvature of the Earth: IPSS correction of the TOA radiance LUT
The TOA LUT (
toa_lut_opac_wind_v3) comes from plane-parallel OSOAA runs. At large solar zenith angles the curvature of the Earth changes the slant paths, so the LUT radiance is wrong by:Neither package caps the SZA.
This PR multiplies the LUT radiance by the improved pseudo-spherical shell (IPSS) factor of Zhai and Hu (2022, JQSRT 282, 108132, Eq. 7a),
I1_spherical / I1_plane-parallel, read from a precomputed table.Table
ipss_factor_opac_v3.nc(68 MB)MOT exp(-z/8);aot exp(-z/2), with the ssa of the LUT and the MOPSMAP OPAC phase functions;python/tools/grs_ipss_table.pyin RadiativeTransferCode-SOS (branchfeature/pseudo-spherical, coresosabs.spherical_shell). That core is validated against the Korkin et al. (2020) Monte Carlo single scattering within 0.064 %.Behavior
ValueError.Before merging
The table is not distributed yet: it is in the local LUT folders only. It still has to be added to the LUT download (Zenodo or equivalent).
GRS changes
path.ipss_lut: ipss_factor_opac_v3.nc, read fromgrsdata;settings.spherical_correction: trueswitches it on;config.ipss_lut_path().grs_process._add_ipss_factor: addsipss_factortoaero_lutafter loading.grs_kernel.radiance_windows: multiplies the angle window ofIby the factor's window, so memory use is unchanged. The cache key includes the factor.grs/tests/unit/test_ipss_factor.py(3 new tests). The unit suite passes (551 passed, 1 skipped, plus the 3 new tests).