opendrift.models.openoil.adios.models.oil.distillation

Classes for storing measured values within an Oil record

Module Contents

Classes

DistCut

DistCutList

just like a list, but with the ability to turn it into JSON

Distillation

class opendrift.models.openoil.adios.models.oil.distillation.DistCut[source]
fraction: opendrift.models.openoil.adios.models.common.measurement.MassOrVolumeFraction
vapor_temp: opendrift.models.openoil.adios.models.common.measurement.Temperature
class opendrift.models.openoil.adios.models.oil.distillation.DistCutList[source]

Bases: opendrift.models.openoil.adios.models.common.utilities.JSON_List

just like a list, but with the ability to turn it into JSON

A regular list can only be converted to JSON if it has JSON-able objects in it.

Note: must be subclassed, and the item_type attribute set

Initialize self. See help(type(self)) for accurate signature.

item_type
class opendrift.models.openoil.adios.models.oil.distillation.Distillation[source]
type: str
method: str
end_point: opendrift.models.openoil.adios.models.common.measurement.Temperature
fraction_recovered: opendrift.models.openoil.adios.models.common.measurement.MassOrVolumeFraction
cuts: DistCutList
validate()