From 9b3138cc1247eb826d4c0906ff93800ebd9a01d7 Mon Sep 17 00:00:00 2001 From: James Bruten <109733895+james-bruten-mo@users.noreply.github.com> Date: Thu, 26 Feb 2026 09:18:20 +0000 Subject: [PATCH 1/3] remove river failure --- mule/lib/mule/validators.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/mule/lib/mule/validators.py b/mule/lib/mule/validators.py index 034382a2..4d253ce4 100644 --- a/mule/lib/mule/validators.py +++ b/mule/lib/mule/validators.py @@ -570,12 +570,9 @@ def validate_regular_field(umf, field): n_row_exp += 1 elif field.stash.grid == 23: # River routing grid - if umf.fixed_length_header.horiz_grid_type != 0: - return ["Field is river routing diag, which is invalid " - "for non-Global domains"] - else: + if umf.fixed_length_header.horiz_grid_type == 0: # Note the river routing diagnostics are restriced to a very - # specific fixed grid; any deviation from this is incorrect + # specific fixed global grid; any deviation from this is incorrect lon_start_exp = 0.5 lat_start_exp = -89.5 n_row_exp = 180 From 7bca4c9221178c809f41d6699c7cf5a3c9db686a Mon Sep 17 00:00:00 2001 From: James Bruten <109733895+james-bruten-mo@users.noreply.github.com> Date: Wed, 15 Jul 2026 11:50:27 +0100 Subject: [PATCH 2/3] add comment --- mule/lib/mule/validators.py | 1 + 1 file changed, 1 insertion(+) diff --git a/mule/lib/mule/validators.py b/mule/lib/mule/validators.py index 4d253ce4..09523130 100644 --- a/mule/lib/mule/validators.py +++ b/mule/lib/mule/validators.py @@ -570,6 +570,7 @@ def validate_regular_field(umf, field): n_row_exp += 1 elif field.stash.grid == 23: # River routing grid + # No validation is done for regional rivers if umf.fixed_length_header.horiz_grid_type == 0: # Note the river routing diagnostics are restriced to a very # specific fixed global grid; any deviation from this is incorrect From 12ea441b48a42e456ee8fe683ac91d650723f4a3 Mon Sep 17 00:00:00 2001 From: James Bruten <109733895+james-bruten-mo@users.noreply.github.com> Date: Fri, 17 Jul 2026 11:41:10 +0100 Subject: [PATCH 3/3] Update mule/lib/mule/validators.py Co-authored-by: Sam Clarke-Green <74185251+t00sa@users.noreply.github.com> --- mule/lib/mule/validators.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mule/lib/mule/validators.py b/mule/lib/mule/validators.py index 09523130..67dea05a 100644 --- a/mule/lib/mule/validators.py +++ b/mule/lib/mule/validators.py @@ -572,7 +572,7 @@ def validate_regular_field(umf, field): # River routing grid # No validation is done for regional rivers if umf.fixed_length_header.horiz_grid_type == 0: - # Note the river routing diagnostics are restriced to a very + # Note the river routing diagnostics are restricted to a very # specific fixed global grid; any deviation from this is incorrect lon_start_exp = 0.5 lat_start_exp = -89.5