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

CDAT creates NetCDF4 files when it should create NetCDF4-classic files #406

Closed
stephenpascoe opened this issue Mar 11, 2014 · 3 comments
Closed
Assignees
Labels
Milestone

Comments

@stephenpascoe
Copy link
Contributor

I believe Cdunif does not support NetCDF4-model features (e.g. unsigned types, groups, structures). If so I would expect it to create NetCDF4-classic files by setting the NC_CLASSIC_MODEL flag when calling nccreate(). Instead it creates a full NetCDF4 file by setting the NC_NETCDF4 flag.

This has confused at least one user who expected to be able to create unsigned integer types using cdms2.

Note the code ref is Packages/cdms2/Src/Cdunifmodule.c:1162

@doutriaux1
Copy link
Contributor

You're right that is probably a good idea.I'll look into it. Also since I'll be tweaking this code. Should we revert the default behaviour to be NetCDF3 files?

@doutriaux1 doutriaux1 added this to the 2.0.0 milestone Mar 27, 2014
@doutriaux1 doutriaux1 self-assigned this Mar 27, 2014
@doutriaux1
Copy link
Contributor

should be fixed in devel branch bug406_cdms2NC4_files_not_classic

@doutriaux1
Copy link
Contributor

merged into master by @aashish24 closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants