File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -191,11 +191,11 @@ def get_relational_constraints(cvars):
191191 ROF_OCN_MAPPING_FOLD > 0 :
192192 "ROF_OCN_MAPPING_FOLD must be a positive number." ,
193193
194- ROF_OCN_MAPPING_RMAX <= 1000 :
195- "ROF_OCN_MAPPING_RMAX must be less than or equal to 1000 km." ,
194+ ROF_OCN_MAPPING_RMAX <= 4000 :
195+ "ROF_OCN_MAPPING_RMAX must be less than or equal to 4000 km." ,
196196
197- ROF_OCN_MAPPING_FOLD <= 1000 :
198- "ROF_OCN_MAPPING_FOLD must be less than or equal to 1000 km." ,
197+ ROF_OCN_MAPPING_FOLD <= 8000 :
198+ "ROF_OCN_MAPPING_FOLD must be less than or equal to 8000 km." ,
199199
200200 #### Assertions to stress-test the CSP solver
201201
Original file line number Diff line number Diff line change 33from pathlib import Path
44import time
55import os
6+ from z3 import And
67
78from ProConPy .config_var import cvars
89from ProConPy .stage import Stage , Guard
@@ -321,7 +322,7 @@ def initialize_grid_stages(cime):
321322 parent = Guard (
322323 title = "ROF to OCN Mapping" ,
323324 parent = stg_custom_rof_grid ,
324- condition = cvars ["COMP_OCN" ] == "mom" ,
325+ condition = And ( cvars ["COMP_OCN" ] == "mom" , cvars [ "COMP_ROF" ] != "srof" )
325326 ),
326327 varlist = [cvars ["ROF_OCN_MAPPING_STATUS" ]],
327328 )
You can’t perform that action at this time.
0 commit comments