Skip to content

Commit

Permalink
⛈️ most unstable cape cin
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Leaver committed Jun 19, 2024
1 parent 2e1e3d0 commit a9fba5c
Show file tree
Hide file tree
Showing 8 changed files with 446 additions and 280 deletions.
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ markers = [
"mu_cape",
"parcel_profile",
"regression",
"broadcasting",
]

pythonpath = ["src"]
Expand Down
2 changes: 1 addition & 1 deletion src/lib/libthermo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ constexpr T lcl<T>::wet_bulb_temperature(const T pressure, const T step) noexcep
}

template <floating T>
constexpr size_t lcl<T>::index(const T pressure[], size_t size) noexcept {
constexpr size_t lcl<T>::index(const T pressure[], const size_t size) noexcept {
return index_pressure(pressure, this->pressure, size);
}

Expand Down
2 changes: 2 additions & 0 deletions src/nzthermo/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@
"downdraft_cape",
"most_unstable_parcel",
"most_unstable_parcel_index",
"most_unstable_cape_cin",
# .utils
"timeseries",
]
Expand Down Expand Up @@ -104,5 +105,6 @@
mixing_ratio,
most_unstable_parcel,
most_unstable_parcel_index,
most_unstable_cape_cin,
)
from .utils import timeseries
Loading

0 comments on commit a9fba5c

Please sign in to comment.