Skip to content

Conversation

@bderembl
Copy link
Contributor

@bderembl bderembl commented Dec 8, 2025

Proposition for #77

@knutaros
Copy link
Contributor

knutaros commented Dec 8, 2025 via email

@bderembl
Copy link
Contributor Author

bderembl commented Dec 8, 2025

It should be doable.

we will still have to recompute several quantities like (t_atm - t_ocn)

also there are several terms that modify the air-sea flux (not the drag): rain impact, webb correction.

we would need a 3 step process:

  • compute Cds
  • compute the fluxes
  • correct the fluxes

@bolding
Copy link
Collaborator

bolding commented Dec 8, 2025

Fairall does things slightly differently and will have to be modified as it does not have a 'clean' value for all 3 coefficients.

But we can still do it for Kondo and constant - will get rid of redundant code

@bolding
Copy link
Collaborator

bolding commented Dec 12, 2025

maybe the cd's should be moved to airsea_variables - and we split out the actual flux calculations from Kondo - and this can then be re-used in a dedicated flux routine

still Fairall needs to be handled separately

@jornbr
Copy link
Contributor

jornbr commented Dec 12, 2025

If major refactoring of the meteo code is desired, we might as well start from https://github.com/BoldingBruggeman/awex/ - which essentially is a refactored version of the GOTM meteo, adapted to also suit 3D models (pygetm). There the emphasis is on cd - but again fairall did not fit in easily, and is currently not enabled there.

@bolding
Copy link
Collaborator

bolding commented Dec 12, 2025

What Jorn suggest makes a lot of sense :-)

I'll do that - over time ....

@bderembl - you can use your own implementation for now - right?

@bderembl
Copy link
Contributor Author

great for me -- as long as there is a constant cd option in the new version ;)

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.

4 participants