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

Is the pseudo dimension check required? #115

Open
3 tasks
truth-quark opened this issue Sep 27, 2024 · 0 comments
Open
3 tasks

Is the pseudo dimension check required? #115

truth-quark opened this issue Sep 27, 2024 · 0 comments

Comments

@truth-quark
Copy link
Collaborator

cubewrite() has this block of code:

# Check whether any of the coordinates is a pseudo-dimension with integer values and
# if so, reset to int32 to prevent problems with possible later conversion to netCDF3
for coord in cube.coords():
if coord.points.dtype == np.int64:
coord.points = coord.points.astype(np.int32)

Earlier project discussions mentioned dropping netCDF3 support.

Open questions:

  • Is this code block required for any non netCDF3 support?
  • Are there other requirements to down convert coord points from 64 to 32 bit integers?
  • Can the code block be deleted?
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