Skip to content

Conversation

@Quba1
Copy link
Member

@Quba1 Quba1 commented Feb 19, 2024

  • Separate input validation
  • Update dependencies
  • Add array and vector functions
  • Test logs
  • Update benchmarks after refactor
  • Clean up features situation
  • Use tracing instead of floccus-proc
  • Update docs

* remove leftover prints

* virtual temperature

* vapour pressure

* bump version

* define clippy

* start refactor

* update readme and add scheduled jobs

* extend basic tests

* add doc coverage action

* add clippy check

* use basic clippy

* add 0.3.7 benchmark results

* fix clippy

* fix unreadble literals

* mixing ratio

* relative humidity

* clippy

* potential temperature

* specific humidity

* vpd

* theta e

* wet bulb temperature

* theta w

* update docs
@github-actions
Copy link

github-actions bot commented Feb 19, 2024

Documentation Coverage:

File Documented Percentage Examples Percentage
src/constants.rs 14 100% (+0%) 0 0% (+0%)
src/errors.rs 3 100% (+0%) 0 0% (+0%)
src/formulas.rs 0 0% (+0%) 0 0% (+0%)
src/formulas/adiabatic_equivalent_temperature.rs 3 100% (+100%) 0 0% (+0%)
src/formulas/equivalent_potential_temperature.rs 5 100% (+100%) 0 0% (+0%)
src/formulas/isobaric_equivalent_temperature.rs 2 100% (+100%) 0 0% (+0%)
src/formulas/mixing_ratio.rs 2 100% (+100%) 0 0% (+0%)
src/formulas/potential_temperature.rs 2 100% (+100%) 0 0% (+0%)
src/formulas/relative_humidity.rs 3 100% (+100%) 0 0% (+0%)
src/formulas/saturation_mixing_ratio.rs 3 100% (+100%) 0 0% (+0%)
src/formulas/saturation_vapour_pressure.rs 11 100% (+100%) 0 0% (+0%)
src/formulas/specific_humidity.rs 2 100% (+100%) 0 0% (+0%)
src/formulas/traits.rs 1 100% (+100%) 0 0% (+0%)
src/formulas/vapour_pressure.rs 12 100% (+100%) 0 0% (+0%)
src/formulas/vapour_pressure_deficit.rs 2 100% (+100%) 0 0% (+0%)
src/formulas/virtual_temperature.rs 4 100% (+100%) 0 0% (+0%)
src/formulas/wet_bulb_potential_temperature.rs 3 100% (+100%) 0 0% (+0%)
src/formulas/wet_bulb_temperature.rs 3 100% (+100%) 0 0% (+0%)
src/lib.rs 1 100% (+0%) 1 100% (+0%)
src/quantities.rs 0 0% (+0%) 0 0% (+0%)
Total 76 100% (+0%) 1 1.04% (-1.82%)

Quba1 added 30 commits February 28, 2024 12:24
There's nothing dynamic in the error generation so there's no point hindering the performance
std::any:type_name can provide good enough information for debugging
test are removed because there's no intrinsic logic present to test

instrument proc macro must be applied to the compute function because it cannot handle prototype functions

also improved readability of traits.rs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants