-
Notifications
You must be signed in to change notification settings - Fork 281
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New syntax for Cube extraction #605
Comments
Hi @koldunovn, I’m just reviewing some old issues to see what still needs addressing. It looks like the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I just recently begin to use Iris, and enjoy it very much. It has a lot of promising features. However your syntax for "Cube extraction" just kill all the fun. Cutting different regions and periods from the data is very basic operation during data analysis, and doing this with a lot of lambda functions is neither fast, nor convenient in practice. If for cutting simple box from my data I have to do something like this:
it makes me very very sad.
I just wounder if you might be interested in discussion about how to do this in a better way. I see that there were some suggestions made in Issue #77 , but I think this topic deserves it's own ticket :)
Let me start with my humble suggestions, so that you have something to criticize :) I would love to have syntax similar to Pandas, where you can explicitly use values of your dimensions to limit the data. Something like:
This, as you might notice, resembles also the Ferret syntax, that I believe is very convenient, and would be useful to have. I understand that the cube can have more dimensions, but having this four covered would be already a great deal. I do not suggest to replace existent syntax with this one, but only to create additional method for the cube class (e.g. ext), that will allow this type of syntax for extraction of the region.
What do you think?
The text was updated successfully, but these errors were encountered: