{"action":"created","issue":{"url":"https://api.github.com/repos/StrikeNP/trac_test/issues/27","repository_url":"https://api.github.com/repos/StrikeNP/trac_test","labels_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/27/labels{/name}","comments_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/27/comments","events_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/27/events","html_url":"https://github.com/StrikeNP/trac_test/issues/27","id":332142666,"node_id":"MDU6SXNzdWUzMzIxNDI2NjY=","number":27,"title":"CFMIP-GCSS s11 subcase: Set up surface fluxes (Trac #27)","user":{"login":"StrikeNP","id":2577059,"node_id":"MDQ6VXNlcjI1NzcwNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2577059?v=4","gravatar_id":"","url":"https://api.github.com/users/StrikeNP","html_url":"https://github.com/StrikeNP","followers_url":"https://api.github.com/users/StrikeNP/followers","following_url":"https://api.github.com/users/StrikeNP/following{/other_user}","gists_url":"https://api.github.com/users/StrikeNP/gists{/gist_id}","starred_url":"https://api.github.com/users/StrikeNP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrikeNP/subscriptions","organizations_url":"https://api.github.com/users/StrikeNP/orgs","repos_url":"https://api.github.com/users/StrikeNP/repos","events_url":"https://api.github.com/users/StrikeNP/events{/privacy}","received_events_url":"https://api.github.com/users/StrikeNP/received_events","type":"User","site_admin":false},"labels":[{"id":963997231,"node_id":"MDU6TGFiZWw5NjM5OTcyMzE=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/Migrated%20from%20Trac","name":"Migrated from Trac","color":"FFFFFF","default":false},{"id":963997516,"node_id":"MDU6TGFiZWw5NjM5OTc1MTY=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/clubb_src","name":"clubb_src","color":"FFFFFF","default":false},{"id":963997043,"node_id":"MDU6TGFiZWw5NjM5OTcwNDM=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":963997248,"node_id":"MDU6TGFiZWw5NjM5OTcyNDg=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/senkbeil@uwm.edu","name":"senkbeil@uwm.edu","color":"FFFFFF","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/StrikeNP/trac_test/milestones/2","html_url":"https://github.com/StrikeNP/trac_test/milestone/2","labels_url":"https://api.github.com/repos/StrikeNP/trac_test/milestones/2/labels","id":3423153,"node_id":"MDk6TWlsZXN0b25lMzQyMzE1Mw==","number":2,"title":"Set up CLUBB for the CFMIP/GCSS cloud feedback intercomparison","description":null,"creator":{"login":"StrikeNP","id":2577059,"node_id":"MDQ6VXNlcjI1NzcwNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2577059?v=4","gravatar_id":"","url":"https://api.github.com/users/StrikeNP","html_url":"https://github.com/StrikeNP","followers_url":"https://api.github.com/users/StrikeNP/followers","following_url":"https://api.github.com/users/StrikeNP/following{/other_user}","gists_url":"https://api.github.com/users/StrikeNP/gists{/gist_id}","starred_url":"https://api.github.com/users/StrikeNP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrikeNP/subscriptions","organizations_url":"https://api.github.com/users/StrikeNP/orgs","repos_url":"https://api.github.com/users/StrikeNP/repos","events_url":"https://api.github.com/users/StrikeNP/events{/privacy}","received_events_url":"https://api.github.com/users/StrikeNP/received_events","type":"User","site_admin":false},"open_issues":15,"closed_issues":2,"state":"open","created_at":"2018-06-13T20:00:55Z","updated_at":"2018-06-14T02:17:19Z","due_on":null,"closed_at":null},"comments":17,"created_at":"2018-06-13T20:02:26Z","updated_at":"2018-06-14T02:17:58Z","closed_at":null,"author_association":"OWNER","body":"model.in file:\nSST is a fixed number that needs to be computed beforehand using a formula from the intercomparison webpage and entered into the model.in file as variable Tsfc.\n\nDo the same thing to set up surface pressure, psfc.\n\nCode changes:\n\n\"Latent and sensible heat fluxes should be calculated by the model with the given SST and winds.\" To set up the surface fluxes of heat (wpthlp_sfc), moisture (wprtp_sfc), and momentum (wpup_sfc, wpvp_sfc), use the subroutines in module surface_flux.  The webpage states that the winds are \"used to calculate the surface latent and sensible heat fluxes with an aerodynamic coefficient of 0.001 s/m2 and surface relative humidity of 80% when needed.\"\n\nOnce the case has been set up and is running, we might want to go back and check these surface fluxes versus prescribed values in downloaded data.\n\nAttachments:\n\n[s11.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/s11.png)\n[s12.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/s12.png)\n[s6.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/s6.png)\n[s11_p2k.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/s11_p2k.png)\n[s12_p2k.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/s12_p2k.png)\n[S6_20090612.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/S6_20090612.png)\n[radht.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/radht.png)\n[lh.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/lh.png)\n[sh.png](https://github.com/larson-group/trac_attachment_archive/blob/master/clubb/sh.png)\n\nMigrated from http://carson.math.uwm.edu/trac/clubb/ticket/27\n```json\n{\n    \"status\": \"closed\", \n    \"changetime\": \"2009-12-18T17:21:12\", \n    \"description\": \"model.in file:\\nSST is a fixed number that needs to be computed beforehand using a formula from the intercomparison webpage and entered into the model.in file as variable Tsfc.\\n\\nDo the same thing to set up surface pressure, psfc.\\n\\nCode changes:\\n\\n\\\"Latent and sensible heat fluxes should be calculated by the model with the given SST and winds.\\\" To set up the surface fluxes of heat (wpthlp_sfc), moisture (wprtp_sfc), and momentum (wpup_sfc, wpvp_sfc), use the subroutines in module surface_flux.  The webpage states that the winds are \\\"used to calculate the surface latent and sensible heat fluxes with an aerodynamic coefficient of 0.001 s/m2 and surface relative humidity of 80% when needed.\\\"\\n\\nOnce the case has been set up and is running, we might want to go back and check these surface fluxes versus prescribed values in downloaded data.\", \n    \"reporter\": \"vlarson@uwm.edu\", \n    \"cc\": \"fasching@uwm.edu\", \n    \"resolution\": \"Verified by V. Larson\", \n    \"_ts\": \"1261156872000000\", \n    \"component\": \"clubb_src\", \n    \"summary\": \"CFMIP-GCSS s11 subcase: Set up surface fluxes\", \n    \"priority\": \"major\", \n    \"keywords\": \"CFMIP-GCSS, cloud feedback, surface fluxes\", \n    \"time\": \"2009-05-13T20:51:53\", \n    \"milestone\": \"Set up CLUBB for the CFMIP/GCSS cloud feedback intercomparison\", \n    \"owner\": \"senkbeil@uwm.edu\", \n    \"type\": \"enhancement\"\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/StrikeNP/trac_test/issues/comments/397145490","html_url":"https://github.com/StrikeNP/trac_test/issues/27#issuecomment-397145490","issue_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/27","id":397145490,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzE0NTQ5MA==","user":{"login":"StrikeNP","id":2577059,"node_id":"MDQ6VXNlcjI1NzcwNTk=","avatar_url":"https://avatars0.githubusercontent.com/u/2577059?v=4","gravatar_id":"","url":"https://api.github.com/users/StrikeNP","html_url":"https://github.com/StrikeNP","followers_url":"https://api.github.com/users/StrikeNP/followers","following_url":"https://api.github.com/users/StrikeNP/following{/other_user}","gists_url":"https://api.github.com/users/StrikeNP/gists{/gist_id}","starred_url":"https://api.github.com/users/StrikeNP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/StrikeNP/subscriptions","organizations_url":"https://api.github.com/users/StrikeNP/orgs","repos_url":"https://api.github.com/users/StrikeNP/repos","events_url":"https://api.github.com/users/StrikeNP/events{/privacy}","received_events_url":"https://api.github.com/users/StrikeNP/received_events","type":"User","site_admin":false},"created_at":"2018-06-14T02:17:58Z","updated_at":"2018-06-14T02:17:58Z","author_association":"OWNER","body":"**Trac update on 2009/06/11 at 19:51**\n**senkbeil@uwm.edu commented:**\n\nReplying to [comment:10 vlarson@…]:\n> Replying to [comment:9 senkbeil@…]:\n> > I managed to get S6 to run without crashing, and the results have been attached. It's not very close at all...\n>\n> My guess is that, once again, the problem is that the surface fluxes are too large.  Perhaps you could try to reduce the fluxes for this one case by either using the prescribed values or by eliminating the 0.8 in the formula above.  If either of those works, then look at the latent (lh) and sensible heat (sh) fluxes in the sfc GrADS file.  Then compare those fluxes with what you have found in the simulation that produced the plot above.  This would help confirm or deny that the problem indeed has to do with the surface fluxes.\n\n\nI attached images of the perturbed cases for 11 and 12.\n\nThe S6 case on the other hand does seem to be extremely delicate to the surface fluxes. I tried what you said by eliminating the 0.8 and by using the prescribed values, and it either made it worse, or made it crash. \n\nJust a note so I remember, I am using this to do the calculation (instead of the formulas provided) for the 11 and 12 subcases:\n\n```text\nwpthlp_sfc = compute_wpthlp_sfc( C_10, ubar, thlm_sfc,  Tsfc, exner_sfc )\nwprtp_sfc = compute_wprtp_sfc( C_10, ubar, rtm_sfc, sat_mixrat_liq( psfc, Tsfc ) )\n```\n\nThe compute_wprtp_sfc function has an argument called adjustment, and changing that changes the results a lot. I remembering at one point multiplying the value returned by this function by 0.8, but that again, made things even worse for this case.  The formula in the function is:\n\n```text\ncompute_wprtp_sfc  = -Cd * ubar * ( rtm_sfc - adjustment )\n``` \n\nMost cases use the sat_mixrat_liq like I am, but maybe something else needs to be used for the S6 case? I really have no solid evidence that is true though. I'm just reaching for possible solutions at this point.\n\n"}}
{"actor":{"display_login":"StrikeNP"}}