Skip to content

Commit 86a56b6

Browse files
committed
additional test for nearest_lat interpolation
1 parent e64d94a commit 86a56b6

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

bld/build-namelist

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,10 @@ if (!($simple_phys or $aqua_mode)) {
741741
die "$ProgName - ERROR: stream_co2_surface_source_mesh_filename must be set to 'none' " .
742742
"when stream_co2_surface_source_mapalgo is 'nearest_lat'\n";
743743
}
744+
if (($mapalgo ne 'nearest_lat') and ($mesh eq 'none')) {
745+
die "$ProgName - ERROR: stream_co2_surface_source_mesh_filename must be a valid mesh file " .
746+
"when stream_co2_surface_source_mapalgo is '$mapalgo'\n";
747+
}
744748
}
745749
}
746750

0 commit comments

Comments
 (0)