Skip to content

Tool that detects fill value issues in a netCDF file #40

@corviday

Description

@corviday

One might give files a once-over with ncdump or ncview before adding them to the database, and make sure that variables have a fill value assigned. However, a fill value attribute visible in ncdump or proper display in ncview are not sufficient to guarantee proper file indexing. An additional tool would be helpful.

Situations that were seriously annoying to resolve, and would be nice to pre-detect:

  • fill value attribute for a packed variable was not packed and has the wrong data type
  • fill value was not declared when the variable was created, but later a fill value attribute was added with ncattd or something. Most tools will handle this retroactive adjustment just fine, but not index_netcdf.

Another option might be to have index_netcdf warn you if the detected minimum or maximum is the same as the fill value, or to modify var_range in nchelpers somehow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions