cioos-siooc / ocean-data-parser

A Python package for parsing oceanographic proprietary data formats to xarray Dataset.
https://cioos-siooc.github.io/ocean-data-parser/
GNU General Public License v3.0
4 stars 1 forks source link

run ioos compliance checker on test files #24

Open JessyBarrette opened 1 year ago

JessyBarrette commented 1 year ago

Ideally we would want to make the ouput of the parser at least compliant to:

  1. CF 1.6
  2. ACDD 1.3

Integrate to pytest

JessyBarrette commented 5 months ago

Compliance-checker and related dependancy cf-units seems incompatible with apple M1 chips, since the following error is generated on import:

.venv/lib/python3.11/site-packages/cf_units/__init__.py:23: in <module>
    from cf_units import _udunits2 as _ud
E   ImportError: dlopen(/Users/jessybarrette/repo/ocean-data-parser-start/.venv/lib/python3.11/site-packages/cf_units/_udunits2.cpython-311-darwin.so, 0x0002): symbol not found in flat namespace '_ut_ignore'
=============================== warnings summary ===============================
JessyBarrette commented 3 months ago

Looks like we can potentially use the ioos compliance checker api

https://github.com/ioos/compliance-checker-web/wiki/API