argopy.extensions.OpticalModeling.Zpd

argopy.extensions.OpticalModeling.Zpd#

OpticalModeling.Zpd(*args, **kwargs)[source]#

First optical depth from depth of the euphotic zone

Parameters:
  • args – Since Zpd is a simple scaling of the euphotic depth, all arguments are directly passed to Dataset.argo.optic.Zeu.

  • kwargs – Since Zpd is a simple scaling of the euphotic depth, all arguments are directly passed to Dataset.argo.optic.Zeu.

  • inplace (bool, optional, default: True) – Should we return the new variable (False) or the dataset with the new variable added to it (True).

Returns:

Zpd as a xarray.DataArray or, if the inplace argument is True, dataset is modified in-place with new variables Zpd and Zeu.

Return type:

xarray.DataArray or xarray.Dataset

See also

Dataset.argo.optic, Dataset.argo.optic.Zeu, argopy.utils.optical_modeling.Z_firstoptic()

Notes

The “first optical depth”, which is approximately the layer that is seen by a satellite, is given by [1]:

\[Z_{pd} = \frac{Z_{eu}}{4.6}\]

References

[1]

Morel, A. (1988), Optical modeling of the upper ocean in relation to its biogenous matter content (case I waters), J. Geophys. Res., 93(C9), 10749–10768, doi:10.1029/JC093iC09p10749.

Examples

from argopy import ArgoFloat
dsp = ArgoFloat(6901864).open_dataset('Sprof')

dsp.argo.optic.Zpd()
dsp.argo.optic.Zpd(method='KdPAR', layer_min=10., layer_maz=50.) # Modify how Zeu is computed