roms_tools.datasets.lat_lon_datasets.WOABGCDataset.post_process

roms_tools.datasets.lat_lon_datasets.WOABGCDataset.post_process#

WOABGCDataset.post_process() None#

Convert the tracers to mmol/m3 and build the land/ocean mask.

WOA reports nutrients and oxygen in umol/kg, while ROMS expects mmol/m3. The conversion uses in-situ density (TEOS-10 gsw.rho with pressure from depth) from the loaded T/S, matching GLODAPv2BGCDataset.post_process(). T/S stay in self.ds so the pipeline can use them as the source density coordinate; it drops them after vertical regridding via bgc_source_ts.