YAXArrays.jl icon indicating copy to clipboard operation
YAXArrays.jl copied to clipboard

Index wishlist

Open jcortesr opened this issue 3 years ago • 0 comments

Hi,

on Felix's request, here is a wish list for indexing cubes:

  • For the time axis, can we remove a Date(s) by using -(Date(s))
  • Alternatively can we give it a vector of dates that we wish to keep? Specifying a range does not work as my purpose is to remove February 29...
  • Access the axes by index rather than the value itself, e.g., my_cube[time = 1] would give the first time step
  • ...

Cheers, Jose

jcortesr avatar Sep 22 '22 07:09 jcortesr