Skip to content

Add support for reading netCDF NC_STRING attributes #61

@huard

Description

@huard

Addressing a Problem?

Raven fails with

NetCDF error [NetCDF: Attempt to convert between text & numbers] occured.

when trying to read netCDF attributes stored as strings (NC_STRING). It can only read fixed width char arrays (NC_CHAR), using nc_get_att_text.

Potential Solution

Ideally, Raven would be able to read variable length strings commonly used in the NETCDF4 format with nc_get_att_string, but this requires a refactor above my skill level.

Additional context

No response

Contribution

  • I would be willing/able to open a Pull Request to contribute this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions