4.1.1.1.1.4. pamtra2.hydrometeors.density

4.1.1.1.1.4.1. Module Contents

4.1.1.1.1.4.1.1. Functions

softEllipsoid(sizeCenter, aspectRatio, mass, minDensity=100, maxDensity=constants.rhoIce)

oblate (AspectRatio <1) or prolate (asectRatio >0) soft spheres

softOblateEllipsoid(sizeCenter, aspectRatio, mass, minDensity=100, maxDensity=constants.rhoIce)

oblate (AspectRatio <1) soft spheres

softProlateEllipsoid(sizeCenter, aspectRatio, mass, minDensity=100, maxDensity=constants.rhoIce)

prolate (asectRatio >0) soft spheres

4.1.1.1.1.4.1.2. Attributes

water

ice

softEllipsoid(sizeCenter, aspectRatio, mass, minDensity=100, maxDensity=constants.rhoIce)[source]

oblate (AspectRatio <1) or prolate (asectRatio >0) soft spheres

Parameters
  • sizeCenter (array_like) – particle size at center of size bin

  • aspectRatio (array_like) – particle aspect ratio

  • mass (array_like) – particle mass

  • minDensity (float) – minimal density (Default value = 100)

  • maxDensity (float) – maximum density (Default value = constants.rhoIce)

Returns

density – density of hydrometeor

Return type

array_like

softOblateEllipsoid(sizeCenter, aspectRatio, mass, minDensity=100, maxDensity=constants.rhoIce)[source]

oblate (AspectRatio <1) soft spheres

Parameters
  • sizeCenter (array_like) – particle size at center of size bin

  • aspectRatio (array_like) – particle aspect ratio

  • mass (array_like) – particle mass

  • minDensity (float) – minimal density (Default value = 100)

  • maxDensity (float) – maximum density (Default value = constants.rhoIce)

Returns

density – density of hydrometeor

Return type

array_like

softProlateEllipsoid(sizeCenter, aspectRatio, mass, minDensity=100, maxDensity=constants.rhoIce)[source]

prolate (asectRatio >0) soft spheres

Parameters
  • sizeCenter (array_like) – particle size at center of size bin

  • aspectRatio (array_like) – particle aspect ratio

  • mass (array_like) – particle mass

  • minDensity (float) – minimal density (Default value = 100)

  • maxDensity (float) – maximum density (Default value = constants.rhoIce)

Returns

density – density of hydrometeor

Return type

array_like

water[source]
ice[source]