Skip to content
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

Cross section function and categorical data #20

Open
mreissuf opened this issue Dec 17, 2021 · 0 comments
Open

Cross section function and categorical data #20

mreissuf opened this issue Dec 17, 2021 · 0 comments

Comments

@mreissuf
Copy link

I noticed something funny when extracting cross sections diagonally through MuRAT outputs using the cross sections function. I essentially have 3 data arrays with the same grid, two arrays are physical properties and one is categorial. If I extract cross sections from an uneven latitude (eg. -2.81), the function changes the values inside the categorial array from integers (-5,-4,-3-,-2,-1) to floating numbers and then paraview cannot read it as categorial. This does not happen when cutting from an even latitude point (e.g. -2.82). It does also not happen when extracting cross sections in depth.

Possible fix: give wanted output (floating numbers, integers) as input in the function?

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

No branches or pull requests

1 participant