CliMA / SurfaceFluxes.jl

A package for computing surface fluxes between the atmosphere, ocean and land models.
https://clima.github.io/SurfaceFluxes.jl/dev/
Apache License 2.0
16 stars 3 forks source link

Eliminate duplicate `universal_func_type` and generalize parameter extractor functions #149

Open glwagner opened 8 months ago

glwagner commented 8 months ago

This PR eliminates the duplicate universal_func_type by properly extending UniversalFunctions.universal_func_type within the Parameters submodule.

It also generalizes the parameter extractor functions to make it easier to build user-defined AbstractSurfaceFluxesParameters.

Closes #145

codecov[bot] commented 8 months ago

Codecov Report

Attention: Patch coverage is 15.38462% with 11 lines in your changes missing coverage. Please review.

Project coverage is 90.05%. Comparing base (4f06b46) to head (4f222bf). Report is 25 commits behind head on main.

Files Patch % Lines
src/Parameters.jl 15.38% 11 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #149 +/- ## ======================================= Coverage 90.05% 90.05% ======================================= Files 4 4 Lines 835 835 ======================================= Hits 752 752 Misses 83 83 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.