statistics.weights.lat_weight¶
Import path: earth2studio.statistics.weights.lat_weight
Documentation¶
Compute the cosine-based latitude weighting for a given tensor representing latitude coordinates. The latitude coordinates are assumed to be in degrees.
Uses the formula weights = cos(lat * pi / 180.0)
Parameters:
-
lat(T) –Array of latitude values, in degrees. Should be in the range [-90, 90].
Returns: