[ncl-talk] Sequences of values

Kiswendsida Hyacinthe GUIGMA karongseba at gmail.com
Fri Mar 23 15:29:30 MDT 2018


Dear NCL users,I have 3D (time,lat,lon) array of temperature from which I would like to keep only sequences (consecutive days) exceeding a certain threshold.  This consist concretely in setting values below the threshold to _FillValue.  The length of sequence is set to 4. So far,  have been able  to set to _FillValu only individual days that exceed the threshold. Then I would be pleased if you could provide me with a method to also set to _FillValue values that are not into sequences of at least 04 days.
Please find attached my data and my code.

Regards

-----------------------------
GUIGMA
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180323/2f2afea3/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: GUIGMA.ncl
Type: application/octet-stream
Size: 1867 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180323/2f2afea3/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ERA-I_1_1_1979-2017_Tmax_Tmin_NTA.nc
Type: application/x-netcdf
Size: 1496796 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180323/2f2afea3/attachment-0001.nc>


More information about the ncl-talk mailing list