Skip to content

Commit

Permalink
s/WCMP 2/WCMP2/g
Browse files Browse the repository at this point in the history
  • Loading branch information
tomkralidis committed Jun 9, 2024
1 parent b17437a commit df4c4b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ pywcmp provides validation and quality assessment capabilities for the [WMO
WIS](https://community.wmo.int/activity-areas/wis/wis-overview) Core Metadata
Profile (WCMP).

- validation against [WCMP 2 (draft)](https://github.com/wmo-im/wcmp2), specifically [Annex A: Conformance Class Abstract Test Suite](https://wmo-im.github.io/wcmp2/standard/wcmp2-DRAFT.html#_conformance_class_abstract_test_suite_normative), implementing an executable test suite against the ATS
- validation against [WCMP2 (draft)](https://github.com/wmo-im/wcmp2), specifically [Annex A: Conformance Class Abstract Test Suite](https://wmo-im.github.io/wcmp2/standard/wcmp2-DRAFT.html#_conformance_class_abstract_test_suite_normative), implementing an executable test suite against the ATS
- quality assessement against the [WCMP Key Performance Indicators](https://community.wmo.int/activity-areas/wis/wis-metadata-kpis)

## Installation
Expand Down Expand Up @@ -47,13 +47,13 @@ pywcmp bundle sync

# abstract test suite

# validate WCMP 2 metadata against abstract test suite (file on disk)
# validate WCMP2 metadata against abstract test suite (file on disk)
pywcmp ets validate /path/to/file.json

# validate WCMP 2 metadata against abstract test suite (URL)
# validate WCMP2 metadata against abstract test suite (URL)
pywcmp ets validate https://example.org/path/to/file.json

# validate WCMP 2 metadata against abstract test suite (URL), but turn JSON Schema validation off
# validate WCMP2 metadata against abstract test suite (URL), but turn JSON Schema validation off
pywcmp ets validate https://example.org/path/to/file.json --no-fail-on-schema-validation

# adjust debugging messages (CRITICAL, ERROR, WARNING, INFO, DEBUG) to stdout
Expand Down
2 changes: 1 addition & 1 deletion pywcmp/ets.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def validate(ctx, file_or_url, logfile, verbosity,
raise click.ClickException(err)
ctx.exit(1)

click.echo('Detected WCMP 2 discovery metadata')
click.echo('Detected WCMP2 discovery metadata')
ts = WMOCoreMetadataProfileTestSuite2(data)
try:
results = ts.run_tests(fail_on_schema_validation)
Expand Down

0 comments on commit df4c4b6

Please sign in to comment.