<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi,</div><div><br></div><div><div>I wanted to create a script to plot a cross section of temperature of 100hPa until 1000hPa of the CFSR (Climate Forecast System Reanalysis) 4x daily but I'm not getting, when i created the script to plot the cross section of the zonal wind, the script worked &nbsp;perfectly but in this case it did not work. I really don't know how to do it, the script that was used to try to create is below but GrADS says:</div><div><br></div><div>''Data request error: Invalid grid coordinates</div><div>varying dimension 2 decreases: 27 to 1</div><div>error occured getting variables 'tmpprs'</div><div>error occured at column 1''</div><div><br></div><div>The script:</div></div><div><br></div><div><div>'reinit'</div><div>'open pgrbanl.cdas.ctl'</div><div><br></div><div>'set lat -26'</div><div><span style="font-size: 12pt;">'set lon 270 340'</span></div><div>'set lev 100 1000'</div><div><br></div><div>temp=1</div><div><span style="font-size: 12pt;">while(temp&lt;=12)</span></div><div><span style="font-size: 12pt;">'set t ' temp</span></div><div><span style="font-size: 12pt;">'q time'</span></div><div><br></div><div>data=subwrd(result,3)</div><div><span style="font-size: 12pt;">day=substr(data,4,2)</span></div><div><span style="font-size: 12pt;">month=substr(data,6,3)</span></div><div><span style="font-size: 12pt;">year=substr(data,9,4)</span></div><div><span style="font-size: 12pt;">time=substr(data,1,3)</span></div><div><br></div><div>'set display color white'</div><div>'set mpdset brmap_hires'</div><div>'set grads off'</div><div>'set grid off'</div><div>'set zlog on'</div><div>'set gxout shaded'</div><div>'run rgbset.gs'</div><div>'set clevs 5 10 15 20 25 30 35 40'</div><div>'set ccols 45 43 42 41 21 23 25 27 28'</div><div>'d tmpprs-273'</div><div>'set gxout contour'</div><div>'d tmpprs-273'</div><div>'run cbar'</div><div>'draw title CFSR: CROSS SECTION TEMPERATURE\ '%day' '%month' '%year' '%time''</div><div>'draw ylab PRESSURE LEVELS (hPa)'</div><div>'draw xlab LATITUDE'</div><div>'set display color white'</div><div>'printim TEMP_'%month'_'%day'_'%year'_'%time'.jpg x1600 y1400'</div><div><span style="font-size: 12pt;">'c'</span></div><div><br></div><div>temp=temp+1</div><div><span style="font-size: 12pt;">endwhile</span></div><div>'quit'</div></div><div><br></div><div>If somebody could help me, i'd be so thankful</div><br><br><div>Geraldo Deniro&nbsp;</div><div>contact: geraldodeniro@ufrj.br&nbsp;</div><div>Graduate Student of Meteorology&nbsp;</div><div>Department of Meteorology&nbsp;</div><div>Institute of Geosciences&nbsp;</div><div>Federal University of Rio de Janeiro</div>                                               </div></body>
</html>