<html xmlns:v="urn:schemas-microsoft-com:vml" 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 http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","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;}
p.MsoNoSpacing, li.MsoNoSpacing, div.MsoNoSpacing
        {mso-style-priority:1;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Jeff,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thank you. I did a ‘q file’ and it says 1 variable. The variable was correct, but looking over my .ctl file once more, I realized the problem was within the .ctl file and it now plots.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>However, I do have another question. I plotted tas for my domain (The Great Lakes Region) 41-49 and 267-285 and it does not look correct. I believe it has to do with my ‘pdef’ line in the .ctl file (I have been trying to come up with the correct pdef lines for the NARCCAP models and haven’t been successful yet). <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>I came up with the following pdef line: <b>pdef 123 104 NPS 78.5 166.5 263 50 50</b><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>based on the ncdump information for the ECPC model and GrADS pdef syntax requirements:<o:p></o:p></span></p><p class=MsoNoSpacing> xc = 123 ;<o:p></o:p></p><p class=MsoNoSpacing> yc = 104 ;<o:p></o:p></p><p class=MsoNoSpacing> time = UNLIMITED ; // (731 currently)<o:p></o:p></p><p class=MsoNoSpacing> bnds = 2 ;<o:p></o:p></p><p class=MsoNoSpacing>variables:<o:p></o:p></p><p class=MsoNoSpacing> char polar_stereographic ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:grid_mapping_name = "polar_stereographic" ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:longitude_of_central_meridian = 263. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:straight_vertical_longitude_from_pole = 263. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:standard_parallel = 60. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:TrueGridLength_Latitude = 60. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:XGridLength_M = 50000. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:YGridLength_M = 50000. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:PoleOnPlane = "north" ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:false_easting = 3925000. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:false_northing = 8325000. ;<o:p></o:p></p><p class=MsoNoSpacing> polar_stereographic:latitude_of_projection_origin = 90. ;<o:p></o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Are you, or is anyone else, able to offer a suggestion on what might be wrong (and how to correct) my pdef line?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Thank you,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'>Adam<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif"'><o:p> </o:p></span></p><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> gradsusr-bounces@gradsusr.org [mailto:gradsusr-bounces@gradsusr.org] <b>On Behalf Of </b>Jeffrey Duda<br><b>Sent:</b> Monday, February 14, 2011 4:23 PM<br><b>To:</b> GrADS Users Forum<br><b>Subject:</b> Re: [gradsusr] 'tas' Plotting Error<o:p></o:p></span></p></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal style='margin-bottom:12.0pt'>Adam,<br>Do "q file" to see if the variable tas shows up in the list of variables. It might also be a matter of capitalization. Grads is case sensitive in this way.<br><br>Jeff Duda<o:p></o:p></p><div><p class=MsoNormal>On Mon, Feb 14, 2011 at 3:20 PM, Adam Cinderich <<a href="mailto:cinderic@msu.edu"><span style='color:windowtext'>cinderic@msu.edu</span></a>> wrote:<o:p></o:p></p><div><div><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Hello:<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'>I am trying to plot using open Grads. I have opened my .ctl file and it says that my data file was opened. However, when I attempt to plot ‘tas’ it says the following:<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'>Syntax Error: Invalid Operand<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> ‘tas’ not a variable or function name<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> Error occurred at column 1<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>DISPLAY error: Invalid expression<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'> Expression = tas<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'>‘tas’ is my temperature at surface variable and when I do an ncdump of the data file, it shows ‘tas’ as the variable. Can someone offer any suggestions as to why it won’t let me plot my variable and/or tell me if a command exists for Grads that will list variables that are available to be plotted?<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'>Thank you,<o:p></o:p></p><p class=MsoNormal style='mso-margin-top-alt:auto;mso-margin-bottom-alt:auto'>Adam<o:p></o:p></p></div></div><p class=MsoNormal style='margin-bottom:12.0pt'><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org"><span style='color:windowtext'>gradsusr@gradsusr.org</span></a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank"><span style='color:windowtext'>http://gradsusr.org/mailman/listinfo/gradsusr</span></a><o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <br>Jeff Duda<br>Iowa State University<br>Meteorology Graduate Student<br>3134 Agronomy Hall<br><a href="http://www.meteor.iastate.edu/~jdduda"><span style='color:windowtext'>www.meteor.iastate.edu/~jdduda</span></a><o:p></o:p></p></div></body></html>