<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Guido,<br>
<br>
I'm answering to ncl-talk so Mary and Dave can see my response to
your offline mail.<br>
<br>
First, the script you send, had the wrong contour level min and max
values. <br>
Use the functions min and max to get more information about your
data values. <br>
<br>
Also the colors you defined are not well chosen to start plotting
your data the first <br>
time (most of the areas are filled with white color).<br>
<br>
You have to use the values from your netCDF file for the rotated
pole, the given values in <br>
the script are not correct.<br>
<br>
Don't use <i>Res1@tfDoNDCOverlay = True</i> , but use <i>pv@lat2d
= lat2d</i> and <i>pv@lon2d = lon2d</i><br>
instead. The png output looks ok, now. <br>
<br>
I've cleaned the script so it is now easier to read. The script and
the plot are attached.<br>
<br>
Bye,<br>
Karin<br>
<br>
-----------------<br>
<i>Dear Karin,
</i>
<div class=""><i>I’m desperately trying to plot old data that I have
in a rotated grid on NCL. I stumbled upon your script that
unrotated the coordinates and plot the resulting data. However,
it still doesn’t work for me, and I don’t understand why, since
Panoply is able to plot the same data.</i></div>
<i>
</i>
<div class=""><i>If you have some time please reply to this so that
I can tell you more.</i></div>
<i>
Cheers</i><i><br class="">
</i><i>
</i>
<div dir="ltr" style="color: rgb(34, 34, 34); font-family: arial,
sans-serif; font-size: 12.8px; widows: 1; background-color:
rgb(255, 255, 255);" class="">
<i><span class="" style="color: rgb(136, 136, 136);"><font
class="" color="#000099" size="2"><b class=""><br
class="Apple-interchange-newline">
Guido Cioni</b></font></span></i></div>
<div dir="ltr" style="color: rgb(34, 34, 34); font-family: arial,
sans-serif; font-size: 12.8px; widows: 1; background-color:
rgb(255, 255, 255);" class="">
<i style="color: rgb(136, 136, 136);" class=""><font class=""
color="#000099" size="1"><b class=""><br class="">
</b></font></i></div>
<br>
<div class="moz-cite-prefix">Am 01.12.15 um 10:33 schrieb Guido
Cioni:<br>
</div>
<blockquote
cite="mid:744B7D25-6FA0-4857-AE9D-BA5DFDA20AB5@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
I tried the script of Karin but still have issues. Since the
bounds are not correctly computed the data are not correctly
represented, as you can see in the following.
<div class=""> </div>
<div class=""><img apple-inline="yes"
id="D7A7604B-D1A0-4EB7-B393-662FC1E5319B" apple-width="yes"
apple-height="yes" src="cid:part1.00020206.07030801@dkrz.de"
class="" height="468" width="677"><br class="">
<div class=""><br class="">
</div>
<div class="">I’m still convinced, though, that the data are
correct since when I first ran the model I chose a rotation
with center (-36 deg lon,45 deg lat) and left corner (-20 deg
lon, -10 deg lat). Thus, the rotated pole has the correct
coordinates (140 deg lon, 45 deg lat) since 140+36=180 and
45+45=90. If you take a look at rlat and rlon, that I printed
with ncl_filedump, you can clearly see that in the rotated
framework lat and lon both start from -10 (-9.962) and -20
degrees (360-340).
<div class=""><br class="">
</div>
<div class="">
<div class=""><font style="font-size: 9px;" class=""
face="Menlo">Variable No. 0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> rlat:</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"><br class="">
</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -9.962 -9.887 -9.812
-9.737 -9.662 -9.587</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -9.512 -9.437 -9.362
-9.287 -9.212 -9.137</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -9.062 -8.987 -8.912
-8.837 -8.762 -8.687</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -8.612 -8.537 -8.462
-8.387 -8.312 -8.237</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -8.162 -8.087 -8.012
-7.937 -7.862 -7.787</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -7.712 -7.637 -7.562
-7.487 -7.412 -7.337</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -7.262 -7.187 -7.112
-7.037 -6.962 -6.887</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -6.812 -6.737 -6.662
-6.587 -6.512 -6.437</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -6.362 -6.287 -6.212
-6.137 -6.062 -5.987</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -5.912 -5.837 -5.762
-5.687 -5.612 -5.537</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -5.462 -5.387 -5.312
-5.237 -5.162 -5.087</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -5.012 -4.937 -4.862
-4.787 -4.712 -4.637</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -4.562 -4.487 -4.412
-4.337 -4.262 -4.187</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -4.112 -4.037 -3.962
-3.887 -3.812 -3.737</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -3.662 -3.587 -3.512
-3.437 -3.362 -3.287</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -3.212 -3.137 -3.062
-2.987 -2.912 -2.837</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -2.762 -2.687 -2.612
-2.537 -2.462 -2.387</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -2.312 -2.237 -2.162
-2.087 -2.012 -1.937</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -1.862 -1.787 -1.712
-1.637 -1.562 -1.487</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -1.412 -1.337 -1.262
-1.187 -1.112 -1.037</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -0.9625 -0.8875 -0.8125
-0.7375 -0.6625 -0.5875</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -0.5125 -0.4375 -0.3625
-0.2875 -0.2125 -0.1375</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> -0.6250E-01 0.1250E-01 0.8750E-01
0.1625 0.2375 0.3125</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 0.3875 0.4625 0.5375
0.6125 0.6875 0.7625</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 0.8375 0.9125 0.9875
1.063 1.138 1.213</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 1.288 1.363 1.438
1.513 1.588 1.663</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 1.738 1.813 1.888
1.963 2.038 2.113</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 2.188 2.263 2.338
2.413 2.488 2.563</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 2.638 2.713 2.788
2.863 2.938 3.013</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 3.088 3.163 3.238
3.313 3.388 3.463</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 3.538 3.613 3.688
3.763 3.838 3.913</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 3.988 4.063 4.138
4.213 4.288 4.363</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 4.438 4.513 4.588
4.663 4.738 4.813</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 4.888 4.963 5.038
5.113 5.188 5.263</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 5.338 5.413 5.488
5.563 5.638 5.713</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 5.788 5.863 5.938
6.013 6.088 6.163</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 6.238 6.313 6.388
6.463 6.538 6.613</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 6.688 6.763 6.838
6.913 6.988 7.063</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 7.138 7.213 7.288
7.363 7.438 7.513</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 7.588 7.663 7.738
7.813 7.888 7.963</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 8.038 8.113 8.188
8.263 8.338 8.413</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 8.488 8.563 8.638
8.713 8.788 8.863</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 8.938 9.013 9.088
9.163 9.238 9.313</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 9.388 9.463 9.538
9.613 9.688 9.763</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 9.838 9.913 9.988
10.06 10.14 10.21</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 10.29 10.36 10.44
10.51 10.59 10.66</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 10.74 10.81 10.89
10.96 11.04 11.11</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 11.19 11.26 11.34
11.41 11.49 11.56</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 11.64 11.71 11.79
11.86 11.94 12.01</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 12.09 12.16 12.24
12.31 12.39 12.46</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 12.54 12.61 12.69
12.76 12.84 12.91</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 12.99 13.06 13.14
13.21 13.29 13.36</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 13.44 13.51 13.59
13.66 13.74 13.81</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 13.89 13.96 14.04
14.11 14.19 14.26</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 14.34 14.41 14.49
14.56 14.64 14.71</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 14.79 14.86 14.94
15.01 15.09 15.16</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 15.24 15.31 15.39
15.46 15.54 15.61</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 15.69 15.76 15.84
15.91 15.99 16.06</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 16.14 16.21 16.29
16.36 16.44 16.51</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 16.59 16.66 16.74
16.81 16.89 16.96</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 17.04 17.11 17.19
17.26 17.34 17.41</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 17.49 17.56 17.64
17.71 17.79 17.86</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 17.94 18.01 18.09
18.16 18.24 18.31</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 18.39 18.46 18.54
18.61 18.69 18.76</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 18.84 18.91 18.99
19.06 19.14 19.21</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 19.29 19.36 19.44
19.51 19.59 19.66</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 19.74 19.81 19.89
19.96 20.04 20.11</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 20.19 20.26 20.34
20.41 20.49 20.56</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 20.64 20.71 20.79
20.86 20.94 21.01</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 21.09 21.16 21.24
21.31 21.39 21.46</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 21.54 21.61 21.69
21.76 21.84 21.91</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 21.99 22.06 22.14
22.21 22.29 22.36</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 22.44 22.51</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"><br class="">
</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo">Variable No. 1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> rlon:</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"><br class="">
</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 340.0 340.1 340.1
340.2 340.3 340.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 340.4 340.5 340.6
340.7 340.8 340.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 340.9 341.0 341.1
341.1 341.2 341.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 341.4 341.4 341.5
341.6 341.6 341.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 341.8 341.9 341.9
342.0 342.1 342.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 342.2 342.3 342.4
342.5 342.6 342.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 342.7 342.8 342.9
342.9 343.0 343.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 343.1 343.2 343.3
343.4 343.4 343.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 343.6 343.7 343.8
343.8 343.9 344.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 344.1 344.1 344.2
344.3 344.4 344.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 344.5 344.6 344.6
344.7 344.8 344.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 344.9 345.0 345.1
345.2 345.2 345.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 345.4 345.5 345.6
345.6 345.7 345.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 345.9 345.9 346.0
346.1 346.1 346.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 346.3 346.4 346.4
346.5 346.6 346.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 346.8 346.8 346.9
347.0 347.1 347.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 347.2 347.3 347.4
347.4 347.5 347.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 347.6 347.7 347.8
347.9 347.9 348.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 348.1 348.2 348.2
348.3 348.4 348.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 348.6 348.6 348.7
348.8 348.9 348.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 349.0 349.1 349.1
349.2 349.3 349.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 349.4 349.5 349.6
349.7 349.8 349.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 349.9 350.0 350.1
350.1 350.2 350.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 350.4 350.4 350.5
350.6 350.6 350.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 350.8 350.9 350.9
351.0 351.1 351.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 351.2 351.3 351.4
351.5 351.6 351.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 351.7 351.8 351.9
351.9 352.0 352.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 352.1 352.2 352.3
352.4 352.4 352.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 352.6 352.7 352.8
352.8 352.9 353.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 353.1 353.1 353.2
353.3 353.4 353.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 353.5 353.6 353.6
353.7 353.8 353.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 353.9 354.0 354.1
354.2 354.2 354.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 354.4 354.5 354.6
354.6 354.7 354.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 354.9 354.9 355.0
355.1 355.1 355.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 355.3 355.4 355.4
355.5 355.6 355.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 355.8 355.8 355.9
356.0 356.1 356.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 356.2 356.3 356.4
356.4 356.5 356.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 356.6 356.7 356.8
356.9 356.9 357.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 357.1 357.2 357.2
357.3 357.4 357.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 357.6 357.6 357.7
357.8 357.9 357.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 358.0 358.1 358.1
358.2 358.3 358.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 358.4 358.5 358.6
358.7 358.8 358.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 358.9 359.0 359.1
359.1 359.2 359.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 359.4 359.4 359.5
359.6 359.6 359.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 359.8 359.9 359.9
360.0 360.1 360.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 360.2 360.3 360.4
360.5 360.6 360.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 360.7 360.8 360.9
360.9 361.0 361.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 361.1 361.2 361.3
361.4 361.4 361.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 361.6 361.7 361.8
361.8 361.9 362.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 362.1 362.1 362.2
362.3 362.4 362.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 362.5 362.6 362.6
362.7 362.8 362.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 362.9 363.0 363.1
363.2 363.2 363.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 363.4 363.5 363.6
363.6 363.7 363.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 363.9 363.9 364.0
364.1 364.1 364.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 364.3 364.4 364.4
364.5 364.6 364.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 364.8 364.8 364.9
365.0 365.1 365.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 365.2 365.3 365.4
365.4 365.5 365.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 365.6 365.7 365.8
365.9 365.9 366.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 366.1 366.2 366.2
366.3 366.4 366.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 366.6 366.6 366.7
366.8 366.9 366.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 367.0 367.1 367.1
367.2 367.3 367.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 367.4 367.5 367.6
367.7 367.8 367.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 367.9 368.0 368.1
368.1 368.2 368.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 368.4 368.4 368.5
368.6 368.6 368.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 368.8 368.9 368.9
369.0 369.1 369.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 369.2 369.3 369.4
369.5 369.6 369.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 369.7 369.8 369.9
369.9 370.0 370.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 370.1 370.2 370.3
370.4 370.4 370.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 370.6 370.7 370.8
370.8 370.9 371.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 371.1 371.1 371.2
371.3 371.4 371.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 371.5 371.6 371.6
371.7 371.8 371.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 371.9 372.0 372.1
372.2 372.2 372.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 372.4 372.5 372.6
372.6 372.7 372.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 372.9 372.9 373.0
373.1 373.1 373.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 373.3 373.4 373.4
373.5 373.6 373.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 373.8 373.8 373.9
374.0 374.1 374.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 374.2 374.3 374.4
374.4 374.5 374.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 374.6 374.7 374.8
374.9 374.9 375.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 375.1 375.2 375.2
375.3 375.4 375.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 375.6 375.6 375.7
375.8 375.9 375.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 376.0 376.1 376.1
376.2 376.3 376.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 376.4 376.5 376.6
376.7 376.8 376.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 376.9 377.0 377.1
377.1 377.2 377.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 377.4 377.4 377.5
377.6 377.6 377.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 377.8 377.9 377.9
378.0 378.1 378.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 378.2 378.3 378.4
378.5 378.6 378.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 378.7 378.8 378.9
378.9 379.0 379.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 379.1 379.2 379.3
379.4 379.4 379.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 379.6 379.7 379.8
379.8 379.9 380.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 380.1 380.1 380.2
380.3 380.4 380.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 380.5 380.6 380.6
380.7 380.8 380.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 380.9 381.0 381.1
381.2 381.2 381.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 381.4 381.5 381.6
381.6 381.7 381.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 381.9 381.9 382.0
382.1 382.1 382.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 382.3 382.4 382.4
382.5 382.6 382.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 382.8 382.8 382.9
383.0 383.1 383.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 383.2 383.3 383.4
383.4 383.5 383.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 383.6 383.7 383.8
383.9 383.9 384.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 384.1 384.2 384.2
384.3 384.4 384.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 384.6 384.6 384.7
384.8 384.9 384.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 385.0 385.1 385.1
385.2 385.3 385.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 385.4 385.5 385.6
385.7 385.8 385.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 385.9 386.0 386.1
386.1 386.2 386.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 386.4 386.4 386.5
386.6 386.6 386.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 386.8 386.9 386.9
387.0 387.1 387.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 387.2 387.3 387.4
387.5 387.6 387.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 387.7 387.8 387.9
387.9 388.0 388.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 388.1 388.2 388.3
388.4 388.4 388.5</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 388.6 388.7 388.8
388.8 388.9 389.0</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 389.1 389.1 389.2
389.3 389.4 389.4</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 389.5 389.6 389.6
389.7 389.8 389.9</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 389.9 390.0 390.1
390.2 390.2 390.3</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 390.4 390.5 390.6
390.6 390.7 390.8</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 390.9 390.9 391.0
391.1 391.1 391.2</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 391.3 391.4 391.4
391.5 391.6 391.7</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 391.8 391.8 391.9
392.0 392.1 392.1</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 392.2 392.3 392.4
392.4 392.5 392.6</font></div>
<div class=""><font style="font-size: 9px;" class=""
face="Menlo"> 392.6 392.7 392.8
392.9</font></div>
<div apple-content-edited="true" class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto; text-align:
start; text-indent: 0px; text-transform: none;
white-space: normal; widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap: break-word;
-webkit-nbsp-mode: space; -webkit-line-break:
after-white-space;" class="">
<div class=""><br class="">
</div>
<div class="">However, the first image that I attached
was referring to an older simulation, this is the
correct one.</div>
<div class=""><br class="">
</div>
<div class=""><img apple-inline="yes"
id="D4B6BAEC-6179-407D-A0B8-6BD6EF2DE12D"
apple-width="yes" apple-height="yes"
src="cid:part2.04070808.02030706@dkrz.de" class=""
height="646" width="677"></div>
<div class=""><br class="">
</div>
<div class="">Strangely enough, Panoply is able to
plot the data just using rlon,rlat and the center of
the rotated pole provided in the data file (I didn’t
change anything to produce the following picture). </div>
<div class=""><br class="">
</div>
<div class=""><img apple-inline="yes"
id="6F50DE74-1454-408B-96CE-13A4CDB8584C"
apple-width="yes" apple-height="yes"
src="cid:part3.05090505.07050807@dkrz.de" class=""
height="457" width="677"></div>
<div class=""><br class="Apple-interchange-newline">
Guido Cioni</div>
<div style="font-size: 14px; font-family: Helvetica;"
class=""><a moz-do-not-send="true"
href="http://guidocioni.altervista.org" class="">http://guidocioni.altervista.org</a> </div>
<div style="font-size: 14px; font-family: Helvetica;"
class=""><br class="">
</div>
</div>
<br class="Apple-interchange-newline" style="color:
rgb(0, 0, 0); font-family: Helvetica; font-size: 14px;
font-style: normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px; text-transform:
none; white-space: normal; widows: auto; word-spacing:
0px; -webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
</div>
</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">Il giorno 01 dic 2015, alle ore 09:52,
Guido Cioni <<a moz-do-not-send="true"
href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.com</a>>
ha scritto:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252" class="">
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space;"
class="">Hey David,
<div class="">yes, the image that I attached in the
first email was supposed to represents the final
result. I know the “real” coordinate bounds just
because I wrote a binary file directly from the
postprocessing of the model with the real 2-D
lat-lon coordinates in the native grid. Then, I
printed the minimum and maximum of those data.
Funny thing is that I wasn’t able to use these
coordinates for my plot since they were somewhat
randomly organized, still don’t know why (probably
some fortran way of writing data…). However, the
numbers that I attached in the first plot were not
correct. These are the correct ones:</div>
<div class=""><br class="">
</div>
<div class="">
<div class="">lon_min<span class="Apple-tab-span" style="white-space:pre">        </span>-78.64264</div>
<div class="">lon_max<span class="Apple-tab-span" style="white-space:pre">        </span>25.00719</div>
<div class="">lat_min<span class="Apple-tab-span" style="white-space:pre">        </span>27.55382</div>
<div class="">lat_max<span class="Apple-tab-span" style="white-space:pre">        </span>67.51249</div>
<div class=""><br class="">
</div>
<div class="">It puzzles me that they are not the
same that you chose by replicating the plot “by
eye”. And also, you changed the center of the
map: I thought that the rotated pole coordinates
that I had in the file were the only correct
data :) </div>
<div class="">Using the script that Karin wrote, I
should be able to create lat2d-lon2d array and
unrotate the data, so that there is no need to
play around with the map projection, right? </div>
<div class=""><br class="">
</div>
<div class="">
<div style="letter-spacing: normal; orphans:
auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;"
class="">
<div style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto;
word-spacing: 0px;
-webkit-text-stroke-width: 0px; word-wrap:
break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;"
class="">
<div class=""><br
class="Apple-interchange-newline">
Guido Cioni</div>
<div class=""><a moz-do-not-send="true"
href="http://guidocioni.altervista.org/"
class="">http://guidocioni.altervista.org</a> </div>
<div class=""><br class="">
</div>
</div>
<br class="Apple-interchange-newline"
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal; letter-spacing:
normal; orphans: auto; text-align: start;
text-indent: 0px; text-transform: none;
white-space: normal; widows: auto;
word-spacing: 0px;
-webkit-text-stroke-width: 0px;">
<br class="Apple-interchange-newline">
</div>
</div>
<br class="">
<div class="">
<blockquote type="cite" class="">
<div class="">Il giorno 30 nov 2015, alle ore
23:54, David Brown <<a
moz-do-not-send="true"
href="mailto:dbrown@ucar.edu" class=""><a class="moz-txt-link-abbreviated" href="mailto:dbrown@ucar.edu">dbrown@ucar.edu</a></a>>
ha scritto:</div>
<br class="Apple-interchange-newline">
<div class=""><span style="font-family:
Helvetica; font-size: 14px; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; orphans:
auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Hi Guido,</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Here's my take on this so far.
You enclosed an image labelled "Bolam</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Model". Is that plot supposed to
represent the actual grid of your</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">data? I am asking because it does
not seem possible to reconcile the</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">coordinate information that you
have provided with this plot. I am</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">attaching a couple of plots and a
modified version of your script (it</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">just draws the map, since we do
not have the data). I can</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">approximately duplicate the map
projection of the Bolam plot by eye,</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">but I have to use different
numbers than those you have supplied. The</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">script first draws a map based on
the rotated lat/lon extent that you</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">supplied, after conversion into
"real" lat/lon values. Then it draws</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">an approximation of the Bolam
map.</span><br style="font-family:
Helvetica; font-size: 14px; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; orphans:
auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Mary supplied you with the NCL
script from Karin that converts from</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">rotated coordinates to regular
lat/lon. I used a C code that does the</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">same thing. You could use either
method to create your own 2d lat/lon</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">coordinates for this grid. If you
would like the C code let me know.</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">I am curious how you obtained the
"real" corner values you used:</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Res1@tfDoNDCOverlay=True</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Res1@mpLimitMode = "Corners"</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Res1@mpLeftCornerLatF = 30.35458</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Res1@mpLeftCornerLonF = -75.14440</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Res1@mpRightCornerLatF = 65.1125</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">Res1@mpRightCornerLonF = 13.87071</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">These do not seem to me to be
correct either.</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">It would help if you listed the
complete set of rotated lat/lon</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">values. You could do it using
ncl_filedump:</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">ncl_filedump -v rlat,rlon
complete.nc</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">-dave</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<br style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<span style="font-family: Helvetica;
font-size: 14px; font-style: normal;
font-variant: normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">On Mon, Nov 30, 2015 at 2:18 PM,
Mary Haley <</span><a
moz-do-not-send="true"
href="mailto:haley@ucar.edu"
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class=""><a class="moz-txt-link-abbreviated" href="mailto:haley@ucar.edu">haley@ucar.edu</a></a><span
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px; float:
none; display: inline !important;"
class="">> wrote:</span><br
style="font-family: Helvetica; font-size:
14px; font-style: normal; font-variant:
normal; font-weight: normal;
letter-spacing: normal; orphans: auto;
text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">
<blockquote type="cite" style="font-family:
Helvetica; font-size: 14px; font-style:
normal; font-variant: normal; font-weight:
normal; letter-spacing: normal; orphans:
auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal;
widows: auto; word-spacing: 0px;
-webkit-text-stroke-width: 0px;" class="">Correct,
NCL can't automatically "unrotate" the
coordinates for you based on<br class="">
the rotated coordinates.<br class="">
<br class="">
Karin Meier-Fleischer of DKRZ wrote a
couple of functions that "unrotate"<br
class="">
the coordinates for you, and I've taken
this example and her data file to<br
class="">
show how this might work for your data.<br
class="">
<br class="">
See the attached script. The data file can
be downloaded from:<br class="">
<br class="">
wget <a moz-do-not-send="true"
href="http://ftp.ucar.edu/" class="">ftp.ucar.edu</a>:/pub/scd/haley/tas_mon_1961-1990_rectilinear_grid_2D.nc<br
class="">
<br class="">
The rotated grid actually doesn't look
that "rotated", because the center<br
class="">
lat/lon actually ends up being 0.0. But,
hopefully you can use the<br class="">
"unrot_lat" and "unrot_lon" functions to
generate your own 2D lat/lon<br class="">
arrays.<br class="">
<br class="">
--Mary<br class="">
<br class="">
<br class="">
On Mon, Nov 30, 2015 at 1:31 PM, Guido
Cioni <<a moz-do-not-send="true"
href="mailto:guidocioni@gmail.com"
class="">guidocioni@gmail.com</a>>
wrote:<br class="">
<blockquote type="cite" class=""><br
class="">
I don't have the original 2D lat/lon
values, that's the problem. However,<br
class="">
your script won't take into
consideration the fact that coordinates
are<br class="">
rotated, right? My rlon spans from
approximately 340 to 392 degrees, while<br
class="">
rlat from - 10 to +22.. Of course these
are not the real coordinates to be<br
class="">
used for plotting the map, since they
are expressed in the rotated<br
class="">
framework. Do you see what I mean?<br
class="">
I would like to provide you with the
data file but is fairly big (gigs)<br
class="">
<br class="">
Guido,<br class="">
<br class="">
I looked at your script further, and I
think the issue is with the map<br
class="">
corners you've selected. You are using
the 1D rotated coordinate arrays to<br
class="">
choose the corners, but this is likely
not correct. What you really need are<br
class="">
the original 2D lat/lon values, as the
two examples illustrated, but I don't<br
class="">
see that you have this information on
the file.<br class="">
<br class="">
Did you try plotting the data using the
coordinate arrays? I've created a<br
class="">
script for you to try, although it's
untested because I don't have your data<br
class="">
file.<br class="">
<br class="">
Thanks,<br class="">
<br class="">
--Mary<br class="">
<br class="">
<br class="">
On Mon, Nov 30, 2015 at 11:45 AM, Guido
Cioni <<a moz-do-not-send="true"
href="mailto:guidocioni@gmail.com"
class="">guidocioni@gmail.com</a>><br
class="">
wrote:<br class="">
<blockquote type="cite" class=""><br
class="">
Sure, here it is. I think that the
problem is that ncl is expecting 2-D<br
class="">
latitudes and longitudes while I have
1-D rlon and rlat..<br class="">
<br class="">
Yes I tried commenting the centers.<br
class="">
<br class="">
m300382@mlogin103% ncl_filedump
complete.nc<br class="">
Copyright (C) 1995-2015 - All Rights
Reserved<br class="">
University Corporation for Atmospheric
Research<br class="">
NCAR Command Language Version 6.3.0<br
class="">
The use of this software is governed
by a License Agreement.<br class="">
See <a moz-do-not-send="true"
href="http://www.ncl.ucar.edu/"
class="">http://www.ncl.ucar.edu/</a>
for more details.<br class="">
<br class="">
Variable: f<br class="">
Type: file<br class="">
filename: complete<br class="">
path: complete.nc<br class="">
file global attributes:<br class="">
CDI : Climate Data Interface
version 1.4.7<br class="">
(<a moz-do-not-send="true"
href="http://code.zmaw.de/projects/cdi"
class="">http://code.zmaw.de/projects/cdi</a>)<br
class="">
Conventions : CF-1.0<br class="">
history : Fri Nov 27 13:33:35
2015: cdo -f nc copy<br class="">
2014011700_000.grib2
2014011700_001.grib2
2014011700_002.grib2<br class="">
2014011700_003.grib2
2014011700_004.grib2
2014011700_005.grib2<br class="">
2014011700_006.grib2
2014011700_007.grib2
2014011700_008.grib2<br class="">
2014011700_009.grib2
2014011700_010.grib2
2014011700_011.grib2<br class="">
2014011700_012.grib2
2014011700_013.grib2
2014011700_014.grib2<br class="">
2014011700_015.grib2
2014011700_016.grib2
2014011700_017.grib2<br class="">
2014011700_018.grib2
2014011700_019.grib2
2014011700_020.grib2<br class="">
2014011700_021.grib2
2014011700_022.grib2
2014011700_023.grib2<br class="">
2014011700_024.grib2
2014011700_025.grib2
2014011700_026.grib2<br class="">
2014011700_027.grib2
2014011700_028.grib2
2014011700_029.grib2<br class="">
2014011700_030.grib2
2014011700_031.grib2
2014011700_032.grib2<br class="">
2014011700_033.grib2
2014011700_034.grib2
2014011700_035.grib2<br class="">
2014011700_036.grib2
2014011700_037.grib2
2014011700_038.grib2<br class="">
2014011700_039.grib2
2014011700_040.grib2
2014011700_041.grib2<br class="">
2014011700_042.grib2
2014011700_043.grib2
2014011700_044.grib2<br class="">
2014011700_045.grib2
2014011700_046.grib2
2014011700_047.grib2<br class="">
CDO : Climate Data Operators
version 1.4.7<br class="">
(<a moz-do-not-send="true"
href="http://code.zmaw.de/projects/cdo"
class="">http://code.zmaw.de/projects/cdo</a>)<br
class="">
dimensions:<br class="">
ncl_scalar = 1<br class="">
rlon = 706<br class="">
rlat = 434<br class="">
lev = 20<br class="">
time = 73 // unlimited<br
class="">
variables:<br class="">
double rlon ( rlon )<br class="">
long_name : longitude in
rotated pole grid<br class="">
units : degrees<br
class="">
standard_name :
grid_longitude<br class="">
axis : X<br class="">
<br class="">
double rlat ( rlat )<br class="">
long_name : latitude in
rotated pole grid<br class="">
units : degrees<br
class="">
standard_name :
grid_latitude<br class="">
axis : Y<br class="">
<br class="">
character rotated_pole (
ncl_scalar )<br class="">
grid_mapping_name :
rotated_latitude_longitude<br
class="">
grid_north_pole_latitude :
44.999996<br class="">
grid_north_pole_longitude :
144<br class="">
<br class="">
double lev ( lev )<br class="">
long_name : pressure<br
class="">
units : Pa<br class="">
axis : Z<br class="">
<br class="">
double time ( time )<br class="">
units : hours since
2014-01-17 00:00:00<br class="">
calendar :
proleptic_gregorian<br class="">
<br class="">
float gh ( time, lev, rlat, rlon
)<br class="">
long_name : Geopotential
Height<br class="">
units : gpm<br class="">
code : 5<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
float t ( time, lev, rlat, rlon )<br
class="">
long_name : Temperature<br
class="">
units : K<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
float u ( time, lev, rlat, rlon )<br
class="">
long_name : U velocity<br
class="">
units : m s**-1<br
class="">
code : 2<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
float v ( time, lev, rlat, rlon )<br
class="">
long_name : V velocity<br
class="">
units : m s**-1<br
class="">
code : 3<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
float w ( time, lev, rlat, rlon )<br
class="">
long_name : Vertical
velocity<br class="">
units : Pa s**-1<br
class="">
code : 8<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
float pv ( time, lev, rlat, rlon
)<br class="">
long_name : Potential
vorticity<br class="">
units : K m**2 kg**-1
s**-1<br class="">
code : 14<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
float mterh ( time, rlat, rlon )<br
class="">
long_name : Model terrain
height<br class="">
units : m<br class="">
code : 7<br class="">
grid_mapping : rotated_pole<br
class="">
<br class="">
Il 30 nov 2015 6:28 PM, "Mary Haley"
<<a moz-do-not-send="true"
href="mailto:haley@ucar.edu"
class="">haley@ucar.edu</a>> ha
scritto:<br class="">
<blockquote type="cite" class=""><br
class="">
Guido,<br class="">
<br class="">
I'm hoping Dave will weigh in here,
but it would help if we could at<br
class="">
least see the output from:<br
class="">
<br class="">
ncl_filedump pv.nc<br class="">
<br class="">
Sometimes the global attributes of
the file will give some valuable<br
class="">
information about the correct map
projection parameters.<br class="">
<br class="">
Did you actually try commenting out
the mpCenterLatF and mpCenterLonF<br
class="">
settings? In the script you
included, these two resources are
still being<br class="">
set.<br class="">
<br class="">
It's possible that the data has
already been rotated for you.<br
class="">
<br class="">
--Mary<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
On Mon, Nov 30, 2015 at 1:33 AM,
Guido Cioni <<a
moz-do-not-send="true"
href="mailto:guidocioni@gmail.com"
class=""><a class="moz-txt-link-abbreviated" href="mailto:guidocioni@gmail.com">guidocioni@gmail.com</a></a>><br
class="">
wrote:<br class="">
<blockquote type="cite" class=""><br
class="">
Hi all,<br class="">
I’m trying to produce a contour
plot with data on a rotated grid.
The<br class="">
original data look like that<br
class="">
<br class="">
<br class="">
Since I have the rotated north
pole latitude (44.999996) and
longitude<br class="">
(144.0) in my data file I used the
second example of the support page
on<br class="">
rotated grid.<br class="">
<br class="">
Res1@tfDoNDCOverlay=True<br
class="">
Res1@mpLimitMode = "Corners"<br
class="">
Res1@mpLeftCornerLatF = lat(0)<br
class="">
Res1@mpLeftCornerLonF = lon(0)<br
class="">
Res1@mpRightCornerLatF =
lat(nlat-1)<br class="">
Res1@mpRightCornerLonF =
lon(nlon-1)<br class="">
Res1@mpCenterLatF = 90 -
north_pole_lat<br class="">
Res1@mpCenterLonF = 180
+ north_pole_lon<br class="">
<br class="">
However I get this result ( I
believe this is Australia):<br
class="">
<br class="">
<br class="">
After several attempts I was able
to plot the data using as bounds
the<br class="">
“real” coordinates of the rotated
projection, without specifying the
center,<br class="">
e.g. :<br class="">
<br class="">
Res1@tfDoNDCOverlay=True<br
class="">
Res1@mpLimitMode = "Corners"<br
class="">
Res1@mpLeftCornerLatF = 30.35458<br
class="">
Res1@mpLeftCornerLonF = -75.14440<br
class="">
Res1@mpRightCornerLatF = 65.1125<br
class="">
Res1@mpRightCornerLonF = 13.87071<br
class="">
<br class="">
But the contour plot is still
slightly shifted to the west as
you can<br class="">
see in this image:<br class="">
<br class="">
<br class="">
I know that in the data file my
coordinates span from<br class="">
rlon={340,392.875} and
rlat={-9.962499,22.512501}.<br
class="">
<br class="">
What am I missing?<br class="">
Is there any additional
documentation on rotated grid?<br
class="">
<br class="">
Attached is my NCL script (data
are too big).<br class="">
<br class="">
<br class="">
<br class="">
Guido Cioni<br class="">
<a moz-do-not-send="true"
href="http://guidocioni.altervista.org/"
class="">http://guidocioni.altervista.org</a><br
class="">
<br class="">
<br class="">
<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a moz-do-not-send="true"
href="mailto:ncl-talk@ucar.edu"
class="">ncl-talk@ucar.edu</a><br
class="">
List instructions, subscriber
options, unsubscribe:<br class="">
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br class="">
<br class="">
</blockquote>
<br class="">
</blockquote>
</blockquote>
<br class="">
</blockquote>
<br class="">
<br class="">
_______________________________________________<br class="">
ncl-talk mailing list<br class="">
<a moz-do-not-send="true"
href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br
class="">
List instructions, subscriber options,
unsubscribe:<br class="">
<a moz-do-not-send="true"
href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk"
class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br
class="">
<br class="">
</blockquote>
<span
id="cid:60183A5E-33D4-4193-9C9D-C234CF85947F@mpi.zmaw.de"
class=""><pv_test.000001.png></span><span
id="cid:3930CFB2-496B-4DFB-A95B-A92099296A41@mpi.zmaw.de" class=""><pv_test.000002.png></span><span
id="cid:BCB155D3-D01A-4156-9EDF-C3E19266EB09@mpi.zmaw.de" class=""><plot_pv-mod.ncl></span></div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Dipl. Geophys. Karin Meier-Fleischer
Visualization, NCL
Application Support
Deutsches Klimarechenzentrum GmbH (DKRZ)
Bundesstrasse 45a - D20146 Hamburg - Germany
Phone: +49 (0)40 460094 126
Fax: +49 (0)40 460094 270
E-Mail: <a class="moz-txt-link-abbreviated" href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>
URL: <a class="moz-txt-link-abbreviated" href="http://www.dkrz.de">www.dkrz.de</a>
Geschäftsführer: Prof. Dr. Thomas Ludwig
Sitz der Gesellschaft: Hamburg
Amtsgericht Hamburg HRB 39784
</pre>
</body>
</html>