{"action":"opened","issue":{"url":"https://api.github.com/repos/ESMCI/cime/issues/876","repository_url":"https://api.github.com/repos/ESMCI/cime","labels_url":"https://api.github.com/repos/ESMCI/cime/issues/876/labels{/name}","comments_url":"https://api.github.com/repos/ESMCI/cime/issues/876/comments","events_url":"https://api.github.com/repos/ESMCI/cime/issues/876/events","html_url":"https://github.com/ESMCI/cime/issues/876","id":192766085,"number":876,"title":"incorrect DATM namelist when user_datm.streams files are present","user":{"login":"lvankampenhout","id":7933853,"avatar_url":"https://avatars.githubusercontent.com/u/7933853?v=3","gravatar_id":"","url":"https://api.github.com/users/lvankampenhout","html_url":"https://github.com/lvankampenhout","followers_url":"https://api.github.com/users/lvankampenhout/followers","following_url":"https://api.github.com/users/lvankampenhout/following{/other_user}","gists_url":"https://api.github.com/users/lvankampenhout/gists{/gist_id}","starred_url":"https://api.github.com/users/lvankampenhout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lvankampenhout/subscriptions","organizations_url":"https://api.github.com/users/lvankampenhout/orgs","repos_url":"https://api.github.com/users/lvankampenhout/repos","events_url":"https://api.github.com/users/lvankampenhout/events{/privacy}","received_events_url":"https://api.github.com/users/lvankampenhout/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-01T06:38:43Z","updated_at":"2016-12-01T06:38:43Z","closed_at":null,"body":"Using cime5.2.0-alpha.7\r\n\r\n## How to reproduce (Yellowstone)\r\n\r\nCreate a new case with DATM compset:\r\n`/glade/u/home/lvank/cesm/cesm_tags2/clm4_5_13_r205/cime/scripts/create_newcase --case test_datm_nl -res f09_g16 --compset 1850_DATM%CRU_CLM50%BGC_SICE_SOCN_SROF_SGLC_SWAV --user-compset -mach yellowstone --pesfile /glade/u/home/lvank/cesm/cesm_tags2/clm4_5_13_r205/components/clm/cime_config/config_pes.xml`\r\n\r\nThen generate the datm_in using ./case.setup and ./preview_namelists, it looks like this:\r\n\r\n```\r\n&datm_nml\r\n  decomp = \"1d\"\r\n  factorfn = \"null\"\r\n  force_prognostic_true = .false.\r\n  iradsw = 1\r\n  presaero = .true.\r\n  restfilm = \"undefined\"\r\n  restfils = \"undefined\"\r\n  wiso_datm = .false.\r\n/\r\n&shr_strdata_nml\r\n  datamode = \"CLMNCEP\"\r\n  domainfile = \"/glade/p/cesmdata/cseg/inputdata/share/domains/domain.lnd.fv0.9x1.25_gx1v6.090309.nc\"\r\n  dtlimit = 5*1.5\r\n  fillalgo = 5*\"nn\"\r\n  fillmask = 5*\"nomask\"\r\n  fillread = 5*\"NOT_SET\"\r\n  fillwrite = 5*\"NOT_SET\"\r\n  mapalgo = 5*\"bilinear\"\r\n  mapmask = 5*\"nomask\"\r\n  mapread = 5*\"NOT_SET\"\r\n  mapwrite = 5*\"NOT_SET\"\r\n  streams = \"datm.streams.txt.CLMCRUNCEP.Solar 1 1901 1920\",\r\n      \"datm.streams.txt.CLMCRUNCEP.Precip 1 1901 1920\",\r\n      \"datm.streams.txt.CLMCRUNCEP.TPQW 1 1901 1920\",\r\n      \"datm.streams.txt.presaero.clim_1850 1 1 1\",\r\n      \"datm.streams.txt.topo.observed 1 1 1\"\r\n  taxmode = 5*\"cycle\"\r\n  tintalgo = \"coszen\", \"nearest\", 2*\"linear\", \"lower\"\r\n  vectors = \"null\"\r\n/\r\n```\r\n\r\nCopy `user_datm.streams.txt.*` from somewhere, e.g. /glade/u/home/lvank/cesm/my_cases/test/test_datm_nl. Then ./preview_namelists gives the following datm_in:\r\n\r\n```\r\n&datm_nml\r\n  decomp = \"1d\"\r\n  factorfn = \"null\"\r\n  force_prognostic_true = .false.\r\n  iradsw = 1\r\n  presaero = .true.\r\n  restfilm = \"undefined\"\r\n  restfils = \"undefined\"\r\n  wiso_datm = .false.\r\n/\r\n&shr_strdata_nml\r\n  datamode = \"CLMNCEP\"\r\n  domainfile = \"/glade/p/cesmdata/cseg/inputdata/share/domains/domain.lnd.fv0.9x1.25_gx1v6.090309.nc\"\r\n  dtlimit = 1.5\r\n  fillalgo = \"nn\"\r\n  fillmask = \"nomask\"\r\n  fillread = \"NOT_SET\"\r\n  fillwrite = \"NOT_SET\"\r\n  mapalgo = \"bilinear\"\r\n  mapmask = \"nomask\"\r\n  mapread = \"NOT_SET\"\r\n  mapwrite = \"NOT_SET\"\r\n  streams =\r\n  taxmode = \"cycle\"\r\n  tintalgo = \"linear\"\r\n  vectors = \"null\"\r\n/\r\n```"}}
{"actor":{"display_login":"lvankampenhout"}}