roms_tools.datasets.lat_lon_datasets.WOABGCDataset.extrapolate_deepest_to_bottom#
- WOABGCDataset.extrapolate_deepest_to_bottom() None#
Fill vertical NaN gaps downward and upward, then rebuild the mask.
A plain forward fill is not enough: WOA can be NaN at the surface where deeper data exist, and coverage differs between variables, so the mask built from the first tracer can mark a cell as ocean where another tracer is NaN. This mirrors
GLODAPv2Dataset.extrapolate_deepest_to_bottom().