From 4eb43680945ad50bb71e6eec6056994cf2019685 Mon Sep 17 00:00:00 2001 From: Timothy Hume Date: Mon, 2 Oct 2023 13:12:46 +1100 Subject: [PATCH] For some reason bilinear.py got messed around. --- improver/regrid/bilinear.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/improver/regrid/bilinear.py b/improver/regrid/bilinear.py index 9728f8c911..75b2038b04 100644 --- a/improver/regrid/bilinear.py +++ b/improver/regrid/bilinear.py @@ -1,7 +1,7 @@ # -*- coding: utf-8 -*- # ----------------------------------------------------------------------------- # (C) British Crown copyright. The Met Office. -# All rights reerved. +# All rights reserved. # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -212,7 +212,7 @@ def adjust_boundary_indexes( indexes[point_lat_max, 0] = indexes[point_lat_max, 1] - in_lons_size indexes[point_lat_max, 3] = indexes[point_lat_max, 0] + 1 - if lon_max_equal: + if lon_max_equal: indexes[point_lon_max, 0] = indexes[point_lon_max, 0] - 1 indexes[point_lon_max, 1] = indexes[point_lon_max, 1] - 1 indexes[point_lon_max, 2] = indexes[point_lon_max, 1] + 1