pydata / pydata/xarray-data

Non CF conforming dataset

Open
#28 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
43
Forks
21
PR merge metrics
No merged PRs in 30d

Description

The file eraint_uvz.nc contains variables which do not conform to CF standard.

Below is the ncdump of the z-variable of dtype int16 but the _FillValue is NaN. According to CF conventions _FillValue should be of same type as its variable.

ncdump:

short z(month, level, latitude, longitude) ;
    z:number_of_significant_digits = 5 ;
    z:units = "m**2 s**-2" ;
    z:scale_factor = -1.7250274674968 ;
    z:long_name = "Geopotential" ;
    z:add_offset = 66825.5 ;
    z:_FillValue = NaN ;
    z:standard_name = "geopotential" ;

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Inspect eraint_uvz.nc with ncdump, starting with the z variable declaration and its _FillValue attribute. Confirm that the dataset conforms to the stated CF requirement by making the fill value match z's int16 type, then verify the resulting metadata.

Written by the indexing model from the issue text.

Assessment

Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.