Skip to content
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

Update [compat] for PALEOboxes v0.22, PALEOmodel v0.16 #46

Merged
merged 1 commit into from
Dec 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ Documenter = "1"
Infiltrator = "1.0"
Interpolations = "0.14.2, 0.15"
MAT = "0.10"
PALEOboxes = "0.21.18"
PALEOmodel = "0.15.44"
PALEOboxes = "0.21.18, 0.22"
PALEOmodel = "0.15.44, 0.16"
Plots = "1.0"
PrecompileTools = "1.0"
Roots = "1.0, 2.0"
Expand Down
22 changes: 11 additions & 11 deletions examples/COPSE/COPSE_reloaded_reloaded.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 2,
"metadata": {},
"outputs": [],
"source": [
Expand Down Expand Up @@ -254,14 +254,14 @@
},
"outputs": [],
"source": [
"# output is a Dict of OutputMemoryDomains, data field is a DataFrame with output for that Domain\n",
"# output is a Dict of OutputMemoryDomains\n",
"println(\"paleorun.domains keys: \", keys(paleorun.output.domains))\n",
"\n",
"# list fields in 'atm' Domain\n",
"println(\"output[\\\"atm\\\"] names: \", names(paleorun.output.domains[\"atm\"].data))\n",
"# list variables in 'atm' Domain\n",
"display(PB.get_table(paleorun.output, \"atm\"))\n",
"\n",
"# show a subset of output fields\n",
"paleorun.output.domains[\"atm\"].data[!, [:tmodel, :pCO2atm, :pCO2PAL]]"
"display(PB.get_table(paleorun.output, [\"atm.tmodel\", \"atm.pCO2atm\", \"atm.pCO2PAL\"]))"
]
},
{
Expand Down Expand Up @@ -321,7 +321,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 14,
"metadata": {
"scrolled": false
},
Expand Down Expand Up @@ -415,30 +415,30 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 20,
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 21,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Julia 1.7.2",
"display_name": "Julia 1.11.2",
"language": "julia",
"name": "julia-1.7"
"name": "julia-1.11"
},
"language_info": {
"file_extension": ".jl",
"mimetype": "application/julia",
"name": "julia",
"version": "1.7.2"
"version": "1.11.2"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion examples/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ Revise = "295af30f-e4ad-537b-8983-00126c2a3abe"
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"

[compat]
PALEOmodel = "0.15.44"
PALEOmodel = "0.15.44, 0.16"
2 changes: 1 addition & 1 deletion src/Forcings/COPSEForcings.jl
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ function PB.register_methods!(rj::ReactionForce_CPlandrelbergman2004)

vars = [
PB.VarDepScalar("tforce", "yr", "historical time at which to apply forcings, present = 0 yr"),
PB.VarProp("CPland_relative", "", "normalized land CP burial ratio"),
PB.VarPropScalar("CPland_relative", "", "normalized land CP burial ratio"),
]

PB.add_method_do!(
Expand Down
Loading