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

Extended netcdf export format dictionary to unsigned ints #1152

Merged
merged 6 commits into from
May 30, 2022

Conversation

nvogtvincent
Copy link
Contributor

The format dictionary we set up a while ago was missing unsigned integers + 8-bit integers, so I've just added those.

@erikvansebille
Copy link
Member

Nice addition, but should these types then also be tested in test_particlefile.py?

I.e. add them to the line
https://github.com/OceanParcels/parcels/blob/65e5d595ba4913d08c73b01eae3accc3a9bd57c1/tests/test_particle_file.py#L180

@nvogtvincent
Copy link
Contributor Author

Thanks @erikvansebille - the AoS mode claims not to support 8- or 16-bit integers in JIT. I don't use the AoS mode so am not familiar with why this would be (there was already an exception in the test for bool types) so I've added all the new particle types with an exception for 8- and 16-bit types for AoT mode w/ JIT.

@erikvansebille erikvansebille merged commit 2906a9a into OceanParcels:master May 30, 2022
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.

2 participants