{"action":"created","issue":{"url":"https://api.github.com/repos/StrikeNP/trac_test/issues/248","repository_url":"https://api.github.com/repos/StrikeNP/trac_test","labels_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/248/labels{/name}","comments_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/248/comments","events_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/248/events","html_url":"https://github.com/StrikeNP/trac_test/issues/248","id":332148048,"node_id":"MDU6SXNzdWUzMzIxNDgwNDg=","number":248,"title":"Add SAM support for inputfields (Trac #248)","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":964011129,"node_id":"MDU6TGFiZWw5NjQwMTExMjk=","url":"https://api.github.com/repos/StrikeNP/trac_test/labels/connork@uwm.edu","name":"connork@uwm.edu","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}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":11,"created_at":"2018-06-13T20:18:10Z","updated_at":"2018-06-14T12:43:16Z","closed_at":null,"author_association":"OWNER","body":"Currently, inputfields can feed in data from both GrADS and netCDF files, but only for COAMPS LES data.  The variable names are different in SAM (e.g. U instead of um), and inputfields isn't general enough to handle the different names.\n\nOne possible solution is to construct inputfields namelists that are analogous to the tuner namelists, e.g., error_bomex.in.  That namelist specifies the names of the variables that we want to match (e.g. \"um\").  The user could then specify the SAM variables names (e.g. U), and we'd have generality.\n\nAttachments:\n\n\nMigrated from http://carson.math.uwm.edu/trac/clubb/ticket/248\n```json\n{\n    \"status\": \"closed\", \n    \"changetime\": \"2017-10-22T21:20:58\", \n    \"description\": \"Currently, inputfields can feed in data from both GrADS and netCDF files, but only for COAMPS LES data.  The variable names are different in SAM (e.g. U instead of um), and inputfields isn't general enough to handle the different names.\\n\\nOne possible solution is to construct inputfields namelists that are analogous to the tuner namelists, e.g., error_bomex.in.  That namelist specifies the names of the variables that we want to match (e.g. \\\"um\\\").  The user could then specify the SAM variables names (e.g. U), and we'd have generality.\", \n    \"reporter\": \"vlarson@uwm.edu\", \n    \"cc\": \"dschanen@uwm.edu, roehl@uwm.edu\", \n    \"resolution\": \"wontfix\", \n    \"_ts\": \"1508707258440137\", \n    \"component\": \"clubb_src\", \n    \"summary\": \"Add SAM support for inputfields\", \n    \"priority\": \"minor\", \n    \"keywords\": \"\", \n    \"time\": \"2009-10-22T18:00:53\", \n    \"milestone\": \"\", \n    \"owner\": \"connork@uwm.edu\", \n    \"type\": \"enhancement\"\n}\n```\n"},"comment":{"url":"https://api.github.com/repos/StrikeNP/trac_test/issues/comments/397280388","html_url":"https://github.com/StrikeNP/trac_test/issues/248#issuecomment-397280388","issue_url":"https://api.github.com/repos/StrikeNP/trac_test/issues/248","id":397280388,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NzI4MDM4OA==","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-14T12:43:16Z","updated_at":"2018-06-14T12:43:16Z","author_association":"OWNER","body":"**Trac update on 2011/08/24 at 19:59**\n**dschanen@uwm.edu commented:**\n\nReplying to [comment:11 connork@…]:\n> The following table lists the SAM variables that I was able to find for each CLUBB variable that is read in inputfields.F90. There are quite a few that I was unable to find a match for. The 'Multiplier' column represents the unit conversions that are necessary for each variable.\n> \n> ||CLUBB||SAM||Multiplier||\n> ||um||UOBS||1||\n> ||vm||VOBS||1||\n\nU and V correspond to um and vm.\n> ||rtm||QT||/1000||\n> ||thlm||THETAL||1||\n\nTHETAL in SAM is Θ,,il,,, but is close enough when there's not much ice.\n> ||wp2||W2||1||\n> ||wprtp||none||\n\nQTFLUX + QTFLUXS (I think).  See the SAM case files in plotgen for the conversion factors from W/m^2^ to kg/kg/s.\n> ||wpthlp||none||\n\nSimilar to wprtp.\n> ||wp3||W3||1||\n> ||rtp2||QT2||/1e6||\n> ||thlp2||TL2||1||\n> ||rtpthlp||none||\n> ||upwp||UW||1||\n> ||vpwp||VW||1||\n> ||ug||none||\n> ||vg||none||\n\nUOBS and VOBS correspond to ug and vg, but they're not predicted so they're not a high priority.\n\n> ||rcm||QC||/1000||\n> ||wm_zt||WOBS||1||\n> ||exner||none||\n> ||em||TKE||1||\n> ||p_in_Pa||PRES||/100 (mb_per_pa)||\n> ||rho||RHO||1||\n> ||rho_zm||none||\n> ||rho_ds_zm||none||\n> ||rho_ds_zt||none||\n> ||thv_ds_zm||none||\n> ||thv_ds_zt||none||\n> ||Lscale||none||\n> ||Lscale_up||none||\n> ||Lscale_down||none||\n> ||Kh_zt||TKH||1||\n> ||Kh_zm||none||\n> ||tau_zm||none||\n> ||tau_zt||none||\n> ||wpthvp||none (TVFLUX)||\n> ||thl1||none||\n> ||thl2||none||\n> ||mixt_frac||none||\n> ||s1||none||\n> ||s2||none||\n> ||stdev_s1||none||\n> ||stdev_s2||none||\n> ||rc1||none||\n> ||rc2||none||\n> ||thvm||THETAV||1||\n> ||Ncnm||none||\n> ||Nim||none||\n> ||thlm_forcing||none||\n> ||rtm_forcing||none||\n> ||sigma_sqd_w||none||\n> ||cloud_frac||CLD||/100||\n> ||sigma_sqd_w_zt||none||\n> ||veg_T_in_K||none||\n> ||deep_soil_T_in_K none||\n> ||sfc_soil_T_in_K||none||\n\nI wouldn't worry about anything in the prior table.  Most of it comes from pdf_closure and will be overwritten.\n\n\n> ||rrainm||QR/QPL||/1000 (g_per_kg)||\n> ||Nrm||none||\n> ||Ncm||none||\n> ||rsnowm||QS/QPI||/1000 (g_per_kg)||\n> ||ricem||QI/QCI||/1000 (g_per_kg)||\n> ||rgraupelm||QG||/1000 (g_per_kg)||\n\nWith the Morrison code Nrm & Ncm are NR & NC and have units of #/cm^3^.  To convert Nrm = ( NR / RHO ) * 10^6^.  With the single-moment microphysics number concentrations aren't predicted. \n\n> ||up2||U2||1||\n> ||vp2||V2||1||\n\nIn SAM there are essentially up2_zt and vp2_zt, so they require interpolation.\n\n"}}
{"actor":{"display_login":"StrikeNP"}}