roms_tools.datasets.lat_lon_datasets.GLODAPv2BGCDataset.post_process

roms_tools.datasets.lat_lon_datasets.GLODAPv2BGCDataset.post_process#

GLODAPv2BGCDataset.post_process() None#

Convert BGC tracers from µmol kg⁻¹ to mmol m⁻³.

Uses in-situ density (TEOS-10 gsw.rho with pressure from depth) from the loaded T/S to compute density (dask-lazy). T/S remain in self.ds so the downstream pipeline can use them as the source density coordinate for density-space vertical interpolation; the pipeline drops them after regridding via bgc_source_ts.

If T/S are absent (e.g. the file did not include them), falls back to a uniform 1025 kg m⁻³ density.