<HTML><BODY style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; ">I ran into the same problem the other day. What worked for me, is before I called the variable <DIV>ujuly.3, I just changed the </DIV><DIV>set dfile </DIV><DIV>to whatever file the variable was in, then I could just call the variable regularly ujuly</DIV><DIV>so something like</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>open ujune.ctl</DIV><DIV>open vjune.ctl</DIV><DIV>open ujuly.ctl</DIV><DIV>open vjuly.ctl</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>d ujune</DIV><DIV>set dfile 2</DIV><DIV>d vjune</DIV><DIV>set dfile 3</DIV><DIV>d ujuly </DIV><DIV>ect</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>hope it gives you some help.</DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>Katherin<BR><DIV> <SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><BR class="Apple-interchange-newline"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV><BR class="khtml-block-placeholder"></DIV><DIV>*</DIV><BR class="Apple-interchange-newline"></SPAN></SPAN></SPAN></SPAN> </DIV><BR><DIV><DIV>On Aug 28, 2006, at 5:21 PM, Cynthia Dettmer wrote:</DIV><BR class="Apple-interchange-newline"><BLOCKQUOTE type="cite"><SPAN class="Apple-style-span" style="border-collapse: separate; border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: 0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><DIV class="Section1"><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">Aloha GrADS users!</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><O:P style="font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">I have been playing around with GrADS for a few months now, so I’m still a novice, and have read previous posts but didn’t seem to find a question like this. I am using GrADS on a UNIX machine and have been able to create many useful maps with .nc data. I used FORTRAN to calculate tropospheric layer mean wind (TLMW) between 850-200mb, and separated the output into .grd files for each component and month (ujune, vjune, ujuly, etc). I have created several CTL files (one for each month/component), with each file having either ‘u’ or ‘v’ as the variable and want to combine them in a .gs script to create a seasonal average (July, August, and September for example). I have the following in my .gs :</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">open ujune.ctl</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">open vjune.ctl</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">open ujuly.ctl</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">open vjuly.ctl</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">etc</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">The first 2 files open, and will display without any problem using d u;v.2. The message I get when it just attempts to open the 3</SPAN><SUP style="font-family: Arial; font-size: 11.1111px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 11.1111px; ">rd</SPAN></SUP><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; "> ctl file (in this case ujuly) and any files after is:</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><BR style="font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">Data request error: invalid grid coordinates. World coordinates convert to non-integer grid coordinates</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">Variable u.3 dimension=3</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><O:P style="font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">Each ctl file works fine alone (and are identical, one is for u values in June, v values in June, etc), and if I switch the order whichever 2 files are first open with no problem, those after do not. I am able to view monthly data fine, but can’t combine it as any files after 2 will not open. The ctl files are as follows:</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><O:P style="font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">dset ujuly.tlmw.66-03.grd</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">title ahfkahsdf</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">undef -999</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">xdef 144 linear 0 2.5</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">ydef 73 linear -90 2.5</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">zdef 1 linear 1 1</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">tdef 38 linear jul1966 12mo</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">vars 1</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">u 0 -999 akjfdhlakjdgh</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">endvars</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" color="green" face="Arial"><SPAN style="font-size: 10.0pt;font-family:Arial;color:green; color: rgb(0, 128, 0); font-size: 13.3333px; "><O:P style="color: rgb(0, 128, 0); font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="color: rgb(0, 128, 0); font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">(the only difference between ctl files is the dset will be ujune.tlmw.66-03.grd, etc in each ctl file, and the tdef 38 linear jul1966 12mo would be jun1966, etc)</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><O:P style="font-family: Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; "> </SPAN></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">Any idea how to open more than just these 2 ctl files so I can create an average of 3 months in one gs script, or why I’m getting that error? Thanks so much for your help!</SPAN><O:P style="font-family: Arial; font-size: 13.3333px; "></O:P></SPAN></FONT></P><P class="MsoNormal"><FONT size="2" face="Arial"><SPAN style="font-size:10.0pt; font-family:Arial; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Arial; font-size: 13.3333px; ">Cindy </SPAN></SPAN></FONT><FONT size="2" face="Wingdings"><SPAN style="font-size:10.0pt;font-family:Wingdings; font-size: 13.3333px; "><SPAN class="Apple-style-span" style="font-family: Wingdings; font-size: 13.3333px; ">J</SPAN></SPAN></FONT><O:P style="font-family: Times New Roman; font-size: 16px; "></O:P></P></DIV><BR class="Apple-interchange-newline"></SPAN></BLOCKQUOTE></DIV><BR></DIV></BODY></HTML>