[ncl-talk] Regrid - Longitude

R. Lucas rousslucas at gmail.com
Mon Jan 17 22:22:28 MST 2022


Dear NCL users
I try to flip longitude from -180 - 180 degrees to 0 - 360

function lonFlip (
		x  : numeric
	)

doesnt work.
gsnaddcyclic doesnt work.
neither "longitude = longitude + 360"

what can I try?
Many thanks.


Variable: waveheight
Type: short
Total Size: 1684122 bytes
            842061 values
Number of Dimensions: 2
Dimensions and sizes: [latitude | 1501] x [longitude | 561]
Coordinates:
            latitude: [43.3..45.8]
            longitude: [-1.9..-0.5]
Number Of Attributes: 9
  time : 11704.33333333333
  long_name : significant height of wind and swell waves
  standard_name : sea_surface_wave_significant_height
  units : m
  _FillValue : -32767
  scale_factor : 0.002
  add_offset : 0
  valid_min : 0
  valid_max : 32000
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.ucar.edu/pipermail/ncl-talk/attachments/20220118/1b77a429/attachment.html>


More information about the ncl-talk mailing list