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

How do I get format type #49

Closed
Weiming-Hu opened this issue Aug 20, 2017 · 3 comments
Closed

How do I get format type #49

Weiming-Hu opened this issue Aug 20, 2017 · 3 comments

Comments

@Weiming-Hu
Copy link

It looks like there is no getFormat as in NetCDF 4.4.1

So can I do it in NetCD 4.3?

Thank you

@DennisHeimbigner
Copy link
Collaborator

You man have to use the C function nc_inq_format directly.

@Weiming-Hu
Copy link
Author

Thank you.

@Weiming-Hu
Copy link
Author

A follow up question.

I'm reading a NetCDF file with unknown structure, and I'd like to read the values of the attribtues. I'm aware that I can use getAttType to get the type, and then allocate memory. But what would the proper way to do this automatically. Do I need to write a template?

Thank you.

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

2 participants