<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:メイリオ
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Jim<div><br></div><div>Thank you very much for your advice.</div><div>I made it.</div><div><br></div><div>However, I feel strange that</div><div>X, Y are integer? Is it OK?</div><div><br></div><div><span class="Apple-style-span" style="font-family: 'MS PGothic', 'MS UI Gothic', Osaka; font-size: 12px; color: rgb(42, 42, 42); white-space: pre; ">'q w2gr 120 30' </span></div><div><font class="Apple-style-span" color="#2A2A2A" face="'MS PGothic', 'MS UI Gothic', Osaka" size="3"><span class="Apple-style-span" style="font-size: 12px; white-space: pre;">result is</span></font></div><div>Xdim = 6827.72 Ydim = 2731.69</div><div><br></div><div>'q file'</div><div>result is also.</div><div><div>Default file number is: 1 </div><div>X is varying Lon = 120 to 170 X = 6827.72 to 7965.5</div><div>Y is varying Lat = 10 to 50 Y = 2276.57 to 3186.8</div><div><br></div></div><div>Best Regards,</div><div>Takaya Namba<br><br><div>> Date: Mon, 20 Jun 2011 08:44:44 -1000<br>> From: jimp@hawaii.edu<br>> To: gradsusr@gradsusr.org<br>> Subject: Re: [gradsusr] 'q w2gr 120 30'<br>> <br>> Hi Takaya:<br>> <br>> You first need to display something, then the 'q w2gr' should work.<br>> For example, add a line 'd sst' (or whatever) before the 'q w2gr'.<br>> <br>> Jim<br>> <br>> Namba Takaya wrote:<br>> > Dear Sir<br>> ><br>> > When I do<br>> > 'q w2gr 120 30'<br>> > the error comes like<br>> > coordinate No scaling environment<br>> ><br>> > Could you give me how to solve the problem?<br>> ><br>> > Best Regards, Takaya Namba<br>> ><br>> ><br>> > My grads script is<br>> ><br>> > 'set gxout shaded'<br>> > 'xdfopen bsst.ctl'<br>> > say test2<br>> > 'q file'<br>> > say result<br>> > !<br>> > 'q w2gr 120 30'<br>> > say result<br>> ><br>> > data descriptor file<br>> ><br>> > DSET<br>> > http://data.nodc.noaa.gov/opend
ap/pathfinder/Version5.0/Monthly/1985/198501.s04m1pfv50-bsst-16b.hdf<br>> > options yrev<br>> > TITLE This is a sample<br>> > UNDEF 99999.0<br>> > YDEF lat 4096 LINEAR -90 0.043945<br>> > XDEF lon 8192 LINEAR -180 0.043945<br>> > VARS 1:<br>> > bsst=>bsst 1 99 surface temperature<br>> > ENDVARS<br>> ><br>> ><br>> > My grads script is<br>> ><br>> > 'set gxout shaded'<br>> > 'xdfopen bsst.ctl'<br>> > say test2<br>> > 'q file'<br>> > say result<br>> > 'q w2gr 120 30'<br>> > say result<br>> ><br>> > netcdf 198501.s04m1pfv50-bsst-16b { // format variant: 64bit<br>> > dimensions:<br>> > ! lat = 4096 ;<br>> > lon = 8 192 ;<br>> > variables:<br>> > short bsst(lat, lon) ;<br>> > bsst:dsp_PixelType = 1b ;<br>> > bsst:dsp_PixelSize = 2b ;<br>> > bsst:dsp_Flag = 0s ;<br>> > bsst:dsp_nBits = 16s ;<br>> > bsst:dsp_LineSize = 0 ;<br>> > bsst:dsp_cal_name = "Temperature" ;<br>> > bsst:units = "Temp" ;<br>> > bsst:dsp_cal_eqnNumber = 2s ;<br>> > bsst:dsp_cal_CoeffsLength = 8s ;<br>> > ! bsst:dsp_cal_coeffs = 0.075f, -3.f ;<br>> > bsst:scale_factor = 0.075f ;<br>> > bsst:add_off = -3.f ;<br>> ><br>> ><br>> ><br>> ><br>> ><br>> ><br>> > ------------------------------------------------------------------------<br>> ><br>> > _______________________________________________<br>> > gradsusr mailing list<br>> > gradsusr@gradsusr.org<br>> > http://gradsusr.org/mailman/listinfo/gradsusr<br>> > <br>> _______________________________________________<br>> gradsusr mailing list<br>> gradsusr@gradsusr.org<br>> http://gradsusr.org/mailman/listinfo/gradsusr<br></div></div>                                            </div></body>
</html>