Skip to content

Wrong variable type for sector? #57

@TimotheeBrgs

Description

@TimotheeBrgs

In the previous version (2023-12-08), the variable sector had the type int64. and it was fine. Now, in version 2024-04-25, sector has the type string while there is only integer values from 0 to 13 in this variable, if I'm not mistaken.

Below is the CDO error message I get. I guess that sector has the variable ID = 3.
cdf_get_var_double: ncid=65536 varid=3 val[0]=0.000000 Error (cdf_get_var_double): NetCDF: Not a valid data type or _FillValue type mismatch

CDO is fine if I pre-process files with sector dimensions using the command below:
ncap2 -O -s 'sector=int64(sector)' your_file.nc output.nc

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