Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions mule/lib/mule/validators.py
Original file line number Diff line number Diff line change
Expand Up @@ -570,12 +570,10 @@ 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:
# Note the river routing diagnostics are restriced to a very
# specific fixed grid; any deviation from this is incorrect
# No validation is done for regional rivers
if umf.fixed_length_header.horiz_grid_type == 0:
# 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
n_row_exp = 180
Expand Down
Loading