Skip to content

Conversation

alhom
Copy link
Member

@alhom alhom commented Nov 10, 2020

No description provided.

@ursg
Copy link
Contributor

ursg commented Nov 10, 2020

That cellids parameter is a bit confusing, I would say. If it is -1, it reads the whole dataset and everything should go well. But If you only give it a limited subset, doesn't the argsort with the complete cellID dataset go belly-up?

@alhom
Copy link
Member Author

alhom commented Nov 10, 2020

ooh, true. So I'll disable subset reading from that for now, so the functionality will at least exist for full datasets.

return np.squeeze(orderedData)


def read_variable_shaped(self, name, operator="pass"):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add variable name checking here so that if someone accidentally uses this for a fg_ variable, things won't break. Also, an AMR check would be good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants