[ncl-talk] Feature request: Negative indexes

Alan Brammer abrammer at albany.edu
Tue May 10 14:41:20 MDT 2016


Not sure if this has been brought up before but I’d really like the ability to fetch the last index of an array using x(-1), or similarly the last n of the array x(-n:) 

Being in a mostly javascript/python world outside of NCL negative indexes have been quite useful.  

Any plans or possibility of this becoming a thing, or are there downsides I’m not thinking of?

Thanks, 

Alan


More information about the ncl-talk mailing list