Closed joshua-hampton closed 6 days ago
Returning to this after a while...
For make_specs.py
to work:
_common/global-attributes.tsv
:
_vocabularies/instrument-name-and-descriptors.tsv
to _vocabularies/ncas-instrument-name-and-descriptors.tsv
Most json files will now be using the create-cvs command, with the exception of community instruments (any community instruments are included in the list for ncas instruments, v1 makes no distinction) and voc-concentration, which has a "wildcard" variable.
After jsons are made, need to change the "compliance_checking_rules" for deployment_mode in the global-attrs json files to "one of: land, sea, air", and remove any "null" values.
make_specs.py
should now work with these json files to create specs for ncas-amof-1.0.0
There are a number of differences between NCAS-AMF-1.0 and NCAS-AMF-2.0.0 that cause a few problems for checksit
make_specs.py
was expecting - this includesAMF_product.json
andAMF_product_common_global-attributes_<deployment_mode>.json
make_specs.py
, however it also used the list of products in the product json file to know which specs to then makecheck.py
is still putting it in as a spec to useSlightly related although not yet important:
I think there are a couple of things that need doing in response:
make_specs.py
functions and defining required specs incheck.py
are needed to check for file existence