meom-group / jaxparrow

A package for computing the inversion of the cyclogeostrophic balance based on a variational formulation approach, using JAX.
https://jaxparrow.readthedocs.io/
Apache License 2.0
7 stars 1 forks source link

handling of land boundaries #53

Closed vadmbertr closed 8 months ago

vadmbertr commented 8 months ago

Currently, "land" boundaries are handled in a "hard" way when using operators: if one of the two inputs (values) of the operator (interpolation or derivative) is not finite, the operator result is not finite as well. We could rather "duplicate" the finite value, in order to produce a finite value if one of the two inputs is finite.