<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta name=Title content=""><meta name=Keywords content=""><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 15 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Courier New";
panose-1:2 7 3 9 2 2 5 2 4 4;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.msoIns
{mso-style-type:export-only;
mso-style-name:"";
text-decoration:underline;
color:teal;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:595.0pt 842.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:158664959;
mso-list-template-ids:-1585913030;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New",serif;
mso-bidi-font-family:"Times New Roman";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1
{mso-list-id:730887131;
mso-list-template-ids:-700009078;}
@list l1:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l1:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New",serif;
mso-bidi-font-family:"Times New Roman";}
@list l1:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l1:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l2
{mso-list-id:1083181474;
mso-list-template-ids:1568320622;}
@list l3
{mso-list-id:1214728740;
mso-list-template-ids:827732798;}
@list l3:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l3:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New",serif;
mso-bidi-font-family:"Times New Roman";}
@list l3:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l3:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4
{mso-list-id:1347824558;
mso-list-template-ids:-171781744;}
@list l4:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l4:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New",serif;
mso-bidi-font-family:"Times New Roman";}
@list l4:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l4:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5
{mso-list-id:1694190039;
mso-list-template-ids:-365517048;}
@list l5:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l5:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New",serif;
mso-bidi-font-family:"Times New Roman";}
@list l5:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l5:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6
{mso-list-id:2068067353;
mso-list-template-ids:-504042878;}
@list l6:level1
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:36.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Symbol;}
@list l6:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:72.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:"Courier New",serif;
mso-bidi-font-family:"Times New Roman";}
@list l6:level3
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:108.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6:level4
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:144.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6:level5
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:180.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6:level6
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:216.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6:level7
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:252.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6:level8
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:288.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
@list l6:level9
{mso-level-number-format:bullet;
mso-level-text:;
mso-level-tab-stop:324.0pt;
mso-level-number-position:left;
text-indent:-18.0pt;
mso-ansi-font-size:10.0pt;
font-family:Wingdings;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style></head><body bgcolor=white lang=EN-GB link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Hi NCL users,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>I’m a long-time programmer and have learned over the years that asking a question in a user forum requires some learning about what to do and what not to do. It takes some time to learn the does and don’t when asking a question as well as how to formulate a good question that will get a fast response from a lot of people.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Just because you have a question doesn’t mean you should ask it here in the NCL forum. <b>Not all questions are questions for NCL</b>. <b>NCL is one of the best documented programming code out there.</b> The users and developers are some of the best I’ve come across, which is why I try and read/answer questions when I can. But lately I’ve seen a series of questions that simply require the person to read the error message and/or exercise some good programming and debugging practices as well as reading the documentation in order to solve their problem. This is a part of programming – a part of good programming.<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Below are some tips I borrowed from Stack Overflow on just this topic. I would strongly recommend NCL users – especially those new to programming to read these tips before posting a question in the future. I’ve done some editing to make more NCL specific. I’ve left some links that I think can help.<o:p></o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>What topics can I ask about here?<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The best NCL questions have a bit of source code in them and meta data of the variable with which you are having problems, but if your question generally covers…<o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoNormal style='margin-left:0cm;mso-list:l5 level1 lfo5'><span style='mso-fareast-language:EN-US'>a specific programming problem, or<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l5 level1 lfo5'><span style='mso-fareast-language:EN-US'>a software algorithm, or<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l5 level1 lfo5'><span style='mso-fareast-language:EN-US'>software tools commonly used by programmers; and is<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l5 level1 lfo5'><span style='mso-fareast-language:EN-US'>a practical, answerable problem that is unique to software development<o:p></o:p></span></li></ul><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Please look around to see if your question has been asked before. It’s also OK to ask and answer your own question. Questions which are too broad, unclear, or incomplete are difficult to answer. <o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Some questions are still off-topic, even if they fit into one of the categories listed above:<o:p></o:p></span></p><ol style='margin-top:0cm' start=1 type=1><li class=MsoNormal style='margin-left:0cm;mso-list:l2 level1 lfo6'><span style='mso-fareast-language:EN-US'>Questions <i>seeking debugging help ("why isn't this code working?")</i> must include the desired behavior, a specific problem or error and the shortest code necessary to reproduce it in the question itself. Questions without a clear problem statement are not useful to other readers. See: <a href="https://stackoverflow.com/help/mcve">How to create a Minimal, Complete, and Verifiable example</a>.<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l2 level1 lfo6'><span style='mso-fareast-language:EN-US'>Questions about <i>a problem that can no longer be reproduced or that was caused by a simple typographical error</i>. While similar questions may be on-topic here, these are often resolved in a manner unlikely to help future readers. This can often be avoided by identifying and closely inspecting the <a href="https://stackoverflow.com/help/mcve">shortest program necessary to reproduce the problem</a> before posting.<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l2 level1 lfo6'><span style='mso-fareast-language:EN-US'>Questions asking for <i>work help</i> must include a summary of the work you've done so far to solve the problem, and a description of the difficulty you are having solving it.<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l2 level1 lfo6'><span style='mso-fareast-language:EN-US'>Questions about <i>general computing hardware and software</i> are off-topic for NCL unless they directly involve tools used primarily for programming. <o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l2 level1 lfo6'><span style='mso-fareast-language:EN-US'>Questions on <i>professional server, networking, or related infrastructure administration</i> are off-topic for NCL unless they directly involve programming or programming tools. <o:p></o:p></span></li></ol><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>How do I ask a good question?<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>We’d love to help you. To <b>improve your chances</b> of getting an answer, here are some tips:<o:p></o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Search, and research<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>...and keep track of what you find. Even if you don't find a useful answer elsewhere on the site, including links to related questions that <i>haven't</i> helped can help others in understanding how your question is different from the rest. <o:p></o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Write a title that summarizes the specific problem<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>The title is the first thing potential answerers will see, and if your title isn't interesting, they won't read the rest. So, <i>make it count:</i><o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoNormal style='margin-left:0cm;mso-list:l3 level1 lfo1'><b><span style='mso-fareast-language:EN-US'>Pretend you're talking to a busy colleague</span></b><span style='mso-fareast-language:EN-US'> and have to sum up your entire question in one sentence: what details can you include that will help someone identify and solve your problem? Include any error messages, key APIs, or unusual circumstances that make your question different from similar questions already on the site. <o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l3 level1 lfo1'><b><span style='mso-fareast-language:EN-US'>Spelling, grammar and punctuation are important!</span></b><span style='mso-fareast-language:EN-US'> Remember, this is the first part of your question others will see - you want to make a good impression. If you're not comfortable writing in English, ask a friend to proof-read it for you. <o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l3 level1 lfo1'><span style='mso-fareast-language:EN-US'>If you're having trouble summarizing the problem, <b>write the title <i>last</i></b> - sometimes writing the rest of the question first can make it easier to describe the problem. <o:p></o:p></span></li></ul><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Examples:<o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoNormal style='margin-left:0cm;mso-list:l1 level1 lfo2'><b><span style='mso-fareast-language:EN-US'>Bad:</span></b><span style='mso-fareast-language:EN-US'> NCL Confusion<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l1 level1 lfo2'><b><span style='mso-fareast-language:EN-US'>Good:</span></b><span style='mso-fareast-language:EN-US'> Why does using float instead of int give me different results when all of my inputs are integers?<o:p></o:p></span></li></ul><p class=MsoNormal style='margin-left:36.0pt'><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Introduce the problem before you post any code<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>In the body of your question, start by expanding on the summary you put in the title. Explain how you encountered the problem you're trying to solve, and any difficulties that have prevented you from solving it yourself. The first paragraph in your question is the second thing most readers will see, so make it as engaging and informative as possible. <o:p></o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Help others reproduce the problem<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Not all questions benefit from including code. But if your problem is <i>with</i> code you've written, you should include some. But <b>don't just copy in your entire program!</b> Not only is this likely to get you in trouble if you're posting your employer's code, it likely includes a lot of irrelevant details that readers will need to ignore when trying to reproduce the problem. Here are some guidelines:<o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoNormal style='margin-left:0cm;mso-list:l6 level1 lfo3'><span style='mso-fareast-language:EN-US'>Include just enough code to allow others to reproduce the problem. For help with this, read <a href="https://stackoverflow.com/help/mcve">How to create a Minimal, Complete, and Verifiable example</a>.<o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l6 level1 lfo3'><span style='mso-fareast-language:EN-US'>If it is possible to create a live example of the problem that you can <i>link</i> to (for example, on <a href="http://sqlfiddle.com/">http://sqlfiddle.com/</a> or <a href="http://jsbin.com/">http://jsbin.com/</a>) then do so - but also include the code in your question itself. Not everyone can access external sites, and the links may break over time. <o:p></o:p></span></li></ul><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Proof-read before posting!<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Now that you're ready to ask your question, take a deep breath and read through it from start to finish. Pretend you're seeing it for the first time: <i>does it make sense?</i> Try reproducing the problem yourself, in a fresh environment and make sure you can do so using only the information included in your question. Add any details you missed and read through it again. Now is a good time to make sure that your title still describes the problem!<o:p></o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Post the question and respond to feedback<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>After you post, leave the question open in your browser for a bit, and see if anyone comments. If you missed an obvious piece of information, be ready to respond by editing your question to include it. If someone posts an answer, be ready to try it out and provide feedback!<o:p></o:p></span></p><p class=MsoNormal><b><span style='mso-fareast-language:EN-US'>Look for help asking for help<o:p></o:p></span></b></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>In spite of all your efforts, you may find your questions poorly-received. Don't despair! Learning to ask a good question is a worthy pursuit, and not one you'll master overnight. Here are some additional resources that you may find useful:<o:p></o:p></span></p><ul style='margin-top:0cm' type=disc><li class=MsoNormal style='margin-left:0cm;mso-list:l0 level1 lfo4'><span style='mso-fareast-language:EN-US'><a href="http://codeblog.jonskeet.uk/2010/08/29/writing-the-perfect-question/">Writing the perfect question</a><o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l0 level1 lfo4'><span style='mso-fareast-language:EN-US'><a href="http://ericlippert.com/2014/03/05/how-to-debug-small-programs/">How to debug small programs</a><o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l0 level1 lfo4'><span style='mso-fareast-language:EN-US'><a href="http://meta.stackexchange.com/questions/tagged/asking-questions">Meta discussions on asking questions</a><o:p></o:p></span></li><li class=MsoNormal style='margin-left:0cm;mso-list:l0 level1 lfo4'><span style='mso-fareast-language:EN-US'><a href="http://www.catb.org/~esr/faqs/smart-questions.html">How to ask questions the smart way</a> — long but good advice.<o:p></o:p></span></li></ul><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>Cheers,<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'>/M<o:p></o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Marston S. Ward, PhD<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Department of Earth Sciences<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>University of Gothenburg, Sweden<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Email: <a href="mailto:marston.johnston@gu.se"><span style='color:#0070C0'>marston.johnston@gu.se</span></a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>SkypeID: marston.johnston <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Phone: +46-31-7864901 <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Only the fruitful thing is true!<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<o:p></o:p></span></p></div><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><p class=MsoNormal><span style='mso-fareast-language:EN-US'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>isakhar sakhar isakhar <isakhar.inside13@gmail.com><br><b>Date: </b>Friday, 29 September 2017 at 03:29<br><b>To: </b>Dennis Shea <shea@ucar.edu><br><b>Cc: </b>Marston Johnston <shejo284@gmail.com>, "ncl-talk@ucar.edu" <ncl-talk@ucar.edu><br><b>Subject: </b>Re: [ncl-talk] About Relative Humidity<o:p></o:p></span></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Dear Mr.Dennis Shea<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Thank you very much for reply me.<o:p></o:p></p></div><p class=MsoNormal>I want to obtain the result of Relative Humidity in ASCII file base on website <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_rh.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_rh.shtml</a> by using Example 1. <o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'>I already changed the code as you recommend above but still not working.<o:p></o:p></p></div><p class=MsoNormal>Best regards,<o:p></o:p></p></div><p class=MsoNormal>Soares<o:p></o:p></p></div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Fri, Sep 29, 2017 at 10:02 AM, Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>You should examine the error message and the line at which it occurs.<br><br>RH: [Time | ntim] x [bottom_top | klevel] x [south_north | ny] x [west_east | nx]<br><br>-----<br>You have<br><br>do it = 0,ntimes-1<br>print (sprintf("%5.2f",it)+""\<br> +sprintf("%19.2f",RH(it(0,:,:,:)))+"") ; <====== you have indexed 'it'<br><br>end do<br><br>---<br>Change to:<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>print (sprintf("%5.2f",it)+""\<br> +sprintf("%19.2f",RH(it,:,:,:))<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>At <b>each</b> 'it' you are printing a 3D array ... point by point.<o:p></o:p></p></div><p class=MsoNormal>I have no idea why you would want to do that<o:p></o:p></p></div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Sep 28, 2017 at 6:50 PM, isakhar sakhar isakhar <<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>Hi Mr. Marston<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Yes, I have tried many times to solve the problems before send it here. Do you have any idea about the code I attached?<o:p></o:p></p></div><p class=MsoNormal style='margin-bottom:12.0pt'>Thank you<o:p></o:p></p></div><p class=MsoNormal>Soares<o:p></o:p></p></div><div><div><div><p class=MsoNormal><o:p> </o:p></p><div><p class=MsoNormal>On Tue, Sep 26, 2017 at 3:55 PM, Marston Johnston <<a href="mailto:shejo284@gmail.com" target="_blank">shejo284@gmail.com</a>> wrote:<o:p></o:p></p><blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0cm 0cm 0cm 6.0pt;margin-left:4.8pt;margin-right:0cm'><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>The error message is quite clear. Did you try and address the problem as it states?<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>fatal:Number of subscripts do not match number of dimensions of variable,(4) Subscripts used, (1) Subscripts expected<br>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 43 in file RH_WRF.ncl<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Marston S. Ward, PhD</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Department of Earth Sciences</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>University of Gothenburg, Sweden</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Email: <a href="mailto:marston.johnston@gu.se" target="_blank"><span style='color:#0070C0'>marston.johnston@gu.se</span></a></span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>SkypeID: marston.johnston </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Phone: <a href="tel:+46%2031%20786%2049%2001" target="_blank">+46-31-7864901</a> </span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>Only the fruitful thing is true!</span><o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><span style='font-size:12.0pt;font-family:"Times New Roman",serif;color:#0070C0'>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~</span><o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'><b><span style='font-size:12.0pt;color:black'>From: </span></b><span style='font-size:12.0pt;color:black'>ncl-talk <<a href="mailto:ncl-talk-bounces@ucar.edu" target="_blank">ncl-talk-bounces@ucar.edu</a>> on behalf of isakhar sakhar isakhar <<a href="mailto:isakhar.inside13@gmail.com" target="_blank">isakhar.inside13@gmail.com</a>><br><b>Date: </b>Tuesday, 26 September 2017 at 07:50<br><b>To: </b><<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>><br><b>Subject: </b>[ncl-talk] About Relative Humidity</span><o:p></o:p></p></div><div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'>Dear NCL Team<o:p></o:p></p></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>I am interesting to know Relative Humidity base on website <a href="https://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_rh.shtml" target="_blank">https://www.ncl.ucar.edu/Document/Functions/Built-in/wrf_rh.shtml</a> by using Example 1 but it didn't work.<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>What is still go wrong with the code. Here I attach the code.<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Best regards,<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Soares<o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> <o:p></o:p></p></div><div><p class=MsoNormal style='mso-margin-top-alt:auto;margin-bottom:12.0pt'><br><br><br>Variable: RH<br>Type: float<br>Total Size: 419208372 bytes<br> 104802093 values<br>Number of Dimensions: 4<br>Dimensions and sizes: [Time | 289] x [bottom_top | 37] x [south_north | 99] x [west_east | 99]<br>Coordinates: <br>Number Of Attributes: 2<br> units : %<br> description : Relative Humidity<br>fatal:Number of subscripts do not match number of dimensions of variable,(4) Subscripts used, (1) Subscripts expected<br>fatal:["Execute.c":8640]:Execute: Error occurred at or near line 43 in file RH_WRF.ncl<o:p></o:p></p></div></div></div></div></div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>_______________________________________________ ncl-talk mailing list <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a> List instructions, subscriber options, unsubscribe: <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a> <o:p></o:p></p></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>ncl-talk mailing list<br><a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><o:p></o:p></p></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></div></blockquote></div><p class=MsoNormal><o:p> </o:p></p></div></div></body></html>