{"action":"created","issue":{"url":"https://api.github.com/repos/ESMCI/cime/issues/119","repository_url":"https://api.github.com/repos/ESMCI/cime","labels_url":"https://api.github.com/repos/ESMCI/cime/issues/119/labels{/name}","comments_url":"https://api.github.com/repos/ESMCI/cime/issues/119/comments","events_url":"https://api.github.com/repos/ESMCI/cime/issues/119/events","html_url":"https://github.com/ESMCI/cime/issues/119","id":143651042,"number":119,"title":"compset matches in driver's config_component should be made more general","user":{"login":"billsacks","id":6266741,"avatar_url":"https://avatars.githubusercontent.com/u/6266741?v=3","gravatar_id":"","url":"https://api.github.com/users/billsacks","html_url":"https://github.com/billsacks","followers_url":"https://api.github.com/users/billsacks/followers","following_url":"https://api.github.com/users/billsacks/following{/other_user}","gists_url":"https://api.github.com/users/billsacks/gists{/gist_id}","starred_url":"https://api.github.com/users/billsacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billsacks/subscriptions","organizations_url":"https://api.github.com/users/billsacks/orgs","repos_url":"https://api.github.com/users/billsacks/repos","events_url":"https://api.github.com/users/billsacks/events{/privacy}","received_events_url":"https://api.github.com/users/billsacks/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-26T02:06:22Z","updated_at":"2016-03-26T02:06:37Z","closed_at":null,"body":"Moving issue CESM-Development/cime#402 to here, in the comments that follow."},"comment":{"url":"https://api.github.com/repos/ESMCI/cime/issues/comments/201668033","html_url":"https://github.com/ESMCI/cime/issues/119#issuecomment-201668033","issue_url":"https://api.github.com/repos/ESMCI/cime/issues/119","id":201668033,"user":{"login":"billsacks","id":6266741,"avatar_url":"https://avatars.githubusercontent.com/u/6266741?v=3","gravatar_id":"","url":"https://api.github.com/users/billsacks","html_url":"https://github.com/billsacks","followers_url":"https://api.github.com/users/billsacks/followers","following_url":"https://api.github.com/users/billsacks/following{/other_user}","gists_url":"https://api.github.com/users/billsacks/gists{/gist_id}","starred_url":"https://api.github.com/users/billsacks/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/billsacks/subscriptions","organizations_url":"https://api.github.com/users/billsacks/orgs","repos_url":"https://api.github.com/users/billsacks/repos","events_url":"https://api.github.com/users/billsacks/events{/privacy}","received_events_url":"https://api.github.com/users/billsacks/received_events","type":"User","site_admin":false},"created_at":"2016-03-26T02:06:37Z","updated_at":"2016-03-26T02:06:37Z","body":"Many of the compset matches in driver_cpl/cime_config/config_component.xml seem fragile, especially if we want this same file to work for a variety of active components. Examples are the various NCPL settings and CPL_SEQ_OPTION.\r\n\r\nIt feels like there references here to specific component names should mostly be eliminated (although it looks like they may be needed in some cases - e.g., to distinguish between the desired coupling frequency of POP vs. MPAS). I'm not sure what would be the best way to solve this problem, but one idea is to have variables like LND_COMP_TYPE saying whether (for example) the land model is active, data, stub or coupler_test - and same for OCN, ATM, GLC, ICE, etc. Then buggy(?) rules like this (for OCN_NCPL):\r\n\r\n      <value compset=\"_DATM.*_CLM4.*_SICE.*_SOCN\">1</value>\r\n\r\ncould be written as\r\n\r\nATM_COMP_TYPE=\"data\" LND_COMP_TYPE=\"active\" ICE_COMP_TYPE=\"stub\" OCN_COMP_TYPE=\"stub\"\r\n"}}