xoa.cf.get_cf_specs_matching_score
- xoa.cf.get_cf_specs_matching_score(ds, cfspecs)[source]
Get the matching score between ds data_vars and coord names and a CFSpecs instance names
- Parameters:
ds (xarray.Dataset, xarray.DataArray) –
cf_specs (CFSpecs) –
- Returns:
float – A percentage of the number of identified data arrays vs the total number of data arrays