<div dir="ltr"><div class="gmail_default" style="font-size:small">Guido,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I&#39;m hoping Dave will weigh in here, but it would help if we could at least see the output from:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">ncl_filedump <a href="http://pv.nc">pv.nc</a></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Sometimes the global attributes of the file will give some valuable information about the correct map projection parameters.</div><div class="gmail_default" style="font-size:small"><br>Did you actually try commenting out the mpCenterLatF and mpCenterLonF settings?  In the script you included, these two resources are still being set.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">It&#39;s possible that the data has already been rotated for you.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><br></div>







</div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 30, 2015 at 1:33 AM, Guido Cioni <span dir="ltr">&lt;<a href="mailto:guidocioni@gmail.com" target="_blank">guidocioni@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi all,<div>I’m trying to produce a contour plot with data on a rotated grid. The original data look like that</div><div><br></div><div></div></div><br><div style="word-wrap:break-word"><div></div><div>Since I have the rotated north pole latitude (<b>44.999996</b>) and longitude (<b>144.0</b>) in my data file I used the second example of the support page on rotated grid. </div><div><div> </div><div><font face="Menlo"> Res1@tfDoNDCOverlay=True</font></div><div><font face="Menlo"> Res1@mpLimitMode = &quot;Corners&quot; </font></div></div><div><font face="Menlo"> Res1@mpLeftCornerLatF = lat(0)</font></div><div><font face="Menlo"> Res1@mpLeftCornerLonF = lon(0)</font></div><div><font face="Menlo"> Res1@mpRightCornerLatF = lat(nlat-1)</font></div><div><font face="Menlo"> Res1@mpRightCornerLonF = lon(nlon-1)</font></div><div><font face="Menlo"> Res1@mpCenterLatF           = 90 - north_pole_lat  </font></div><div><font face="Menlo"> Res1@mpCenterLonF           = 180 + north_pole_lon  </font></div><div><br></div><div>However I get this result ( I believe this is Australia):</div><div><br></div><div></div></div><br><div style="word-wrap:break-word"><div></div><div>After several attempts I was able to plot the data using as bounds the “real” coordinates of the rotated projection, without specifying the center, e.g. :</div><div><font face="Menlo"><br></font></div><div><div><font face="Menlo"> Res1@tfDoNDCOverlay=True</font></div><div><font face="Menlo"> Res1@mpLimitMode = &quot;Corners&quot; </font></div><div><font face="Menlo"> Res1@mpLeftCornerLatF = 30.35458 </font></div><div><font face="Menlo"> Res1@mpLeftCornerLonF = -75.14440</font></div><div><font face="Menlo"> Res1@mpRightCornerLatF = 65.1125</font></div><div><font face="Menlo"> Res1@mpRightCornerLonF = 13.87071</font></div></div><div><br></div><div>But the contour plot is still slightly shifted to the west as you can see in this image:</div><div><br></div><div></div></div><br><div style="word-wrap:break-word"><div></div><div>I know that in the data file my coordinates span from rlon={340,392.875} and rlat={-9.962499,22.512501}. </div><div><br></div><div>What am I missing?<br><div><div>
<div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div>Is there any additional documentation on rotated grid? </div><div><br></div><div>Attached is my NCL script (data are too big). </div><div><br></div><div></div></div></div></div></div></div></div><br><div style="word-wrap:break-word"><div><div><div><div style="color:rgb(0,0,0);letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;word-wrap:break-word"><div></div><div><br>Guido Cioni</div><div><a href="http://guidocioni.altervista.org" target="_blank">http://guidocioni.altervista.org</a> </div><div><br></div></div><br style="color:rgb(0,0,0);font-family:Helvetica;font-size:14px;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px"><br></div>
</div>
<br></div></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>