Skip to content

Commit

Permalink
Merge branch 'mieclouds' of https://github.com/HajimeKawahara/exojax
Browse files Browse the repository at this point in the history
…into mieclouds
  • Loading branch information
HajimeKawahara committed Mar 25, 2024
2 parents af7a2c8 + 248fb65 commit ed0d500
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion documents/tutorials/Ackerman_and_Marley_cloud_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
"\n",
"P_enstatite = psat_enstatite_AM01(Tarr)\n",
"P_fe_sol = psat_Fe_AM01(Tarr)\n",
"#P_fe_sol = _psat_Fe_solid(Tarr) #considers only solif Fe\n"
"#P_fe_sol = _psat_Fe_solid(Tarr) #considers only solid Fe\n"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion documents/tutorials/Ackerman_and_Marley_cloud_model.rst
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ Vapor saturation pressures can be obtained using atm.psat
P_enstatite = psat_enstatite_AM01(Tarr)
P_fe_sol = psat_Fe_AM01(Tarr)
#P_fe_sol = _psat_Fe_solid(Tarr) #considers only solif Fe
#P_fe_sol = _psat_Fe_solid(Tarr) #considers only solid Fe
Computes a cloud base pressure.
Expand Down
7 changes: 4 additions & 3 deletions documents/tutorials/Jupiter_cloud_model_using_amp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
"metadata": {},
"source": [
"`pdb` is a class for particulates databases. We here use `PdbCloud` for NH3, i.e. `pdb` for the ammonia cloud. \n",
"PdbCloud uses the refaction (refractive) indice given by VIRGA. \n",
"PdbCloud uses the refraction (refractive) indice given by VIRGA. \n",
"\n",
"\n",
"The precomputed grid of the Mie parameters assuming a log-normal distribution is called `miegrid`. This can be computed pdb.generate_miegrid if you do not have it. To compute `miegrid`, we use PyMieScatt as a calculator. \n",
Expand Down Expand Up @@ -127,6 +127,7 @@
"from exojax.atm.atmphys import AmpAmcloud\n",
"\n",
"pdb_nh3 = PdbCloud(\"NH3\")\n",
"#pdb_nh3.generate_miegrid() # when you use the miegrid\n",
"#pdb_nh3.load_miegrid() # when you use the miegrid\n",
"\n",
"amp_nh3 = AmpAmcloud(pdb_nh3,bkgatm=\"H2\")\n",
Expand Down Expand Up @@ -365,7 +366,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"To compute the relfection spectrum, we need the single scattering albedo, asymmetric parameter (known as g, but confusing from gravity), and the surface reflectivity."
"To compute the reflection spectrum, we need the single scattering albedo, asymmetric parameter (known as g, but confusing from gravity), and the surface reflectivity."
]
},
{
Expand All @@ -383,7 +384,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"The incoming flux is normalized to 1. So, the utput should be refelectivity."
"The incoming flux is normalized to 1. So, the output should be refelectivity."
]
},
{
Expand Down

0 comments on commit ed0d500

Please sign in to comment.