<div dir="ltr"><div><div><div>Hi Dennis,<br></div>The output of my script (attached herewith) is coming as below:<br>***************************************<br>Variable: rl<br>Type: float<br>Total Size: 221184000 bytes<br> 55296000 values<br>Number of Dimensions: 4<br>Dimensions and sizes: [ncl_join | 20] x [ncl0 | 6] x [LAT | 320] x [LON | 1440]<br>Coordinates: <br> LAT: [-40..40]<br> LON: [ 0..360]<br>Number Of Attributes: 1<br> _FillValue : 9.96921e+36<br><br>Variable: rflip<br>Type: float<br>Total Size: 221184000 bytes<br> 55296000 values<br>Number of Dimensions: 4<br>Dimensions and sizes: [ncl_join | 20] x [ncl0 | 6] x [LAT | 320] x [LON | 1440]<br>Coordinates: <br> LAT: [-40..40]<br> LON: [-179.8749..179.8749]<br>Number Of Attributes: 2<br> _FillValue : 9.96921e+36<br> lonFlip : longitude coordinate variable has been reordered via lonFlip<br><br>Variable: rh<br>Type: float<br>Total Size: 2459520 bytes<br> 614880 values<br>Number of Dimensions: 4<br>Dimensions and sizes: [ncl_join | 20] x [ncl0 | 6] x [LAT | 42] x [LON | 122]<br>Coordinates: <br> LAT: [-19.9373..-9.655172]<br> LON: [-19.76373..10.25712]<br>Number Of Attributes: 2<br> lonFlip : longitude coordinate variable has been reordered via lonFlip<br> _FillValue : 9.96921e+36<br><br>Variable: rr<br>Type: float<br>Total Size: 122976 bytes<br> 30744 values<br>Number of Dimensions: 3<br>Dimensions and sizes: [ncl0 | 6] x [LAT | 42] x [LON | 122]<br>Coordinates: <br> LAT: [-19.9373..-9.655172]<br> LON: [-19.76373..10.25712]<br>Number Of Attributes: 3<br> _FillValue : 9.96921e+36<br> lonFlip : longitude coordinate variable has been reordered via lonFlip<br> average_op_ncl : dim_avg_n over dimension(s): ncl_join<br>warning:_NhlCreateSplineCoordApprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value<br>warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear<br>***********************************************</div><div><br></div>Thanks,<br></div>Ipsita<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 14, 2018 at 11:22 PM, Dennis Shea <span dir="ltr"><<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Without knowing the 'structure' of the original variable, it is hard to offer any help.<br><br></div><div>As ncl-talk suggests, the user should <b>*always include* t</b>he output from <b>printVarSummary </b>of the original variable.<br><br> rl=f[:]->rh <wbr> ; do <b>not</b> use (:,:,:,:) when importing entire variable; it is inefficient<br></div><div> <b>printVarSummary(rl)</b><br></div><div> rflip=lonFlip(rl)<br> <b>printVarSummary(rflip)<br><br></b> rh=rflip(:,:,80:121,640:761); [-20S to -10S, 20W to 10E]<br> <br> lat=rh&LAT<br> lon=rh&LON<br><br> rh&LAT@units = "degrees north"<br> rh&LON@units = "degrees east" <br> <b>printVarSummary(rh)</b><br> rr=dim_avg_n_Wrap(rh,0)<br> <b>printVarSummary(rr)</b><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Jun 14, 2018 at 4:57 AM, Ipsita Putatunda <span dir="ltr"><<a href="mailto:ipsita.putatunda@gmail.com" target="_blank">ipsita.putatunda@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Dear all,<br></div>I want to plot a region [10S to 20S;20W to 10E] over South Atlantic, my script is attached herewith, which is giving warning message like below-<br><br>******************************<wbr>***********<br>warning:_NhlCreateSplineCoordA<wbr>pprox: Attempt to create spline approximation for X axis failed: consider adjusting trXTensionF value<br>warning:IrTransInitialize: error creating spline approximation for trXCoordPoints; defaulting to linear<br>******************************<wbr>**************<br>Please help me in this issue. Any suggestions will be appreciated.<br><br></div><div>Thanks in advance,<br></div><div>Ipsita<br></div><div><br></div></div>
<br></div></div>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>