- class esmpy.api.constants.NormType(value, names=None, module=None, type=None, start=1)¶
When doing conservative regridding, this option allows the user to select the type of normalization used when producing the weights.
- DSTAREA = <NormType.DSTAREA: 0>¶
Destination area normalization. Here the weights are calculated by dividing the area of overlap of the source and destination cells by the area of the entire destination cell. In other words, the weight is the fraction of the entire destination cell which overlaps with the given source cell.
- FRACAREA = <NormType.FRACAREA: 1>¶
Fraction area normalization. Here in addition to the weight calculation done for destination area normalization the weights are also divided by the fraction that the destination cell overlaps with the entire source grid. In other words, the weight is the fraction of just the part of the destination cell that overlaps with the entire source mesh.