<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">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" height="468" width="677" apple-width="yes" apple-height="yes" src="cid:D9B370F2-807D-41EF-8025-FE5AD31DC14A@mpi.zmaw.de" class=""><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 face="Menlo" style="font-size: 9px;" class="">Variable No. 0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> rlat:</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""><br class=""></font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -9.962 -9.887 -9.812 -9.737 -9.662 -9.587</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -9.512 -9.437 -9.362 -9.287 -9.212 -9.137</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -9.062 -8.987 -8.912 -8.837 -8.762 -8.687</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -8.612 -8.537 -8.462 -8.387 -8.312 -8.237</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -8.162 -8.087 -8.012 -7.937 -7.862 -7.787</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -7.712 -7.637 -7.562 -7.487 -7.412 -7.337</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -7.262 -7.187 -7.112 -7.037 -6.962 -6.887</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -6.812 -6.737 -6.662 -6.587 -6.512 -6.437</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -6.362 -6.287 -6.212 -6.137 -6.062 -5.987</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -5.912 -5.837 -5.762 -5.687 -5.612 -5.537</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -5.462 -5.387 -5.312 -5.237 -5.162 -5.087</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -5.012 -4.937 -4.862 -4.787 -4.712 -4.637</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -4.562 -4.487 -4.412 -4.337 -4.262 -4.187</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -4.112 -4.037 -3.962 -3.887 -3.812 -3.737</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -3.662 -3.587 -3.512 -3.437 -3.362 -3.287</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -3.212 -3.137 -3.062 -2.987 -2.912 -2.837</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -2.762 -2.687 -2.612 -2.537 -2.462 -2.387</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -2.312 -2.237 -2.162 -2.087 -2.012 -1.937</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -1.862 -1.787 -1.712 -1.637 -1.562 -1.487</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -1.412 -1.337 -1.262 -1.187 -1.112 -1.037</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -0.9625 -0.8875 -0.8125 -0.7375 -0.6625 -0.5875</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -0.5125 -0.4375 -0.3625 -0.2875 -0.2125 -0.1375</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> -0.6250E-01 0.1250E-01 0.8750E-01 0.1625 0.2375 0.3125</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 0.3875 0.4625 0.5375 0.6125 0.6875 0.7625</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 0.8375 0.9125 0.9875 1.063 1.138 1.213</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 1.288 1.363 1.438 1.513 1.588 1.663</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 1.738 1.813 1.888 1.963 2.038 2.113</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 2.188 2.263 2.338 2.413 2.488 2.563</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 2.638 2.713 2.788 2.863 2.938 3.013</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 3.088 3.163 3.238 3.313 3.388 3.463</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 3.538 3.613 3.688 3.763 3.838 3.913</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 3.988 4.063 4.138 4.213 4.288 4.363</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 4.438 4.513 4.588 4.663 4.738 4.813</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 4.888 4.963 5.038 5.113 5.188 5.263</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 5.338 5.413 5.488 5.563 5.638 5.713</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 5.788 5.863 5.938 6.013 6.088 6.163</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 6.238 6.313 6.388 6.463 6.538 6.613</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 6.688 6.763 6.838 6.913 6.988 7.063</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 7.138 7.213 7.288 7.363 7.438 7.513</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 7.588 7.663 7.738 7.813 7.888 7.963</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 8.038 8.113 8.188 8.263 8.338 8.413</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 8.488 8.563 8.638 8.713 8.788 8.863</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 8.938 9.013 9.088 9.163 9.238 9.313</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 9.388 9.463 9.538 9.613 9.688 9.763</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 9.838 9.913 9.988 10.06 10.14 10.21</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 10.29 10.36 10.44 10.51 10.59 10.66</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 10.74 10.81 10.89 10.96 11.04 11.11</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 11.19 11.26 11.34 11.41 11.49 11.56</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 11.64 11.71 11.79 11.86 11.94 12.01</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 12.09 12.16 12.24 12.31 12.39 12.46</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 12.54 12.61 12.69 12.76 12.84 12.91</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 12.99 13.06 13.14 13.21 13.29 13.36</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 13.44 13.51 13.59 13.66 13.74 13.81</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 13.89 13.96 14.04 14.11 14.19 14.26</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 14.34 14.41 14.49 14.56 14.64 14.71</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 14.79 14.86 14.94 15.01 15.09 15.16</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 15.24 15.31 15.39 15.46 15.54 15.61</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 15.69 15.76 15.84 15.91 15.99 16.06</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 16.14 16.21 16.29 16.36 16.44 16.51</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 16.59 16.66 16.74 16.81 16.89 16.96</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 17.04 17.11 17.19 17.26 17.34 17.41</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 17.49 17.56 17.64 17.71 17.79 17.86</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 17.94 18.01 18.09 18.16 18.24 18.31</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 18.39 18.46 18.54 18.61 18.69 18.76</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 18.84 18.91 18.99 19.06 19.14 19.21</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 19.29 19.36 19.44 19.51 19.59 19.66</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 19.74 19.81 19.89 19.96 20.04 20.11</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 20.19 20.26 20.34 20.41 20.49 20.56</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 20.64 20.71 20.79 20.86 20.94 21.01</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 21.09 21.16 21.24 21.31 21.39 21.46</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 21.54 21.61 21.69 21.76 21.84 21.91</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 21.99 22.06 22.14 22.21 22.29 22.36</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 22.44 22.51</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""><br class=""></font></div><div class=""><font face="Menlo" style="font-size: 9px;" class="">Variable No. 1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> rlon:</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""><br class=""></font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 340.0 340.1 340.1 340.2 340.3 340.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 340.4 340.5 340.6 340.7 340.8 340.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 340.9 341.0 341.1 341.1 341.2 341.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 341.4 341.4 341.5 341.6 341.6 341.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 341.8 341.9 341.9 342.0 342.1 342.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 342.2 342.3 342.4 342.5 342.6 342.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 342.7 342.8 342.9 342.9 343.0 343.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 343.1 343.2 343.3 343.4 343.4 343.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 343.6 343.7 343.8 343.8 343.9 344.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 344.1 344.1 344.2 344.3 344.4 344.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 344.5 344.6 344.6 344.7 344.8 344.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 344.9 345.0 345.1 345.2 345.2 345.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 345.4 345.5 345.6 345.6 345.7 345.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 345.9 345.9 346.0 346.1 346.1 346.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 346.3 346.4 346.4 346.5 346.6 346.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 346.8 346.8 346.9 347.0 347.1 347.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 347.2 347.3 347.4 347.4 347.5 347.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 347.6 347.7 347.8 347.9 347.9 348.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 348.1 348.2 348.2 348.3 348.4 348.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 348.6 348.6 348.7 348.8 348.9 348.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 349.0 349.1 349.1 349.2 349.3 349.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 349.4 349.5 349.6 349.7 349.8 349.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 349.9 350.0 350.1 350.1 350.2 350.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 350.4 350.4 350.5 350.6 350.6 350.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 350.8 350.9 350.9 351.0 351.1 351.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 351.2 351.3 351.4 351.5 351.6 351.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 351.7 351.8 351.9 351.9 352.0 352.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 352.1 352.2 352.3 352.4 352.4 352.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 352.6 352.7 352.8 352.8 352.9 353.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 353.1 353.1 353.2 353.3 353.4 353.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 353.5 353.6 353.6 353.7 353.8 353.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 353.9 354.0 354.1 354.2 354.2 354.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 354.4 354.5 354.6 354.6 354.7 354.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 354.9 354.9 355.0 355.1 355.1 355.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 355.3 355.4 355.4 355.5 355.6 355.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 355.8 355.8 355.9 356.0 356.1 356.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 356.2 356.3 356.4 356.4 356.5 356.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 356.6 356.7 356.8 356.9 356.9 357.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 357.1 357.2 357.2 357.3 357.4 357.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 357.6 357.6 357.7 357.8 357.9 357.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 358.0 358.1 358.1 358.2 358.3 358.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 358.4 358.5 358.6 358.7 358.8 358.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 358.9 359.0 359.1 359.1 359.2 359.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 359.4 359.4 359.5 359.6 359.6 359.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 359.8 359.9 359.9 360.0 360.1 360.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 360.2 360.3 360.4 360.5 360.6 360.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 360.7 360.8 360.9 360.9 361.0 361.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 361.1 361.2 361.3 361.4 361.4 361.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 361.6 361.7 361.8 361.8 361.9 362.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 362.1 362.1 362.2 362.3 362.4 362.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 362.5 362.6 362.6 362.7 362.8 362.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 362.9 363.0 363.1 363.2 363.2 363.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 363.4 363.5 363.6 363.6 363.7 363.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 363.9 363.9 364.0 364.1 364.1 364.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 364.3 364.4 364.4 364.5 364.6 364.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 364.8 364.8 364.9 365.0 365.1 365.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 365.2 365.3 365.4 365.4 365.5 365.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 365.6 365.7 365.8 365.9 365.9 366.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 366.1 366.2 366.2 366.3 366.4 366.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 366.6 366.6 366.7 366.8 366.9 366.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 367.0 367.1 367.1 367.2 367.3 367.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 367.4 367.5 367.6 367.7 367.8 367.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 367.9 368.0 368.1 368.1 368.2 368.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 368.4 368.4 368.5 368.6 368.6 368.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 368.8 368.9 368.9 369.0 369.1 369.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 369.2 369.3 369.4 369.5 369.6 369.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 369.7 369.8 369.9 369.9 370.0 370.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 370.1 370.2 370.3 370.4 370.4 370.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 370.6 370.7 370.8 370.8 370.9 371.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 371.1 371.1 371.2 371.3 371.4 371.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 371.5 371.6 371.6 371.7 371.8 371.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 371.9 372.0 372.1 372.2 372.2 372.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 372.4 372.5 372.6 372.6 372.7 372.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 372.9 372.9 373.0 373.1 373.1 373.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 373.3 373.4 373.4 373.5 373.6 373.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 373.8 373.8 373.9 374.0 374.1 374.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 374.2 374.3 374.4 374.4 374.5 374.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 374.6 374.7 374.8 374.9 374.9 375.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 375.1 375.2 375.2 375.3 375.4 375.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 375.6 375.6 375.7 375.8 375.9 375.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 376.0 376.1 376.1 376.2 376.3 376.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 376.4 376.5 376.6 376.7 376.8 376.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 376.9 377.0 377.1 377.1 377.2 377.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 377.4 377.4 377.5 377.6 377.6 377.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 377.8 377.9 377.9 378.0 378.1 378.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 378.2 378.3 378.4 378.5 378.6 378.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 378.7 378.8 378.9 378.9 379.0 379.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 379.1 379.2 379.3 379.4 379.4 379.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 379.6 379.7 379.8 379.8 379.9 380.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 380.1 380.1 380.2 380.3 380.4 380.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 380.5 380.6 380.6 380.7 380.8 380.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 380.9 381.0 381.1 381.2 381.2 381.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 381.4 381.5 381.6 381.6 381.7 381.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 381.9 381.9 382.0 382.1 382.1 382.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 382.3 382.4 382.4 382.5 382.6 382.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 382.8 382.8 382.9 383.0 383.1 383.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 383.2 383.3 383.4 383.4 383.5 383.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 383.6 383.7 383.8 383.9 383.9 384.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 384.1 384.2 384.2 384.3 384.4 384.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 384.6 384.6 384.7 384.8 384.9 384.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 385.0 385.1 385.1 385.2 385.3 385.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 385.4 385.5 385.6 385.7 385.8 385.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 385.9 386.0 386.1 386.1 386.2 386.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 386.4 386.4 386.5 386.6 386.6 386.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 386.8 386.9 386.9 387.0 387.1 387.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 387.2 387.3 387.4 387.5 387.6 387.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 387.7 387.8 387.9 387.9 388.0 388.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 388.1 388.2 388.3 388.4 388.4 388.5</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 388.6 388.7 388.8 388.8 388.9 389.0</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 389.1 389.1 389.2 389.3 389.4 389.4</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 389.5 389.6 389.6 389.7 389.8 389.9</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 389.9 390.0 390.1 390.2 390.2 390.3</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 390.4 390.5 390.6 390.6 390.7 390.8</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 390.9 390.9 391.0 391.1 391.1 391.2</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 391.3 391.4 391.4 391.5 391.6 391.7</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 391.8 391.8 391.9 392.0 392.1 392.1</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 392.2 392.3 392.4 392.4 392.5 392.6</font></div><div class=""><font face="Menlo" style="font-size: 9px;" class=""> 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" height="646" width="677" apple-width="yes" apple-height="yes" src="cid:234686DB-B4AA-4625-91DC-E5A77FDD94AD@mpi.zmaw.de" class=""></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" height="457" width="677" apple-width="yes" apple-height="yes" src="cid:161D3B0D-62C5-48E1-8813-BA43CDA0224D@mpi.zmaw.de" class=""></div><div class=""><br class="Apple-interchange-newline">Guido Cioni</div><div style="font-size: 14px; font-family: Helvetica;" class=""><a 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 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=utf-8" 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 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 href="mailto:dbrown@ucar.edu" class="">dbrown@ucar.edu</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 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="">haley@ucar.edu</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 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 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 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 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 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 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 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 href="mailto:guidocioni@gmail.com" class="">guidocioni@gmail.com</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 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 href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<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 href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">List instructions, subscriber options, unsubscribe:<br class=""><a 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></body></html>