Skip to content

Commit

Permalink
reorganized input files
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholaswogan committed Oct 30, 2023
1 parent 214d6cf commit 981391b
Show file tree
Hide file tree
Showing 8 changed files with 11 additions and 103 deletions.
12 changes: 6 additions & 6 deletions examples/EarlyMars.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"data": {
"text/plain": [
"<threadpoolctl.threadpool_limits at 0x1077d50c0>"
"<threadpoolctl.threadpool_limits at 0x1083dd3d0>"
]
},
"execution_count": 1,
Expand All @@ -43,9 +43,9 @@
"metadata": {},
"outputs": [],
"source": [
"c = AdiabatClimate('../templates/EarlyMars/species.yaml', \n",
" '../templates/EarlyMars/settings.yaml', \n",
" '../templates/EarlyMars/Sun_3.8Ga.txt')\n",
"c = AdiabatClimate('../templates/AdiabatClimate/species.yaml', \n",
" '../templates/AdiabatClimate/Mars/settings.yaml', \n",
" '../templates/AdiabatClimate/Mars/Sun_3.8Ga.txt')\n",
"c.P_top = 1.0\n",
"c.solve_for_T_trop = True"
]
Expand All @@ -60,7 +60,7 @@
"name": "stdout",
"output_type": "stream",
"text": [
"['H2O', 'CO2', 'N2', 'H2', 'CH4', 'CO', 'NH3']\n"
"['H2O', 'CO2', 'N2', 'H2', 'CH4', 'CO', 'O2']\n"
]
}
],
Expand Down Expand Up @@ -213,7 +213,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.5"
}
},
"nbformat": 4,
Expand Down
6 changes: 3 additions & 3 deletions examples/Tutorial_AdiabatClimate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
{
"data": {
"text/plain": [
"<threadpoolctl.threadpool_limits at 0x1303bacd0>"
"<threadpoolctl.threadpool_limits at 0x12728cc10>"
]
},
"execution_count": 1,
Expand Down Expand Up @@ -56,8 +56,8 @@
"metadata": {},
"outputs": [],
"source": [
"species_file = '../templates/runaway_greenhouse/species.yaml' # Species and their thermodynamic properties\n",
"settings_file = '../templates/runaway_greenhouse/settings.yaml' # Planet properties, and radiative transfer settings\n",
"species_file = '../templates/AdiabatClimate/species.yaml' # Species and their thermodynamic properties\n",
"settings_file = '../templates/AdiabatClimate/Earth/settings.yaml' # Planet properties, and radiative transfer settings\n",
"star_file = '../templates/ModernEarth/Sun_Now.txt' # The stellar flux\n",
"\n",
"c = AdiabatClimate(species_file, \n",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
92 changes: 0 additions & 92 deletions templates/EarlyMars/species.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions tests/test_adiabat.f90
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ program test
integer :: i
procedure(ocean_solubility_fcn), pointer :: ocean_fcn_ptr

c = AdiabatClimate('../templates/runaway_greenhouse/species.yaml', &
'../templates/runaway_greenhouse/settings.yaml', &
c = AdiabatClimate('../templates/AdiabatClimate/species.yaml', &
'../templates/AdiabatClimate/Earth/settings.yaml', &
'../templates/ModernEarth/Sun_now.txt', &
'../clima/data', &
err)
Expand Down

0 comments on commit 981391b

Please sign in to comment.