<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">To plot a time series at an individual station,&nbsp;<div>'set x 1'</div><div>'set y 1'</div><div>'set t 1 12'</div><div>'d var(stid=XXXXXX)'</div><div><br></div><div>Where XXXXXX is the station id, not more than 8 characters. You can find the station id by doing a spatial plot and 'set stat on' and 'set stnprint on' and then GrADS will list all the stations plotted in the command window.&nbsp;</div><div>&nbsp;</div><div>--Jennifer</div><div><br></div><div><br><div><div>On Jun 20, 2011, at 2:36 PM, Andre Pattantyus wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>&nbsp;</div> <div>Thank you John for the files. I don't think it is compiler dependent because I tried on a different machine yesterday with the same result. The files you created work however I cannot plot out time series values for the individual stations. I can only plot station values for the fields in file. Does anyone know how this can be resolved?<br> <br></div> <div class="gmail_quote">On Mon, Jun 20, 2011 at 9:56 AM, Huddleston, John <span dir="ltr">&lt;<a href="mailto:Huddleston@cira.colostate.edu">Huddleston@cira.colostate.edu</a>&gt;</span> wrote:<br> <blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid"> <div lang="EN-US" vlink="purple" link="blue"> <div><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Andre<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Attached is a ZIP container with the MAP and DAT files computed from your FORTRAN and using the stnmap application. i.e.<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">gfortran –o makestations makestations.f<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">stnmap –I grads.ctl<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">It works for the GrADS Windows application.<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Since your DAT file differs from the one I created, I wonder if you are running this on a big endian system?<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Other than that, I cannot think of a reason why your FORTRAN compiled version would create a different DAT file.<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">John Huddleston<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d">Cooperative Institute for Research in the Atmosphere<u></u><u></u></span></p><p class="MsoNormal"><span style="FONT-SIZE: 11pt; COLOR: #1f497d"><u></u>&nbsp;<u></u></span></p><p class="MsoNormal"><b><span style="FONT-SIZE: 10pt">From:</span></b><span style="FONT-SIZE: 10pt"> <a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a> [mailto:<a href="mailto:gradsusr-bounces@gradsusr.org" target="_blank">gradsusr-bounces@gradsusr.org</a>] <b>On Behalf Of </b>Andre Pattantyus<br> <b>Sent:</b> Sunday, June 19, 2011 9:39 AM<br><b>To:</b> <a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br><b>Subject:</b> [gradsusr] stnmap error<u></u><u></u></span></p> <div> <div></div> <div class="h5"><p class="MsoNormal"><u></u>&nbsp;<u></u></p><p class="MsoNormal">Attached is the station data I am trying to use to convert to grads format. It looks like the script to turn into grads binary is a problem or the options sequential needs to be something else in the .ctl file, but what should it be?<br> <br>This is the fortran script to convert data:<br><br>&nbsp;&nbsp; CHARACTER*8 STID <br>&nbsp;&nbsp;&nbsp; REAL&nbsp; TD, TT,RH,WSP,WDIR,PP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPEN (8,file='stns_new.txt')&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OPEN (10,file='stn.dat',FORM='UNFORMATTED'<br> &nbsp;&nbsp;&nbsp;&nbsp; + ,status='unknown')<br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IFLAG = 0 <br><br>10&nbsp;&nbsp;&nbsp;&nbsp; READ (8,9000,END=90) ITIME, STID, RLAT, RLON, TT,Td,rh,WSP, <br>&nbsp;&nbsp;&nbsp;&nbsp; +&nbsp;&nbsp; wdir, pp<br><br>9000&nbsp;&nbsp; FORMAT( I2, 1X, A4, 1X, F7.4,1X,F8.3,1X, <br>&nbsp;&nbsp;&nbsp;&nbsp; + F4.1,1X,F5.1,1X,F3.0,1x,F4.1,1X,F3.0,1X,F4.1)<br> !<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF (IFLAG.EQ.0) THEN<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IFLAG = 1 <br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IYROLD = IYEAR<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ITIMEOLD = ITIME<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ENDIF <br><br>!&nbsp;&nbsp;&nbsp; print*,IYEAR,IMONTH,STID,RLAT,RLON,RVAL,TD,UU,VV<br>!&nbsp; If new time group, write time group terminator. <br> !&nbsp; Assuming no empty time groups. <br>!<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IF (ITIMEOLD.NE.ITIME) THEN <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NLEV = 0 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE (10) STID,RLAT,RLON,TIM,NLEV,NFLAG <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ENDIF <br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; IYROLD = IYEAR <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ITIMEOLD = ITIME<br> !&nbsp; Write this report <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TIM = 0.0 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NLEV = 1 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NFLAG = 1<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE (10) STID,RLAT,RLON,TIM,NLEV,NFLAG <br><br>!print*,ITIME,STID,RLAT,RLON,TT,TD,UU,VV<br>!&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print*,STID,RLAT,RLON,TIM,NLEV,NFLAG<br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE (10) TT,TD,RH,WSP,WDIR,PP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print*, TT ,TD, RH,WSP, WDIR, PP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; GO TO 10<br>!&nbsp; On end of file write last time group terminator. <br>90&nbsp;&nbsp;&nbsp;&nbsp; CONTINUE <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; NLEV = 0 <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; WRITE (10) STID,RLAT,RLON,TIM,NLEV,NFLAG <br> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; print*,STID,RLAT,RLON,TIM,NLEV,NFLAG<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; STOP<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; END<br><br>Here is the .ctl file:<br clear="all"><br>DSET&nbsp;&nbsp; ^stn.dat<br>DTYPE&nbsp; station<br>STNMAP station.map<br>OPTIONS sequential<br>UNDEF&nbsp; -999.00<br> TITLE&nbsp; Station Data Sample<br>TDEF&nbsp; 24 linear 07Z30Nov2007 60mn<br>VARS 6<br>ts&nbsp;&nbsp;&nbsp; 0 99&nbsp; Surface Temperature<br>td&nbsp;&nbsp;&nbsp; 0 99&nbsp; Surface Dewpoint Temperature<br>rh&nbsp;&nbsp;&nbsp; 0 99&nbsp; Relative Humidity<br>wsp&nbsp;&nbsp; 0 99&nbsp; Wind speed<br>wdir&nbsp; 0 99&nbsp; wind dir<br> pp&nbsp;&nbsp;&nbsp; 0 99&nbsp; accumulated precipitation<br>ENDVARS<br><br><br>-- <br>Andre Pattantyus, Graduate Student Research Assistant<br>Marine and Environmental Systems, Florida Institute of Technology<br>150 W. University Blvd, Melbourne, FL 32901<br> <br>Phone: <a href="tel:%28321%29%20674-8330" target="_blank" value="+13216748330">(321) 674-8330</a> | Fax: <a href="tel:%28321%29%20674-7212" target="_blank" value="+13216747212">(321) 674-7212</a> | Email: <a href="mailto:apattantyus2008@fit.edu" target="_blank">apattantyus2008@fit.edu</a><u></u><u></u></p> </div></div></div></div><br>_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br><a href="http://gradsusr.org/mailman/listinfo/gradsusr" target="_blank">http://gradsusr.org/mailman/listinfo/gradsusr</a><br> <br></blockquote></div><br><br clear="all"><br>-- <br>Andre Pattantyus, Graduate Student Research Assistant<br>Marine and Environmental Systems, Florida Institute of Technology<br>150 W. University Blvd, Melbourne, FL 32901<br> <br>Phone: (321) 674-8330 | Fax: (321) 674-7212 | Email: <a href="mailto:apattantyus2008@fit.edu">apattantyus2008@fit.edu</a><br> _______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true"> <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 style="word-wrap: break-word; -khtml-nbsp-mode: space; -khtml-line-break: after-white-space; "><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>--</div><div>Jennifer M. Adams</div><div>IGES/COLA</div><div>4041 Powder Mill Road, Suite 302</div><div>Calverton, MD 20705</div><div><a href="mailto:jma@cola.iges.org">jma@cola.iges.org</a></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span></div></span> </div><br></div></body></html>