You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Many meteorological grids seem to have latitude decreasing. I am constantly forgetting this, and getting garbled results when I use slice(lat1,lat2). I can't think of any use case for which this slice ordering needs to be such a pitfall. Couldn't slice.py be set up to return the indicated interval, no matter which order the arguments are passed?
Would any user have any meaningful analysis fail if this convenience were programmed in to slice.py?
"Indexing axes with monotonic decreasing labels also works, as long as the slice or .loc arguments are also decreasing"
(Forgive a first-timer if this is the wrong place/format for this question. I searched past issues for slice and order and found no existing issue.)
The text was updated successfully, but these errors were encountered:
What is your issue?
Many meteorological grids seem to have latitude decreasing. I am constantly forgetting this, and getting garbled results when I use slice(lat1,lat2). I can't think of any use case for which this slice ordering needs to be such a pitfall. Couldn't slice.py be set up to return the indicated interval, no matter which order the arguments are passed?
Would any user have any meaningful analysis fail if this convenience were programmed in to slice.py?
"Indexing axes with monotonic decreasing labels also works, as long as the slice or .loc arguments are also decreasing"
(Forgive a first-timer if this is the wrong place/format for this question. I searched past issues for slice and order and found no existing issue.)
The text was updated successfully, but these errors were encountered: