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

Define basic standards of CEDA checks for NC and BADC CSV formats #6

Open
agstephens opened this issue Apr 5, 2022 · 0 comments
Open
Assignees

Comments

@agstephens
Copy link
Member

agstephens commented Apr 5, 2022

@wendygarland @gap736uk : Please add to the following bullets for the NC and BADC CSV data format basic checks...

NetCDF basic checks

  • Conventions: should match a list of known conventions and their versions (optionally more than one convention adhered to)
  • source, creator_name and institution: should be more than 3 characters?
  • All variables: have long_name and units ,
  • All variables: ought to have a standard_name

BADC CSV basic checks

BADC-CSV list of requirements can be read from here: https://archive.ceda.ac.uk/cgi-bin/badccsv/csvchecker

BADC-CSV minumum checks (i.e. basic level of compliance):

  • first line has to be: Conventions,G,BADC-CSV, 1
  • all column metadata elements have long_name attribute - this needs to have 2 elements: <desription>,<unit>
  • len(list of long_names) == len(column header line when split by comma)
  • has data line and last line is end data
  • all lines between data and end data lines have the same number of elements as the number of long_name elements in header section
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

3 participants