<html><body><div style="color:#000; background-color:#fff; font-family:times new roman, new york, times, serif;font-size:12pt"><div><span>Dear David,</span></div><div><br><span></span></div><div><span>I still have problem for plot. The original data is very large and I made the annual average (by using CDO) for making the file smaller, as the attached file.</span></div><div><span>The original file has rotated info as in the below, but the CDO-processed file doesn't have this info. Could you please help have a look at the data and give a plot suggestion?</span></div><div><span><br></span></div><div><span>Thanks so much!</span></div><div><span>Mark<br></span></div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br><br>char rotated_pole ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rotated_pole:long_name = "coordinates of the rotated North Pole"
 ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rotated_pole:grid_mapping_name = "rotated_latitude_longitude" ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rotated_pole:grid_north_pole_latitude = 39.25f ;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; rotated_pole:grid_north_pole_longitude = -162.f ;<br><br><div><br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> David Brown &lt;dbrown@ucar.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Mark Chan &lt;cym263@yahoo.com&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> NCL Helpline &lt;ncl-talk@ucar.edu&gt;
 <br> <b><span style="font-weight: bold;">Sent:</span></b> Tuesday, February 28, 2012 6:18 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [ncl-talk] transform a projection into regular lat-lon<br> </font> </div> <br>
<div id="yiv1610121220"><div>Hi Mark,<div>Since the NCL is looking for the center longitude and you have the north pole, I think you should try setting mpCenterLatF to 39.25 - 90. Let us know if that does not produce a reasonable plot.</div><div>&nbsp;-dave</div><div><br></div><div><br><div><div>On Feb 28, 2012, at 6:11 AM, Mark Chan wrote:</div><br class="yiv1610121220Apple-interchange-newline"><blockquote type="cite"><div><div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: times new roman,new york,times,serif; font-size: 12pt;"><div><span>Dear Dennis,</span></div><div><br><span></span></div><div><span>Thanks a lot for your message. I wonder whether I could find the input data for the example in the website, so I could compare it with my data.</span></div><div><span>For instance, how could I get the parameters as in the below since my data has something like "</span>grid_north_pole_latitude : 39.25".</div><pre> 
 res@mpCenterLonF           = lon2d@Longitude_of_southern_pole <br>  res@mpCenterLatF           = lon2d@Latitude_of_southern_pole + 90<br></pre><div>Thanks a lot again!</div><div><br></div><div>Mark<br></div>  <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1">  <b><span style="font-weight: bold;">From:</span></b> Dennis Shea &lt;<a rel="nofollow" ymailto="mailto:shea@ucar.edu" target="_blank" href="mailto:shea@ucar.edu">shea@ucar.edu</a>&gt;<br> <b><span style="font-weight: bold;">To:</span></b> Mark Chan &lt;<a rel="nofollow" ymailto="mailto:cym263@yahoo.com" target="_blank" href="mailto:cym263@yahoo.com">cym263@yahoo.com</a>&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> "<a rel="nofollow" ymailto="mailto:ncl-talk@ucar.edu" target="_blank"
 href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>" &lt;<a rel="nofollow" ymailto="mailto:ncl-talk@ucar.edu" target="_blank" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>&gt; <br> <b><span style="font-weight: bold;">Sent:</span></b> Monday, February 27, 2012 5:39 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [ncl-talk] transform a projection into regular lat-lon<br> </font> </div> <br>
Does<br>&nbsp; &nbsp; http://www.ncl.ucar.edu/Applications/rotatedltln.shtml<br>answer your question. Please read the text.<br><br>Good Luck<br><br>On 2/27/12 3:31 AM, Mark Chan wrote:<br>&gt; Dear NCL users,<br>&gt;<br>&gt; I have a model output file having info as in the below. I was told it is<br>&gt; "rotated projection" (I don't know exactly what it is).<br>&gt; Could any one help give me a suggestion how to transform this data into<br>&gt; regular lat-lon projection? The main issue is how to define its<br>&gt; projection when reading it with NCL?<br>&gt;<br>&gt; Thanks so much in advance!<br>&gt; Mark Chan<br>&gt;<br>&gt; ----------------------Data file info ------------------------<br>&gt; dimensions:<br>&gt; ncl_scalar = 1<br>&gt; rlat = 92<br>&gt; rlon = 108<br>&gt; time = 87648 // unlimited<br>&gt; height_2m = 1<br>&gt; variables:<br>&gt; double time ( time )<br>&gt; standard_name : time<br>&gt; units : seconds since 1989-01-01 00:00:00<br>&gt;
 calendar : standard<br>&gt; float rlon ( rlon )<br>&gt; standard_name : grid_longitude<br>&gt; units : degrees<br>&gt; float rlat ( rlat )<br>&gt; standard_name : grid_latitude<br>&gt; units : degrees<br>&gt; float lon ( rlat, rlon )<br>&gt; standard_name : longitude<br>&gt; units : degrees_east<br>&gt; float lat ( rlat, rlon )<br>&gt; standard_name : latitude<br>&gt; units : degrees_north<br>&gt; float height_2m ( height_2m )<br>&gt; long_name : height above surface<br>&gt; units : m<br>&gt; character rotated_pole ( ncl_scalar )<br>&gt; long_name : coordinates of the rotated North Pole<br>&gt; grid_mapping_name : rotated_latitude_longitude<br>&gt; grid_north_pole_latitude : 39.25<br>&gt; grid_north_pole_longitude : -162<br>&gt; short tas ( time, height_2m, rlat, rlon )<br>&gt; standard_name : air_temperature<br>&gt; long_name : 2m temperature<br>&gt; units : K<br>&gt; coordinates : lon lat<br>&gt; scale_factor : 0.004940663<br>&gt; add_offset :
 161.8932<br>&gt; ====================================<br>&gt;<br>&gt; -----------------Its grids info is<br>&gt; as-----------------------------------------------------<br>&gt; rlon = -10.445, -10.335, -10.225, -10.115, -10.005, -9.895, -9.785, -9.675,<br>&gt; -9.565, -9.455, -9.345, -9.235, -9.125, -9.015, -8.905, -8.795, -8.685,<br>&gt; -8.575, -8.465, -8.355, -8.245, -8.135, -8.025, -7.915, -7.805, -7.695,<br>&gt; -7.585, -7.475, -7.365, -7.255, -7.145, -7.035, -6.925, -6.815, -6.705,<br>&gt; -6.595, -6.485, -6.375, -6.265, -6.155, -6.045, -5.935, -5.825, -5.715,<br>&gt; -5.605, -5.495, -5.385, -5.275, -5.165, -5.055, -4.945, -4.835, -4.725,<br>&gt; -4.615, -4.505, -4.395, -4.285, -4.175, -4.065, -3.955, -3.845, -3.735,<br>&gt; -3.625, -3.515, -3.405, -3.295, -3.185, -3.075, -2.965, -2.855, -2.745,<br>&gt; -2.635, -2.525, -2.415, -2.305, -2.195, -2.085, -1.975, -1.865, -1.755,<br>&gt; -1.645, -1.535, -1.425, -1.315, -1.205, -1.095, -0.985, -0.875,
 -0.765,<br>&gt; -0.655, -0.545, -0.435, -0.325, -0.215, -0.105, 0.005, 0.115, 0.225,<br>&gt; 0.335, 0.445, 0.555, 0.665, 0.775, 0.885, 0.995, 1.105, 1.215, 1.325 ;<br>&gt;<br>&gt; rlat = -8.855, -8.745, -8.635, -8.525, -8.415, -8.305, -8.195, -8.085,<br>&gt; -7.975, -7.865, -7.755, -7.645, -7.535, -7.425, -7.315, -7.205, -7.095,<br>&gt; -6.985, -6.875, -6.765, -6.655, -6.545, -6.435, -6.325, -6.215, -6.105,<br>&gt; -5.995, -5.885, -5.775, -5.665, -5.555, -5.445, -5.335, -5.225, -5.115,<br>&gt; -5.005, -4.895, -4.785, -4.675, -4.565, -4.455, -4.345, -4.235, -4.125,<br>&gt; -4.015, -3.905, -3.795, -3.685, -3.575, -3.465, -3.355, -3.245, -3.135,<br>&gt; -3.025, -2.915, -2.805, -2.695, -2.585, -2.475, -2.365, -2.255, -2.145,<br>&gt; -2.035, -1.925, -1.815, -1.705, -1.595, -1.485, -1.375, -1.265, -1.155,<br>&gt; -1.045, -0.935, -0.825, -0.715, -0.605, -0.495, -0.385, -0.275, -0.165,<br>&gt; -0.055, 0.055, 0.165, 0.275, 0.385, 0.495, 0.605, 0.715, 0.825,
 0.935,<br>&gt; 1.045, 1.155 ;<br>&gt;<br>&gt;<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; ncl-talk mailing list<br>&gt; List instructions, subscriber options, unsubscribe:<br>&gt; <a rel="nofollow" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br><br><br> </div> </div>  </div></div>_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a rel="nofollow" target="_blank" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></div></div><br><br> </div> </div>  </div></body></html>