<div dir="ltr">Hello,<div>I have the problem that I can perfectly plot <i>tice</i> from CICE output (based on <i>aice,</i> I have used one of the special ncl scripts for this purpose), but not anymore after I detrended it (dtrend; along with it using both <span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><i>copy_VarMeta</i> and <i>copy_VarCoord</i> of the original in order to keep the metadata). The plot (attached) looks distorted.</span></div><div><span style="color:rgb(34,34,34);font-family:arial,sans-serif;font-size:small;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline"><br></span></div><div><br></div><div>I think the error is in the <b>lat2d</b> and <b>lon2d</b>, when doing printVarSummary:</div><div><br></div><div><div>Variable: <b>tice</b></div><div>Type: float</div><div>Total Size: 846028800 bytes</div><div>            211507200 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span style="white-space:pre"> </span>[time | 144] x [y | 1020] x [x | 1440]</div><div>Coordinates:</div><div>            time: [727779..736325]</div><div>Number Of Attributes: 8</div><div>  long_name :<span style="white-space:pre">  </span>ice area  (aggregate)</div><div>  units :<span style="white-space:pre">      </span>%</div><div>  coordinates :<span style="white-space:pre">     </span>TLON TLAT</div><div>  _FillValue :<span style="white-space:pre">      </span>1e+30</div><div>  missing_value :<span style="white-space:pre">       </span>1e+30</div><div>  comment :<span style="white-space:pre">     </span>none</div><div>  cell_methods :<span style="white-space:pre"> </span>time: mean</div><div>  time_rep :<span style="white-space:pre">       </span>averaged</div></div><div><br></div><div>and printVarSummary od <i>var_dtrend:</i></div><div><i><br></i></div><div><div>Variable: <b>var_dtrend</b></div><div>Type: float</div><div>Total Size: 846028800 bytes</div><div>            211507200 values</div><div>Number of Dimensions: 3</div><div>Dimensions and sizes:<span style="white-space:pre">        </span>[144] x [1020] x [1440]</div><div>Coordinates:</div><div>Number Of Attributes: 10</div><div>  missing_value :<span style="white-space:pre">   </span>1e+30</div><div><b>  lat2d :<span style="white-space:pre">      </span><ARRAY of 1468800 elements></b></div><div><b>  lon2d :<span style="white-space:pre">        </span><ARRAY of 1468800 elements></b></div><div>  long_name :<span style="white-space:pre">     </span>ice area  (aggregate)</div><div>  units :<span style="white-space:pre">      </span>%</div><div>  coordinates :<span style="white-space:pre">     </span>TLON TLAT</div><div>  comment :<span style="white-space:pre"> </span>none</div><div>  cell_methods :<span style="white-space:pre"> </span>time: mean</div><div>  time_rep :<span style="white-space:pre">       </span>averaged</div><div>  _FillValue :<span style="white-space:pre">       </span>1e+30</div></div><div><br></div><div>lat2d and lon2d are extra listed here again, and I don't know why. I have also tried to add </div><div><div>var_dtrend@lon2d = tlon2d</div><div>var_dtrend@lat2d = tlat2d</div></div><div><br></div><div>but this didn't solve the issue. I also attached the script. </div><div><br></div><div>Is the simplest thing just to interpolate it anyway?</div><div><br></div><div>Thanks, any help appreciated!</div><div>Anne</div></div>

<br>
<div><font style="font-family:Arial,Helvetica,sans-serif" size="2">Nota automatica aggiunta dal sistema di posta.</font></div><div><img src="https://www.unive.it/media/banner_150.jpg"></div>