Skip to content

Merge all retrieval/grid code to dev #242

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 45 commits into from
May 9, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
ec67583
Merge pull request #184 from natashabatalha/dev
natashabatalha Feb 1, 2024
bbc2b67
Merge pull request #207 from natashabatalha/dev
natashabatalha Jul 8, 2024
8ebdc4c
3.2.1 to fix He problem
natashabatalha Jul 8, 2024
c163eaa
fixes #209
natashabatalha Jul 17, 2024
9bac7b0
small additions to albedo spectroscopy notebook
aditya-sengupta Aug 7, 2024
293a2b9
Merge branch 'aditya-sengupta-virgadoc'
natashabatalha Aug 28, 2024
acfe468
Merge pull request #223 from natashabatalha/master
natashabatalha Sep 25, 2024
7d82673
adding the initial skeleton of the retrieval code
natashabatalha Jan 23, 2025
1e190c8
working retrieval workflow
natashabatalha Jan 25, 2025
30a0f1b
line retrieval change offset
natashabatalha Jan 25, 2025
bbe7500
add grid code
natashabatalha Jan 25, 2025
134b0c5
added tutorial series to gridtree brannch
Ziva18t Feb 4, 2025
f776767
make add pt args optional
natashabatalha Feb 5, 2025
2acba74
add gridplus options for templates
natashabatalha Feb 5, 2025
754343c
add template with all postprocess options
natashabatalha Feb 5, 2025
3a9b56b
Merge pull request #237 from Ziva18t/gridtree
natashabatalha Feb 5, 2025
148201e
add first three retrieval tutorials
natashabatalha Feb 5, 2025
c391006
reorg tutorials
natashabatalha Feb 5, 2025
3dbdf63
add retriev fig
natashabatalha Feb 5, 2025
7e2eeb0
reorg sagan material
natashabatalha Feb 5, 2025
6f9377b
add ultranest to templates
natashabatalha Feb 6, 2025
513655a
add fix flex cloud and new chem template
natashabatalha Feb 6, 2025
96d8370
add line to list of options
natashabatalha Feb 6, 2025
a5e7cd8
Merge branch 'gridtree' of github.com:natashabatalha/picaso into grid…
natashabatalha Feb 6, 2025
b0b20a3
add fix flex cloud and new chem template
natashabatalha Feb 6, 2025
40b4f57
Merge branch 'gridtree' of github.com:natashabatalha/picaso into grid…
natashabatalha Feb 6, 2025
923e442
first state of four grid retrieval notebooks
natashabatalha Feb 6, 2025
d28475a
added Rewa's comments and code to Dominic's notebook2
rewaclarkbush Feb 11, 2025
1941925
Merge pull request #240 from rewaclarkbush/gridtree
natashabatalha Feb 13, 2025
fd4698e
change logg as the key that is looked for for the planet gravity sinc…
natashabatalha Feb 14, 2025
a4402b4
add notebook that shows how to create little xarray grid and get read…
natashabatalha Feb 14, 2025
eb42def
dont warn people for guess and kz as it is annoying
natashabatalha Feb 18, 2025
d6dcc94
make possible params global so they can be easily looked at
natashabatalha Feb 18, 2025
fca0f90
dont warn people for guess and kz as it is annoying in 1d
natashabatalha Feb 18, 2025
6e3ff82
stage final notebooks with xarray output input and grid loop tutorial
natashabatalha Feb 19, 2025
fefd5e8
add new tutorials to rst files
natashabatalha Feb 19, 2025
1893342
Adding suggestions and fixing typos in first Retrieval Tutorial
rewaclarkbush Feb 28, 2025
7dbef09
Merge pull request #246 from rewaclarkbush/gridtree
natashabatalha Mar 2, 2025
4c578ff
Fixed typos and added comments to Retrieval Tutorial 2
rewaclarkbush Mar 4, 2025
6712ee3
Merge pull request #248 from rewaclarkbush/gridtree
natashabatalha Mar 5, 2025
c27a61f
first implementation of brewster style clouds
natashabatalha Mar 26, 2025
3c3e37a
Merge branch 'gridtree' of github.com:natashabatalha/picaso into grid…
natashabatalha Mar 26, 2025
26d2615
first version of input toml
natashabatalha Mar 28, 2025
ea6d440
ptop notes update
natashabatalha Mar 31, 2025
132d7bc
WIP free retrieval templates
natashabatalha Mar 31, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

History
-------
3.2 (2024-7-8)
~~~~~~~~~~~~~~
* Disequilibrium climate modeling

3.1 (2023-3-23)
~~~~~~~~~~~~~~~
Expand Down
575 changes: 517 additions & 58 deletions docs/notebooks/7_PairingPICASOToVIRGA.ipynb

Large diffs are not rendered by default.

12 changes: 10 additions & 2 deletions docs/notebooks/climate/12a_BrownDwarf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -536,7 +536,9 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## `xarray` model storage with post-processed models "
"## Post Process High Resolution Spectrum Easily with Xarray\n",
"\n",
"This is the same thing as above but using our xarray output from climate as input "
]
},
{
Expand All @@ -545,6 +547,12 @@
"metadata": {},
"outputs": [],
"source": [
"opa_mon = jdi.opannection()\n",
"\n",
"hi_res = jdi.input_xarray(preserve_clima,opa_mon, calculation='browndwarf')\n",
"\n",
"df_spec = hi_res.spectrum(opa_mon, calculation='thermal', full_output=True)\n",
"\n",
"preserve_hires = jdi.output_xarray(df_spec, hi_res)"
]
},
Expand Down Expand Up @@ -581,7 +589,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.11.8"
},
"nbsphinx": {
"execute": "never"
Expand Down
47 changes: 46 additions & 1 deletion docs/notebooks/climate/12b_Exoplanet.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,22 @@
"\n"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Save run with xarray"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"preserve_clima = jdi.output_xarray(out, cl_run)#,savefile='output.nc')"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down Expand Up @@ -318,6 +334,35 @@
"source": [
"adiabat, dtdp, pressure = jpi.pt_adiabat(out, cl_run)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"## Postprocess High-Res Spectra"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"opa_mon = jdi.opannection()\n",
"\n",
"hi_res = jdi.input_xarray(preserve_clima,opa_mon, calculation='planet')\n",
"\n",
"df_spec = hi_res.spectrum(opa_mon, calculation='thermal+transmission', full_output=True)\n",
"\n",
"preserve_hires = jdi.output_xarray(df_spec, hi_res)"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand All @@ -336,7 +381,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.11.5"
"version": "3.11.8"
},
"toc": {
"base_numbering": 1,
Expand Down
Loading