diff --git a/CHANGELOG.md b/CHANGELOG.md index c5cb08f..cd8ce54 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,28 @@ Every release is archived on Zenodo under the concept DOI [10.5281/zenodo.22321312](https://doi.org/10.5281/zenodo.22321312), which always resolves to the latest version. +## 1.38.4 — 2026-12-03 + +Why Marshall & Smith's (1990) two-stream model gives about half the +Monte Carlo's Raman effect in open question 7 (DECISIONS.md section 155). +The package does not change; no shipped value changed. + +**Found.** Removing the differences one at a time, from the Monte Carlo +of 1.38.3 to the model, closes on the model within 0.03 percent. The +largest step is the factor mu_r = 1/2, "the average cosine for the Raman +scattering process", that their Eq. (15a) puts on the source of +downward Raman light: it halves the Raman light and moves the reduction +of Kd by 0.500 to 0.920 times. Taking the beams straight down and the +Raman light as a stream attenuated by 1.5 a move it the two ways and +partly cancel. The transfer equation integrated over the lower +hemisphere has no such cosine; the paper does not derive it, so this is +recorded as a reading of the equation. + +**Docs.** `OPEN_QUESTIONS.md` question 7 and DATA.md section 3 say so; +`examples/README.md` now says, beside the model's 0.59 percent, what the +Monte Carlo gives. `tools/raman_mc.py --question7-chain` writes +`examples/data/raman_question7/chain.csv`. + ## 1.38.3 — 2026-12-03 Raman scattering, a second step: open question 7's case through the diff --git a/CITATION.cff b/CITATION.cff index e151286..e181650 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -8,7 +8,7 @@ authors: - family-names: Ishibashi given-names: T. orcid: "https://orcid.org/0000-0003-1711-9908" -version: 1.38.3 +version: 1.38.4 doi: "10.5281/zenodo.22321312" license: Apache-2.0 repository-code: "https://github.com/tishibashi-cpu/jerlov" diff --git a/DATA.md b/DATA.md index fffb6f6..fe83d0e 100644 --- a/DATA.md +++ b/DATA.md @@ -285,7 +285,10 @@ the same case (1.38.3, DECISIONS.md section 154) gives 1.15 to 2.55 times the two-stream reduction, up to 1.46 percent over 0-10 m at 700 nm, so the statement that Raman light cannot do it over the top 10 m, which rested on a reduction under 1 percent, is withdrawn; 1.46 percent is -still below the 4.5 percent deficit. So, as far as can be said here: +still below the 4.5 percent deficit. Most of the difference is the +factor mu_r = 1/2 on the source in their Eq. (15a) (p. 74), which halves +the Raman light (DECISIONS.md section 155, a reading of the equation, not +a confirmed misprint). So, as far as can be said here: rounding cannot account for the deficits; broad filters can at 700 nm and at 600 nm in 1976; Raman light over the top 10 m lowers Kd by under 1.5 percent. Nothing here accounts for 675 nm in either edition, nor for diff --git a/DECISIONS.md b/DECISIONS.md index 16ebd08..dd58930 100644 --- a/DECISIONS.md +++ b/DECISIONS.md @@ -11254,3 +11254,99 @@ below, where the weight exp(-(c - sigma) s) is 0, so roulette ends it. The site's second page quoted section 131's conclusion and is changed with question 7; the example and its README, which print Marshall & Smith's model's own figures, are not. + +## 155. Why Marshall & Smith's two streams give about half the Monte Carlo's Raman effect (1.38.4): the plan + +Section 154 found the Monte Carlo's Raman reduction of Kd 1.15 to 2.55 +times the two-stream model's and did not say why. The user asked on +2026-12-03 for the difference to be taken apart, and for the examples' +README to say what the Monte Carlo gives beside the model's 0.59 percent. + +### The steps, set now + +Between the Monte Carlo and the two-stream model lie these differences, +each removed in turn by a computation in `tools/raman_mc.py` +(`q7_chain`), cumulative, each the step before with one thing changed: + +- S0, the Monte Carlo (section 154's CSV). +- S1, `q7_once`: no elastic scattering of either light, no surface, the + Raman light emitted by Mobley et al.'s Eq. (9) about the refracted beam + (mu_w = 0.961) and reaching the depth unscattered (an exponential + integral over directions); the sun's own light exp(-c z / mu_w). +- S2: the Raman light emitted evenly in all directions. +- S3: the beams as the model takes them (p. 74, "D ~ 1"): straight down, + the exciting light's scalar irradiance equal to its plane irradiance + and attenuated by K' = a' + b_b', the sun's by K = a + b_b. +- S4: the Raman light attenuated as the model's diffuse stream, + exp(-a_r (z - z')) with a_r = 1.5 a (p. 74), instead of over its + directions. +- S5: the source as the model writes it, Eq. (15a) (p. 74, read from the + page image), mu_r b_r E0 / 2 with mu_r = 1/2 "the average cosine for + the Raman scattering process", instead of b_r E0 / 2, the power an + even emission sends into the lower hemisphere. (Integrating the + transfer equation over the lower hemisphere gives the source of Ed + without a cosine; whether the model's factor is meant otherwise is + not said on the page.) +- S6, the two-stream model (the example's `raman_kd`), which differs from + S5 only by the backscattering terms (G+-, K_r, and the Raman light + scattered up and back, Eq. 20b). + +For each step and each of section 154's 18 cases (b_r as measured), the +reduction 1 - Kd with Raman over Kd without, over 0-10, 0-20 and 0-30 m, +as section 154 took it. + +### The measures, set now + +1. **The chain closes.** S5 is within 3 percent (relative) of S6 in all + 18 cases; otherwise the chain is said to miss something, and what is + left is recorded. +2. **Each step's share.** For every step, the factor by which it moves + the reduction, across the 18 cases (least and greatest). The step + that moves it most, by the median of its factors' distance from 1, is + named as the main cause of the difference; if two are within 10 + percent of each other, both are named. + +### Documents + +`examples/data/raman_question7/chain.csv`; a test that re-reads it, +recomputes the measures and checks the quoted figures, and recomputes +the semi-analytic steps for two cases; OPEN_QUESTIONS.md question 7 +("What is not known" loses or keeps the question as the result says); +DATA.md section 3, a sentence; `examples/README.md`, the sentence the +user asked for beside the 0.59 percent; CHANGELOG; NEXT_STEPS. If S5's +factor is the main cause, it is recorded as a reading of Eq. (15a), not +as a confirmed misprint, since the paper's derivation of mu_r is not +given. The package does not change: 1.38.4. + +### Result + +`python tools/raman_mc.py --question7-chain` (about 20 seconds) wrote +`examples/data/raman_question7/chain.csv`. + +**Changed after the first run.** In the first run S3's change (the beams +straight down) was put at the wrong step, so S3 came out equal to S2 in +every case; the factor of exactly 1 showed it. It was fixed before +anything was recorded, and the run made again. + +1. **Met: the chain closes.** S5 is within 0.03 percent of the two-stream + model in all 18 cases (1.000007 to 1.000246 times): the + backscattering terms of Eq. (20b) do not matter here. +2. **The main cause is S5, the factor mu_r = 1/2 that Eq. (15a) puts on + the source.** Each step's factor on the reduction across the 18 cases, + and the median of its distance from 1: + - S0 to S1 (scattering and the surface left out): 0.910 to 0.997, + 0.018; + - S1 to S2 (even emission for Eq. 9): 0.940 to 0.994, 0.053; + - S2 to S3 (the beams straight down, E0 = Ed, K = a + b_b): 0.628 to + 0.923, 0.257; + - S3 to S4 (the diffuse stream at 1.5 a): 1.034 to 1.358, 0.306; + - S4 to S5 (mu_r = 1/2): 0.500 to 0.920, 0.473; + - S5 to S6 (the backscattering terms): 1.000 to 1.000, 0.000. + S5 halves the Raman light; its factor on the reduction is 0.500 where + the Raman light is small and nearer 1 where it dominates and the + logarithm saturates. S3 and S4 move the reduction in opposite + directions and partly cancel. As the plan says, this is recorded as a + reading of Eq. (15a): the page gives mu_r as "the average cosine for + the Raman scattering process" without deriving it, and the transfer + equation integrated over the lower hemisphere has no cosine on the + source. diff --git a/OPEN_QUESTIONS.md b/OPEN_QUESTIONS.md index 2304e57..59772d5 100644 --- a/OPEN_QUESTIONS.md +++ b/OPEN_QUESTIONS.md @@ -575,19 +575,30 @@ writes to `examples/data/raman_question7/runs.csv`. statement that Raman light cannot do it there is withdrawn (DECISIONS.md section 154). The largest reduction over 0-10 m, 1.46 percent, is still below type I's smallest deficit there, 4.5 percent. +- Why the two streams give less (DECISIONS.md section 155): removing the + differences one at a time, from the Monte Carlo to the model, closes on + the model within 0.03 percent, and the largest step is the factor mu_r + = 1/2 that their Eq. (15a) puts on the source of downward Raman light, + "the average cosine for the Raman scattering process" (p. 74); it + halves the Raman light, moving the reduction by 0.500 to 0.920 times. + Taking the beams straight down and the Raman light as a stream + attenuated by 1.5 a move it by 0.628 to 0.923 and 1.034 to 1.358 times, + partly cancelling. The transfer equation integrated over the lower + hemisphere has no cosine on that source; the paper does not derive + it. **What is not known.** The widths, shapes and tails of the filters behind each of Jerlov's values; the result moves with where a filter's short-wavelength tail ends, and "real filters have longer tails than predicted by the Gaussian" (Marshall & Smith, p. 78). Whether Jerlov's red values all come from the top 10 m, where Raman light is small, or some -from deeper, where it is not. Why Marshall & Smith's two streams give -about half the Monte Carlo's Raman effect; and whether their coefficient, -measured with excitation at 488 nm, holds at 549 and 565 nm (both -computations take it so). So the deficit at 675 nm, and the 1968 one at +from deeper, where it is not. Whether Marshall & Smith's factor mu_r on +the source is meant in a way the page does not show; and whether their +coefficient, measured with excitation at 488 nm, holds at 549 and 565 nm +(both computations take it so). So the deficit at 675 nm, and the 1968 one at 600 nm against Smith & Baker, have no account here. -**Where.** DATA.md section 3; DECISIONS.md sections 129, 130, 131, 153 -and 154; `examples/jerlov_kd_below_pure_water.py`; `tools/raman_mc.py` +**Where.** DATA.md section 3; DECISIONS.md sections 129, 130, 131, 153, +154 and 155; `examples/jerlov_kd_below_pure_water.py`; `tools/raman_mc.py` and `examples/data/raman_question7/runs.csv`; the sources `jerlov1968`, `jerlov1976` and `austin1986`. diff --git a/docs/pages/disagree.html b/docs/pages/disagree.html index 1b89684..1e0ee84 100644 --- a/docs/pages/disagree.html +++ b/docs/pages/disagree.html @@ -273,7 +273,7 @@