<div dir="ltr"><div>Dear NCL users</div><div>I try to flip longitude from -180 - 180 degrees to 0 - 360</div><div><br></div><div><pre style="margin-top:0px;margin-bottom:0px;padding:0px;font-size:13.3333px;line-height:12pt;font-family:courier;border-style:solid;border-width:0px 0px 15px;border-color:transparent;color:rgb(0,0,0)">function lonFlip (
                x  : numeric   
        )</pre></div><div>doesnt work.</div><div>gsnaddcyclic doesnt work.</div><div>neither "longitude = longitude + 360"</div><div><br></div><div>what can I try?</div><div>Many thanks.</div><div><br></div><div><br></div>Variable: waveheight<br>Type: short<br>Total Size: 1684122 bytes<br>            842061 values<br>Number of Dimensions: 2<br>Dimensions and sizes:    [latitude | 1501] x [longitude | 561]<br>Coordinates: <br>            latitude: [43.3..45.8]<br>            longitude: [-1.9..-0.5]<br>Number Of Attributes: 9<br>  time :   11704.33333333333<br>  long_name :       significant height of wind and swell waves<br>  standard_name :  sea_surface_wave_significant_height<br>  units : m<br>  _FillValue :      -32767<br>  scale_factor :       0.002<br>  add_offset :   0<br>  valid_min :      0<br>  valid_max :       32000<br></div>