opendrift.models.openoil.adios.models.oil.properties
Classes for storing measured values within an Oil record
Module Contents
Classes
just like a list, but with the ability to turn it into JSON |
|
just like a list, but with the ability to turn it into JSON |
|
There is no use for an empty Emulsion object |
|
just like a list, but with the ability to turn it into JSON |
|
- class opendrift.models.openoil.adios.models.oil.properties.InterfacialTensionPoint[source]
-
- interface: str
- method: str
- class opendrift.models.openoil.adios.models.oil.properties.InterfacialTensionList[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.properties.Dispersibility[source]
- dispersant: str
- method: str
- class opendrift.models.openoil.adios.models.oil.properties.DispersibilityList[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.properties.Emulsion[source]
There is no use for an empty Emulsion object
But there is a use for one that has an arbitrary subset of fields,
so making them all optional
- complex_modulus: opendrift.models.openoil.adios.models.common.measurement.Pressure
- storage_modulus: opendrift.models.openoil.adios.models.common.measurement.Pressure
- complex_viscosity: opendrift.models.openoil.adios.models.common.measurement.DynamicViscosity
- method: str
- visual_stability: str
- class opendrift.models.openoil.adios.models.oil.properties.EmulsionList[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