Skip to content

Commit e204ed8

Browse files
committed
Version 1.0.0 is ready!
1 parent 7813630 commit e204ed8

30 files changed

Lines changed: 1049 additions & 1312 deletions

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,11 @@ These notebooks double up as examples of how to use PythonicDISORT. The tests wh
4343
* Test Problem 2: Rayleigh Scattering, Beam Source
4444
* Test Problem 3: Henyey-Greenstein Scattering
4545
* Test Problem 4: Haze-L Scattering, Beam Source
46-
* Test Problem 5: Cloud C.1 Scattering, Beam Source (Test 5BDRF has Lambertian BDRF with albedo 1)
47-
* Test Problem 8: Absorbing/Isotropic-Scattering Medium With Two Computational Layers
48-
* Test Problem 9: General Emitting/Absorbing/Scattering Medium with Every Computational Layer Different
46+
* Test Problem 5: Cloud C.1 Scattering, Beam Source
47+
* Test Problem 6: No Scattering, Increasingly Complex Sources (relevant for modeling longwave radiation)
48+
* Test Problem 7: Absorption + Scattering + All Possible Sources, Lambertian and Hapke Surface Reflectivities (one layer)
49+
* Test Problem 8: Absorbing / Isotropic-Scattering Medium With (two layers)
50+
* Test Problem 9: General Emitting / Absorbing / Scattering Medium with (many different layers)
4951
* Test Problem 11: Single-Layer vs. Multiple Layers (no corresponding Jupyter Notebook)
5052

5153
# Installation

docs/Pythonic-DISORT.ipynb

Lines changed: 54 additions & 54 deletions
Large diffs are not rendered by default.

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
project = 'Pythonic DISORT'
1010
copyright = '2023, HO Jia Xu Dion'
1111
author = 'Dion HO Jia Xu'
12-
release = '0.9.5'
12+
release = '1.0.0'
1313

1414
# -- General configuration ---------------------------------------------------
1515
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

pydisotest/1_test.ipynb

Lines changed: 17 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@
223223
"do_pseudo_sphere = False\n",
224224
"dtauc = tau_arr\n",
225225
"ssalb = omega_arr\n",
226-
"pmom = Leg_coeffs_all.T[: NQuad + 1]\n",
226+
"pmom = Leg_coeffs_all.T\n",
227227
"temper = np.zeros(nlyr + 1)\n",
228228
"wvnmlo = 0\n",
229229
"wvnmhi = 0\n",
@@ -409,7 +409,7 @@
409409
{
410410
"data": {
411411
"text/plain": [
412-
"<matplotlib.legend.Legend at 0x2435d627910>"
412+
"<matplotlib.legend.Legend at 0x219091a2c90>"
413413
]
414414
},
415415
"execution_count": 12,
@@ -543,9 +543,7 @@
543543
"execution_count": 16,
544544
"id": "5c64fd85",
545545
"metadata": {
546-
"code_folding": [
547-
0
548-
]
546+
"code_folding": []
549547
},
550548
"outputs": [],
551549
"source": [
@@ -567,7 +565,7 @@
567565
"do_pseudo_sphere = False\n",
568566
"dtauc = tau_arr\n",
569567
"ssalb = omega_arr\n",
570-
"pmom = Leg_coeffs_all.T[: NQuad + 1]\n",
568+
"pmom = Leg_coeffs_all.T\n",
571569
"temper = np.zeros(nlyr + 1)\n",
572570
"wvnmlo = 0\n",
573571
"wvnmhi = 0\n",
@@ -753,7 +751,7 @@
753751
{
754752
"data": {
755753
"text/plain": [
756-
"<matplotlib.legend.Legend at 0x2435dbda490>"
754+
"<matplotlib.legend.Legend at 0x21909902c90>"
757755
]
758756
},
759757
"execution_count": 21,
@@ -887,9 +885,7 @@
887885
"execution_count": 25,
888886
"id": "e528dff1",
889887
"metadata": {
890-
"code_folding": [
891-
0
892-
]
888+
"code_folding": []
893889
},
894890
"outputs": [],
895891
"source": [
@@ -911,7 +907,7 @@
911907
"do_pseudo_sphere = False\n",
912908
"dtauc = tau_arr\n",
913909
"ssalb = omega_arr\n",
914-
"pmom = Leg_coeffs_all.T[: NQuad + 1]\n",
910+
"pmom = Leg_coeffs_all.T\n",
915911
"temper = np.zeros(nlyr + 1)\n",
916912
"wvnmlo = 0\n",
917913
"wvnmhi = 0\n",
@@ -1097,7 +1093,7 @@
10971093
{
10981094
"data": {
10991095
"text/plain": [
1100-
"<matplotlib.legend.Legend at 0x2435e138d50>"
1096+
"<matplotlib.legend.Legend at 0x21909de2dd0>"
11011097
]
11021098
},
11031099
"execution_count": 30,
@@ -1231,9 +1227,7 @@
12311227
"execution_count": 34,
12321228
"id": "4adda5fe",
12331229
"metadata": {
1234-
"code_folding": [
1235-
0
1236-
]
1230+
"code_folding": []
12371231
},
12381232
"outputs": [],
12391233
"source": [
@@ -1255,7 +1249,7 @@
12551249
"do_pseudo_sphere = False\n",
12561250
"dtauc = tau_arr\n",
12571251
"ssalb = omega_arr\n",
1258-
"pmom = Leg_coeffs_all.T[: NQuad + 1]\n",
1252+
"pmom = Leg_coeffs_all.T\n",
12591253
"temper = np.zeros(nlyr + 1)\n",
12601254
"wvnmlo = 0\n",
12611255
"wvnmhi = 0\n",
@@ -1441,7 +1435,7 @@
14411435
{
14421436
"data": {
14431437
"text/plain": [
1444-
"<matplotlib.legend.Legend at 0x2435dbfc390>"
1438+
"<matplotlib.legend.Legend at 0x21909e45390>"
14451439
]
14461440
},
14471441
"execution_count": 39,
@@ -1575,9 +1569,7 @@
15751569
"execution_count": 43,
15761570
"id": "86b493bf",
15771571
"metadata": {
1578-
"code_folding": [
1579-
0
1580-
]
1572+
"code_folding": []
15811573
},
15821574
"outputs": [],
15831575
"source": [
@@ -1599,7 +1591,7 @@
15991591
"do_pseudo_sphere = False\n",
16001592
"dtauc = tau_arr\n",
16011593
"ssalb = omega_arr\n",
1602-
"pmom = Leg_coeffs_all.T[: NQuad + 1]\n",
1594+
"pmom = Leg_coeffs_all.T\n",
16031595
"temper = np.zeros(nlyr + 1)\n",
16041596
"wvnmlo = 0\n",
16051597
"wvnmhi = 0\n",
@@ -1785,7 +1777,7 @@
17851777
{
17861778
"data": {
17871779
"text/plain": [
1788-
"<matplotlib.legend.Legend at 0x2435e3ec390>"
1780+
"<matplotlib.legend.Legend at 0x2190a3273d0>"
17891781
]
17901782
},
17911783
"execution_count": 48,
@@ -1919,9 +1911,7 @@
19191911
"execution_count": 52,
19201912
"id": "8c848bc7",
19211913
"metadata": {
1922-
"code_folding": [
1923-
0
1924-
]
1914+
"code_folding": []
19251915
},
19261916
"outputs": [],
19271917
"source": [
@@ -1943,7 +1933,7 @@
19431933
"do_pseudo_sphere = False\n",
19441934
"dtauc = tau_arr\n",
19451935
"ssalb = omega_arr\n",
1946-
"pmom = Leg_coeffs_all.T[: NQuad + 1]\n",
1936+
"pmom = Leg_coeffs_all.T\n",
19471937
"temper = np.zeros(nlyr + 1)\n",
19481938
"wvnmlo = 0\n",
19491939
"wvnmhi = 0\n",
@@ -2129,7 +2119,7 @@
21292119
{
21302120
"data": {
21312121
"text/plain": [
2132-
"<matplotlib.legend.Legend at 0x2435e8d1310>"
2122+
"<matplotlib.legend.Legend at 0x2190a3275d0>"
21332123
]
21342124
},
21352125
"execution_count": 57,

pydisotest/2_test.ipynb

Lines changed: 49 additions & 47 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)