Locate the maximum u_ref within a region of fixed size (lon_width * lat range) at each nino3. Return the results as two pairs of (u_ref, nino3) for warm and cold conditions respectively
Parameters: |
|
---|
The time axes of u_ref and nino3 should match
Returns: | ((pos_u,pos_t), (neg_u,neg_t)) contains numpy 1d arrays |
---|
Same as max_anom_index() but with option=”value” enforced
Return the index where U is maximum after applying a lon_width degree running mean along the longitude.
Assumed uniform grid
Parameters: |
|
---|
Same as max_anom_index() but with option=”lat” enforced
Same as max_anom_index() but with option=”lon” enforced
Plot (if doPlot is True) the results and compute the value of r using linear regression.
Parameters: |
|
---|---|
Returns: | r – (slope_positive_x - slope_negative_x)/(slope_positive_x + slope_negative_x) |
Return type: | number |