opendrift.models.openoil.adios.models.oil.cleanup.add_labels
Add labels to a record – for those that we can use some automatic criteria for
- For a given product type:
some labels can be determined from API and/or Viscosity ranges.
The criteria follows the ASTM (and others) standards, where we can
Module Contents
Functions
|
get the labels suggested for this oil |
|
add labels to the passed in oil. |
|
Attributes
- opendrift.models.openoil.adios.models.oil.cleanup.add_labels.synonyms_for_product_types
- opendrift.models.openoil.adios.models.oil.cleanup.add_labels.synonyms_for_labels
- opendrift.models.openoil.adios.models.oil.cleanup.add_labels.no_criteria
- opendrift.models.openoil.adios.models.oil.cleanup.add_labels.label_map
- opendrift.models.openoil.adios.models.oil.cleanup.add_labels.get_suggested_labels(oil)[source]
get the labels suggested for this oil
- Parameters:
oil (Oil object) – the oil object to get the labels for