diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.json index 64cf2d59..95efce63 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.json @@ -73,7 +73,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.toml index 0ee4550d..15d1a47a 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.toml @@ -59,5 +59,8 @@ longname = "maximum number of user-defined api boundaries" description = "integer value specifying the maximum number of api boundary cells that will be specified for use during any stress period." [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.yaml index e59b1d8a..cb291b7f 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-api.yaml @@ -66,5 +66,7 @@ blocks: description: integer value specifying the maximum number of api boundary cells that will be specified for use during any stress period. keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.json index e68f281d..f957e91c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.json @@ -193,7 +193,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.toml index 5e26dc9f..46521bd9 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.toml @@ -171,5 +171,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.yaml index 6fc52e58..4cf94523 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drn.yaml @@ -199,5 +199,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.json index 899aea1d..cb50f7bb 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.json @@ -185,7 +185,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.toml index 60aa3198..bb47e7c4 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.toml @@ -165,5 +165,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.yaml index face06d9..f5f8c47e 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-drng.yaml @@ -187,5 +187,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.json index 8d7f390b..84b8268b 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.json @@ -180,7 +180,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.toml index 9b70ae8a..a2d92121 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.toml @@ -158,5 +158,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.yaml index fad48142..23ffe8d2 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghb.yaml @@ -181,5 +181,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.json index 5b262430..63111b3e 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.json @@ -172,7 +172,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.toml index 704564f5..9de2185c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.toml @@ -152,5 +152,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.yaml index 1bd8c2a5..b8f75f57 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-ghbg.yaml @@ -169,5 +169,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.json index 9a191235..0b313a4a 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.json @@ -768,8 +768,14 @@ } }, "keys": { - "mover_provider": "outlets.outletno", - "mover_receiver": "packagedata.ifno", - "bound": "<=nlakeconn" + "bound": "<=nlakeconn", + "mover_provider": { + "path": "outlets.outletno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.toml index 27145749..554d503a 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.toml @@ -686,6 +686,12 @@ tagged = false index = true [keys] -mover_provider = "outlets.outletno" -mover_receiver = "packagedata.ifno" bound = "<=nlakeconn" + +[keys.mover_provider] +path = "outlets.outletno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.yaml index a3ef0a2f..5cb1e5e1 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-lak.yaml @@ -826,6 +826,10 @@ blocks: tagged: false index: true keys: - mover_provider: outlets.outletno - mover_receiver: packagedata.ifno bound: <=nlakeconn + mover_provider: + path: outlets.outletno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.json index 73e892ef..dcb5809c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.json @@ -525,8 +525,14 @@ } }, "keys": { - "mover_provider": "packagedata.ifno", - "mover_receiver": "packagedata.ifno", - "bound": "<=ngwfnodes" + "bound": "<=ngwfnodes", + "mover_provider": { + "path": "packagedata.ifno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.toml index 7703a76c..e97c757f 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.toml @@ -469,6 +469,12 @@ tagged = false index = true [keys] -mover_provider = "packagedata.ifno" -mover_receiver = "packagedata.ifno" bound = "<=ngwfnodes" + +[keys.mover_provider] +path = "packagedata.ifno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.yaml index 32c4381d..b2644b6e 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-maw.yaml @@ -594,6 +594,10 @@ blocks: tagged: false index: true keys: - mover_provider: packagedata.ifno - mover_receiver: packagedata.ifno bound: <=ngwfnodes + mover_provider: + path: packagedata.ifno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.json index 2e614925..189dd8c9 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.json @@ -187,7 +187,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.toml index 2e8eb23b..649d6b2d 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.toml @@ -165,5 +165,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.yaml index 77f18ccc..2948610f 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-riv.yaml @@ -187,5 +187,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.json index d37f0224..2775eae5 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.json @@ -184,7 +184,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.toml index 7a5a80dd..acabea36 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.toml @@ -164,5 +164,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.yaml index 6a2f9f14..adca5b35 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-rivg.yaml @@ -178,5 +178,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.json index 6217614f..201bef87 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.json @@ -654,8 +654,14 @@ } }, "keys": { - "mover_provider": "packagedata.ifno", - "mover_receiver": "packagedata.ifno", - "bound": "packagedata.ifno" + "bound": "packagedata.ifno", + "mover_provider": { + "path": "packagedata.ifno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.toml index 7ee70376..a0d01cab 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.toml @@ -586,6 +586,12 @@ tagged = false index = true [keys] -mover_provider = "packagedata.ifno" -mover_receiver = "packagedata.ifno" bound = "packagedata.ifno" + +[keys.mover_provider] +path = "packagedata.ifno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.yaml index 824f6469..7fd4c854 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-sfr.yaml @@ -722,6 +722,10 @@ blocks: tagged: false index: true keys: - mover_provider: packagedata.ifno - mover_receiver: packagedata.ifno bound: packagedata.ifno + mover_provider: + path: packagedata.ifno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.json index e9a7c910..a67ae8d3 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.json @@ -421,8 +421,14 @@ } }, "keys": { - "mover_provider": "packagedata.ifno", - "mover_receiver": "packagedata.ifno", - "bound": "packagedata.ifno" + "bound": "packagedata.ifno", + "mover_provider": { + "path": "packagedata.ifno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.toml index bb938ff6..569c374f 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.toml @@ -385,6 +385,12 @@ tagged = false index = true [keys] -mover_provider = "packagedata.ifno" -mover_receiver = "packagedata.ifno" bound = "packagedata.ifno" + +[keys.mover_provider] +path = "packagedata.ifno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.yaml index ef63f545..49ee89e9 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-uzf.yaml @@ -449,6 +449,10 @@ blocks: tagged: false index: true keys: - mover_provider: packagedata.ifno - mover_receiver: packagedata.ifno bound: packagedata.ifno + mover_provider: + path: packagedata.ifno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.json index e7b30e97..a9b2b72a 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.json @@ -203,7 +203,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.toml index 662a09f7..72762f20 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.toml @@ -179,5 +179,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.yaml index bab886e2..d8c5671b 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-wel.yaml @@ -212,5 +212,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.json index 19772e48..23a9ba9b 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.json @@ -190,7 +190,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.toml index d807fcc9..02354279 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.toml @@ -168,5 +168,8 @@ tagged = false index = true [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.yaml index 0c7b491c..35705ba0 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwf-welg.yaml @@ -199,5 +199,7 @@ blocks: tagged: false index: true keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.json b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.json index 2ca792fa..d5b94dd2 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.json @@ -73,7 +73,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.toml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.toml index fbd7d201..6aa66b8c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.toml @@ -59,5 +59,8 @@ longname = "maximum number of user-defined api boundaries" description = "integer value specifying the maximum number of api boundary cells that will be specified for use during any stress period." [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.yaml index 91c9b007..3416abee 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev2/gwt-api.yaml @@ -66,5 +66,7 @@ blocks: description: integer value specifying the maximum number of api boundary cells that will be specified for use during any stress period. keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.json index b155b8fd..19bc822b 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.json @@ -123,7 +123,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.toml index 65b47e46..00193f12 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.toml @@ -101,5 +101,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.yaml index 869b4e64..fe8568af 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-api.yaml @@ -102,5 +102,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.json index e38f152d..ebe93433 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.json @@ -367,7 +367,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.toml index e4de2d05..ca3e252b 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.toml @@ -335,5 +335,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.yaml index 637f7ef8..2a1dcc15 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drn.yaml @@ -334,5 +334,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.json index 4a546ac4..c55bc334 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.json @@ -363,7 +363,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.toml index 97e1459e..f07facef 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.toml @@ -333,5 +333,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.yaml index 3a3449f0..f3e55627 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-drng.yaml @@ -325,5 +325,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.json index 5610a4f6..39d91aff 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.json @@ -349,7 +349,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.toml index aa235761..c9cfdc6c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.toml @@ -317,5 +317,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.yaml index 85456b55..684df345 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghb.yaml @@ -312,5 +312,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.json index e07eba7b..ae1d92ca 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.json @@ -345,7 +345,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.toml index 2ede63db..edfc2efd 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.toml @@ -315,5 +315,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.yaml index bb268078..62d21d08 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-ghbg.yaml @@ -303,5 +303,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.json index be138a53..1f37e024 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.json @@ -1159,8 +1159,14 @@ } }, "keys": { - "mover_provider": "outlets.outletno", - "mover_receiver": "packagedata.ifno", - "bound": "<=nlakeconn" + "bound": "<=nlakeconn", + "mover_provider": { + "path": "outlets.outletno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.toml index ade79322..5cbdaf44 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.toml @@ -1023,6 +1023,12 @@ type = "string" tagged = false [keys] -mover_provider = "outlets.outletno" -mover_receiver = "packagedata.ifno" bound = "<=nlakeconn" + +[keys.mover_provider] +path = "outlets.outletno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.yaml index 16e19729..2c104e62 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-lak.yaml @@ -1112,6 +1112,10 @@ observations: type: string tagged: false keys: - mover_provider: outlets.outletno - mover_receiver: packagedata.ifno bound: <=nlakeconn + mover_provider: + path: outlets.outletno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.json index 0d2d5762..96c3c3aa 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.json @@ -757,8 +757,14 @@ } }, "keys": { - "mover_provider": "packagedata.ifno", - "mover_receiver": "packagedata.ifno", - "bound": "<=ngwfnodes" + "bound": "<=ngwfnodes", + "mover_provider": { + "path": "packagedata.ifno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.toml index 55d0f42e..36c82027 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.toml @@ -667,6 +667,12 @@ type = "string" tagged = false [keys] -mover_provider = "packagedata.ifno" -mover_receiver = "packagedata.ifno" bound = "<=ngwfnodes" + +[keys.mover_provider] +path = "packagedata.ifno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.yaml index 359be474..bc97f92f 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-maw.yaml @@ -763,6 +763,10 @@ observations: type: string tagged: false keys: - mover_provider: packagedata.ifno - mover_receiver: packagedata.ifno bound: <=ngwfnodes + mover_provider: + path: packagedata.ifno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.json index b7f44e92..314f5f1c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.json @@ -356,7 +356,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.toml index 42b3e903..f7e77264 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.toml @@ -324,5 +324,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.yaml index 72360833..ee1e252c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-riv.yaml @@ -319,5 +319,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.json index 13f8d3de..f342f2b4 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.json @@ -357,7 +357,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.toml index 15598a4a..3a1cb4e0 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.toml @@ -327,5 +327,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.yaml index fa13d7b2..0870532c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-rivg.yaml @@ -312,5 +312,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.json index dd2e4957..45b87f6c 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.json @@ -1025,8 +1025,14 @@ } }, "keys": { - "mover_provider": "packagedata.ifno", - "mover_receiver": "packagedata.ifno", - "bound": "packagedata.ifno" + "bound": "packagedata.ifno", + "mover_provider": { + "path": "packagedata.ifno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.toml index 2ab51cfc..7b69d424 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.toml @@ -917,6 +917,12 @@ type = "string" tagged = false [keys] -mover_provider = "packagedata.ifno" -mover_receiver = "packagedata.ifno" bound = "packagedata.ifno" + +[keys.mover_provider] +path = "packagedata.ifno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.yaml index 6ab0be49..b8e6cbdd 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-sfr.yaml @@ -1000,6 +1000,10 @@ observations: type: string tagged: false keys: - mover_provider: packagedata.ifno - mover_receiver: packagedata.ifno bound: packagedata.ifno + mover_provider: + path: packagedata.ifno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.json index a3ad4c2e..7d2de89f 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.json @@ -629,8 +629,14 @@ } }, "keys": { - "mover_provider": "packagedata.ifno", - "mover_receiver": "packagedata.ifno", - "bound": "packagedata.ifno" + "bound": "packagedata.ifno", + "mover_provider": { + "path": "packagedata.ifno", + "when": "mover" + }, + "mover_receiver": { + "path": "packagedata.ifno", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.toml index bb8ef184..65b250da 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.toml @@ -563,6 +563,12 @@ type = "double" tagged = false [keys] -mover_provider = "packagedata.ifno" -mover_receiver = "packagedata.ifno" bound = "packagedata.ifno" + +[keys.mover_provider] +path = "packagedata.ifno" +when = "mover" + +[keys.mover_receiver] +path = "packagedata.ifno" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.yaml index b8463218..c91a80bd 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-uzf.yaml @@ -601,6 +601,10 @@ observations: type: double tagged: false keys: - mover_provider: packagedata.ifno - mover_receiver: packagedata.ifno bound: packagedata.ifno + mover_provider: + path: packagedata.ifno + when: mover + mover_receiver: + path: packagedata.ifno + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.json index 8f9c261c..075efa86 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.json @@ -400,7 +400,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.toml index e3f2fed9..e3464f37 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.toml @@ -364,5 +364,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.yaml index 87548b75..15eee9e8 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-wel.yaml @@ -364,5 +364,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.json index 2d275aea..9fab28b7 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.json @@ -391,7 +391,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.toml index cb23720b..2837e8c6 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.toml @@ -357,5 +357,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.yaml index 3876a42b..32a1495d 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwf-welg.yaml @@ -354,5 +354,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.json b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.json index 03c78145..a89c2978 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.json +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.json @@ -123,7 +123,10 @@ } }, "keys": { - "mover_provider": "<=maxbound", - "bound": "<=maxbound" + "bound": "<=maxbound", + "mover_provider": { + "path": "<=maxbound", + "when": "mover" + } } } \ No newline at end of file diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.toml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.toml index 578b0929..1f0bd409 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.toml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.toml @@ -101,5 +101,8 @@ type = "string" tagged = false [keys] -mover_provider = "<=maxbound" bound = "<=maxbound" + +[keys.mover_provider] +path = "<=maxbound" +when = "mover" diff --git a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.yaml b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.yaml index 9a7098ec..b200b5cf 100644 --- a/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.yaml +++ b/autotest/dfns/__snapshots__/v2.0.0.dev3/gwt-api.yaml @@ -102,5 +102,7 @@ observations: type: string tagged: false keys: - mover_provider: <=maxbound bound: <=maxbound + mover_provider: + path: <=maxbound + when: mover diff --git a/autotest/dfns/test_migrate.py b/autotest/dfns/test_migrate.py index 14251b37..da5ad544 100644 --- a/autotest/dfns/test_migrate.py +++ b/autotest/dfns/test_migrate.py @@ -399,7 +399,8 @@ def test_migrate_mvr_keys(dfn_dir): assert _fix_mvr_relations("gwf-mvr", blocks) == blocks -_PROVIDER = {"path": "<=maxbound"} +# a package plays the mover roles only with MOVER set +_PROVIDER = {"path": "<=maxbound", "when": "mover"} _BOUND = {"path": "<=maxbound"} @@ -423,8 +424,8 @@ def test_migrate_mvr_keys(dfn_dir): ( name, { - "mover_provider": {"path": "packagedata.ifno"}, - "mover_receiver": {"path": "packagedata.ifno"}, + "mover_provider": {"path": "packagedata.ifno", "when": "mover"}, + "mover_receiver": {"path": "packagedata.ifno", "when": "mover"}, "bound": {"path": bound}, }, ) @@ -437,8 +438,8 @@ def test_migrate_mvr_keys(dfn_dir): ( "gwf-lak", { - "mover_provider": {"path": "outlets.outletno"}, - "mover_receiver": {"path": "packagedata.ifno"}, + "mover_provider": {"path": "outlets.outletno", "when": "mover"}, + "mover_receiver": {"path": "packagedata.ifno", "when": "mover"}, "bound": {"path": "<=nlakeconn"}, }, ), diff --git a/autotest/dfns/test_schema_relations.py b/autotest/dfns/test_schema_relations.py index 2ea7c0bf..42e096de 100644 --- a/autotest/dfns/test_schema_relations.py +++ b/autotest/dfns/test_schema_relations.py @@ -971,6 +971,18 @@ def test_keys_load_and_dump_as_paths(): assert pkg.model_dump(exclude_defaults=True)["keys"] == {"bound": "<=maxbound"} +def test_keys_with_when_load_and_dump_as_tables(): + """A key set switched on by an option is written `{path, when}`; one + without stays its path alone.""" + keys = { + "mover_provider": {"path": "<=maxbound", "when": "mover"}, + "bound": "<=maxbound", + } + pkg = Package.model_validate({"name": "gwf-wel", "keys": keys}) + assert pkg.keys["mover_provider"] == KeySet(path="<=maxbound", when="mover") + assert pkg.model_dump(exclude_defaults=True)["keys"] == keys + + def _list_block(name, *fields, list_name=None): item = Record(name=name, fields={f.name: f for f in fields}) return Block(name=name, fields={list_name or name: List(name=list_name or name, item=item)}) @@ -1214,6 +1226,19 @@ def test_dfns_validate_keyset_bad(keyset, match): Dfns(components=_ctx_mvr(**pkgs)) +def test_dfns_validate_keyset_when(): + """A key set's `when` names a keyword option, as a field's does.""" + pkgs = _mover_pkgs( + wel_keys={"mover_provider": KeySet(path="<=maxbound", when="mover")}, + ) + Dfns(components=_ctx_mvr(**pkgs)) + pkgs = _mover_pkgs( + wel_keys={"mover_provider": KeySet(path="<=maxbound", when="nope")}, + ) + with pytest.raises(ValueError, match="when='nope' names no keyword option"): + Dfns(components=_ctx_mvr(**pkgs)) + + def test_dfns_validate_keyset_scoped_pk_rejected(): pkgs = _mover_pkgs() lak = pkgs["gwf-lak"] diff --git a/docs/md/dfnspec.md b/docs/md/dfnspec.md index 70071a22..523c1af9 100644 --- a/docs/md/dfnspec.md +++ b/docs/md/dfnspec.md @@ -201,7 +201,7 @@ If a component does not provide a `memory` catalog, all memory-managed variables #### `keys` -`{string: string | [string]} (default: {})`. Named key sets: what a foreign key elsewhere can name with `key`, when the instance it references can be one of several component types, or a key spanning several lists. See [Key sets](#key-sets). +`{string: string | [string] | {path, when}} (default: {})`. Named key sets: what a foreign key elsewhere can name with `key`, when the instance it references can be one of several component types, or a key spanning several lists. See [Key sets](#key-sets). ### Component types @@ -378,6 +378,8 @@ when = "boundnames" A field with a `when` renders in brackets, like an optional one, e.g. `[]`. +A [key set](#key-sets) may have a `when` too, which switches the component's part in a role on or off in the same way. + This is about whether a field is present at all, not how many values it holds. A column sized by another field, like `aux` (one value per auxiliary variable), uses `shape` instead, and a size of 0 means it's absent. #### `default` @@ -932,12 +934,12 @@ A normal `fk` is written as a path because the referrer knows the target's type: ```toml # gwf-lak [keys] -mover_provider = "outlets.outletno" -mover_receiver = "packagedata.ifno" +mover_provider = { path = "outlets.outletno", when = "mover" } +mover_receiver = { path = "packagedata.ifno", when = "mover" } # gwf-wel, and other standard boundary packages with a MOVER option [keys] -mover_provider = "<=maxbound" +mover_provider = { path = "<=maxbound", when = "mover" } bound = "<=maxbound" ``` @@ -966,7 +968,7 @@ source = ["sources.pname", "fileinput.pname"] A key set needn't be named by any `fk`; this one is there for its key. A bound can't be one of several paths. -MODFLOW 6 also rejects a mover row naming a package without its `MOVER` option set. That's the [rule](#rules) `mover_enabled` on `gwf-mvr`'s `packages.pname`, which every mover row's package must be listed in. +A key set may be switched on by an option, written `{ path = "", when = "" }`. As for a field's [`when`](#when), the keyword is one in the component's `options` block. Without it set, the component has no keys in the set, so it doesn't play the role and an `fk` naming it fails. MODFLOW 6 rejects a mover row naming a package without its `MOVER` option set (`gwf-mvr.f90:942-971`), so every mover role has `when = "mover"`. The same check also covers `gwf-mvr`'s `packages` block, whose rows needn't be named by any period row: the [rule](#rules) `mover_enabled` says a listed package must play a mover role. A component that doesn't declare a role can't be named by an `fk` with that `key`. A validator checks that: @@ -978,8 +980,8 @@ The roles in MODFLOW 6: | role | declared by | referenced by | |---|---|---| -| `mover_provider` | packages with a MOVER option: `<=maxbound` for standard boundary packages (`BoundaryPackage.f90:282-285`); `packagedata.ifno` for SFR, MAW and UZF; `outlets.outletno` for LAK | `gwf-mvr`'s `id1` | -| `mover_receiver` | `packagedata.ifno` for SFR, MAW, UZF and LAK (its lakes) | `gwf-mvr`'s `id2` | +| `mover_provider` | packages with a MOVER option, when it's set: `<=maxbound` for standard boundary packages (`BoundaryPackage.f90:282-285`); `packagedata.ifno` for SFR, MAW and UZF; `outlets.outletno` for LAK | `gwf-mvr`'s `id1` | +| `mover_receiver` | when MOVER is set, `packagedata.ifno` for SFR, MAW, UZF and LAK (its lakes) | `gwf-mvr`'s `id2` | | `bound` | `<=maxbound` for every non-utility package with a `maxbound` dimension; `packagedata.ifno` for SFR and UZF; `<=nlakeconn` for LAK; `<=ngwfnodes` for MAW | `utl-spc`'s `bndno` | | `source` | `["sources.pname", "fileinput.pname"]` for `gwt-ssm` and `gwe-ssm` | nothing: its key is the point | @@ -1001,17 +1003,17 @@ An advanced package's bounds are its features or its connections. SFR and UZF ha Some references depend on where a component's file is bound in a simulation, not only on the data in it. An exchange's mover may name only the exchange's two models; a transport model's SSM names packages of whichever flow model an exchange pairs it with. No path or sibling scope can say this. Instead, the `fk` names a **rule**: the spec states what the rule means, below, and consumers implement it in code, like JSON Schema's `format`. -A rule narrows which instance, or which of the target's values, the reference is checked against. Without a scope, the rule picks the instance. With one, the scope picks it and the rule narrows its values: +A rule names a subset of the `fk`'s target, and the value must be in it. In relational terms, the `fk` references a named view rather than the target table. A rule may stand in for a scope, or narrow a scoped target further: ```toml -# gwf-mvr packages.mname, period mname1/mname2: the rule picks the instance +# gwf-mvr packages.mname, period mname1/mname2: the exchange's two models fk = { path = "sim-nam.models.mname", rule = "exchange_models" } # gwt-ssm / gwe-ssm sources.pname and fileinput.pname pk = true fk = { path = "gwf-nam.packages.pname", rule = "flow_model" } -# gwf-mvr packages.pname: the scope picks the model, the rule narrows its packages +# gwf-mvr packages.pname: the scope picks the model, the rule narrows its packages to movers pk = { scope = "mname" } fk = { path = "gwf-nam.packages.pname", scope = "mname", rule = "mover_enabled" } ``` @@ -1023,7 +1025,7 @@ The rest of the `fk` is checked as usual, by its scope or as if unscoped: its pa | `exchange_models` | one of the two models (`exgmnamea`, `exgmnameb`) of the exchange whose `MVR6` option binds this mover. In a model's own mover the model names are absent (`MODELNAMES` is rejected there). | `GwfExchangeMover.f90:87-93` | | `flow_model` | in the flow model that a GWF-GWT or GWF-GWE exchange pairs with this transport model (its `exgmnamea`, where the transport model is `exgmnameb`). With flows read from a budget file there is no such exchange, and the reference isn't checked. | `exg-gwfgwt.f90:124-129`, `exg-gwfgwe.f90:121-126`, `tsp-ssm.f90:800-811` | | `ssm_package` | in the flow package named by the SSM `fileinput` row that binds this SPC file. If an advanced transport package is paired with that flow package, SSM doesn't apply the SPC file and the reference isn't checked. | `TspSpc.f90:326-349`, `tsp-ssm.f90:195` | -| `mover_enabled` | a package with its `MOVER` option set | `gwf-mvr.f90:942-971` | +| `mover_enabled` | a package that plays `mover_provider` or `mover_receiver`: one whose mover key sets are switched on by `MOVER` (see [Key sets](#key-sets)) | `gwf-mvr.f90:942-971` | The names are fixed by the schema, so a misspelled rule is an error. A new rule is added to the schema and this table together. diff --git a/modflow_devtools/dfns/migrate_to_v2_0_0_dev2.py b/modflow_devtools/dfns/migrate_to_v2_0_0_dev2.py index d166e685..566aa058 100644 --- a/modflow_devtools/dfns/migrate_to_v2_0_0_dev2.py +++ b/modflow_devtools/dfns/migrate_to_v2_0_0_dev2.py @@ -1673,7 +1673,8 @@ def _fix_mvr_relations(name: str, blocks: dict[str, v2.Block]) -> dict[str, v2.B - `packages.pname` is unique within `mname`: `read_packages` rejects a repeated memory path (since modflow6 #3077, case-insensitively), and each must name a package in that model with its MOVER option set - (`check_packages`, `gwf-mvr.f90:942-971`). So `pk = {scope = + (`check_packages`, `gwf-mvr.f90:942-971`), i.e. one whose mover key + sets are switched on (see `_component_keys`). So `pk = {scope = "mname"}`, `fk = {path = "gwf-nam.packages.pname", scope = "mname", rule = "mover_enabled"}`. - `packages.mname`, `period.perioddata`'s `mname1`/`mname2`: @@ -1791,9 +1792,10 @@ def _component_keys( - `mover_provider`/`mover_receiver`, if the options block has a `mover` keyword: per `_MOVER_KEYS`, else a provider only, by bound, - `<=maxbound` (skipped without a `maxbound` dim). MF6 also requires the - named package to have MOVER set: MVR's `packages.pname` rule - `mover_enabled` (see `_fix_mvr_relations`). + `<=maxbound` (skipped without a `maxbound` dim). Both are switched on + by MOVER (`when = "mover"`): MF6 rejects a mover row naming a package + without it (`gwf-mvr.f90:942-971`). MVR's `packages.pname` rule + `mover_enabled` refers to these (see `_fix_mvr_relations`). - `bound`, what SPC's `bndno` names: `<=maxbound` in a non-utility package with a `maxbound` dim, a standard boundary package's bounds, numbered by position in MF6's bound list (`BoundaryPackage.f90`); in @@ -1810,10 +1812,10 @@ def _component_keys( if options is not None and isinstance(options.fields.get("mover"), v2.Keyword): if name in _MOVER_KEYS: provider, receiver = _MOVER_KEYS[name] - keys[MOVER_PROVIDER] = v2.KeySet(path=provider) - keys[MOVER_RECEIVER] = v2.KeySet(path=receiver) + keys[MOVER_PROVIDER] = v2.KeySet(path=provider, when="mover") + keys[MOVER_RECEIVER] = v2.KeySet(path=receiver, when="mover") elif has_maxbound: - keys[MOVER_PROVIDER] = v2.KeySet(path="<=maxbound") + keys[MOVER_PROVIDER] = v2.KeySet(path="<=maxbound", when="mover") if name in _BOUND_KEYS: keys[BOUND] = v2.KeySet(path=_BOUND_KEYS[name]) elif has_maxbound and not name.startswith("utl-"): diff --git a/modflow_devtools/dfns/schema.py b/modflow_devtools/dfns/schema.py index acd9249a..3fe9ced5 100644 --- a/modflow_devtools/dfns/schema.py +++ b/modflow_devtools/dfns/schema.py @@ -146,9 +146,10 @@ def _derive_tagged(self) -> bool: # Named rules an fk can carry (see `ForeignKey.rule`): constraints the spec # states in prose (`docs/md/dfnspec.md`, "Rules") and consumers implement in -# code, like JSON Schema's `format`. Each depends on where the component's -# file is bound in a simulation, which no static path can say. A consumer -# that doesn't implement a rule skips its check. +# code, like JSON Schema's `format`. Each names a subset of the fk's target +# that the value must fall in, which no path or scope can say: most depend +# on where the component's file is bound in a simulation. A consumer that +# doesn't implement a rule skips its check. RULES: dict[str, str] = { "exchange_models": ( "one of the two models (exgmnamea, exgmnameb) of the exchange whose " @@ -164,7 +165,11 @@ def _derive_tagged(self) -> bool: "SPC file (TspSpc.f90:326-349); unchecked if an advanced transport " "package is paired with it (tsp-ssm.f90:195)" ), - "mover_enabled": "a package with its MOVER option set (gwf-mvr.f90:942-971)", + "mover_enabled": ( + "a package that plays mover_provider or mover_receiver, i.e. whose " + "mover key sets are switched on by their when (MOVER) " + "(gwf-mvr.f90:942-971)" + ), } @@ -190,10 +195,10 @@ class ForeignKey(BaseModel): component of the picked instance declares, by name, in its `keys`. For an instance whose type is known only at runtime (MVR's `id1`). - A `rule` (see `RULES`) says which instance, or which of the target's - values, the reference is checked against. Without a `scope`, the rule - picks the instance; with one, the scope picks it and the rule narrows - its values (MVR's `packages.pname`: `mover_enabled`). + A `rule` (see `RULES`) names a subset of the target the value must fall + in. It may stand in for a `scope` (MVR's `mname1`: `exchange_models`) or + restrict a scoped target further (MVR's `packages.pname`: + `mover_enabled`). """ model_config = ConfigDict(frozen=True, extra="forbid") @@ -306,11 +311,17 @@ class KeySet(BaseModel): It may instead be several `block.field` paths, columns of one type: the set is their union, and as a supertype table's key, a value is unique across them. SSM's `source`: a flow package is named in `sources` or - `fileinput`, not both (MF6's `isrctype`).""" + `fileinput`, not both (MF6's `isrctype`). + + `when`, as on a field, names a keyword in the component's options block + that switches the key set on: without it, the component plays no part + in the role. A package plays the mover roles only with MOVER set. + Written `{path, when}`.""" model_config = ConfigDict(frozen=True, extra="forbid") path: str | tuple[str, ...] + when: str | None = None @field_validator("path", mode="before") @classmethod @@ -353,13 +364,18 @@ def bound(self) -> str | None: return None +def _dump_keyset(k: KeySet) -> Any: + path = k.path if isinstance(k.path, str) else list(k.path) + return path if k.when is None else {"path": path, "when": k.when} + + KeySetT = Annotated[ KeySet, BeforeValidator( lambda v: KeySet(path=v) if isinstance(v, str | list | tuple) else v, json_schema_input_type=str | list[str] | KeySet, ), - PlainSerializer(lambda k: k.path if isinstance(k.path, str) else list(k.path)), + PlainSerializer(_dump_keyset), ] @@ -1976,9 +1992,14 @@ def _keyset_column(component: "ComponentBase", path: str) -> "InputField": def _validate_keys(component: "ComponentBase", spec: "Dfns") -> None: """Each declared key set's path is valid in the component: a list's unscoped pk or a string array (see `_keyset_column`), or `<=dim` with a - dimension the component can see. Several paths name columns of one type.""" + dimension the component can see. Several paths name columns of one type. + A `when` names a keyword option, as a field's does.""" + options = (component.blocks or {}).get("options") + keywords = {n for n, f in (options.fields if options else {}).items() if isinstance(f, Keyword)} for name, keyset in (component.keys or {}).items(): where = f"{component.name}: key set {name!r}" + if keyset.when is not None and keyset.when not in keywords: + raise ValueError(f"{where}: when={keyset.when!r} names no keyword option") if keyset.bound is not None: if keyset.bound not in spec.input_dims(component.name): raise ValueError(f"{where}: {keyset.path!r} names no dimension of {component.name}")