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

Change "_control_vocabulary_file" to "_controlled_vocabulary_file" in user input file. #582

Merged
merged 1 commit into from
Mar 2, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Test/CMOR_input_TestTables.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

"#note": " **** The following are set correctly for CMIP6 and should not normally need editing",

"_control_vocabulary_file": "Tables/CMIP6_CV.json",
"_controlled_vocabulary_file": "Tables/CMIP6_CV.json",
"_AXIS_ENTRY_FILE": "Tables/CMIP6_coordinate.json",
"_FORMULA_VAR_FILE": "Tables/CMIP6_formula_terms.json",
"_cmip6_option": "CMIP6",
Expand Down
2 changes: 1 addition & 1 deletion Test/CMOR_input_example.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

"#note": " **** The following are set correctly for CMIP6 and should not normally need editing",

"_control_vocabulary_file": "CMIP6_CV.json",
"_controlled_vocabulary_file": "CMIP6_CV.json",
"_AXIS_ENTRY_FILE": "CMIP6_coordinate.json",
"_FORMULA_VAR_FILE": "CMIP6_formula_terms.json",
"_cmip6_option": "CMIP6",
Expand Down
2 changes: 1 addition & 1 deletion Test/baddirectory.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "CMIP6_CV.json",
"_controlled_vocabulary_file": "CMIP6_CV.json",
"_cmip6_option": "CMIP6",

"tracking_prefix": "hdl:21.14100",
Expand Down
2 changes: 1 addition & 1 deletion Test/cmor_speed_and_compression.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "CMIP6_CV.json",
"_controlled_vocabulary_file": "CMIP6_CV.json",
"_cmip6_option": "CMIP6",

"activity_id": "CMIP",
Expand Down
2 changes: 1 addition & 1 deletion Test/common_user_inputNOBOUNDS.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "Tables/CMIP6_CV.json",
"_controlled_vocabulary_file": "Tables/CMIP6_CV.json",
"_AXIS_ENTRY_FILE": "CMIP6_coordinateTESTNOBOUNDS.json",
"_FORMULA_VAR_FILE": "Tables/CMIP6_formula_terms.json",
"_cmip6_option": "CMIP6",
Expand Down
2 changes: 1 addition & 1 deletion Test/common_user_input_NOID.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "CMIP6_CV.json",
"_controlled_vocabulary_file": "CMIP6_CV.json",
"_AXIS_ENTRY_FILE": "CMIP6_coordinate.json",
"_FORMULA_VAR_FILE": "CMIP6_formula_terms.json",
"_cmip6_option": "CMIP6",
Expand Down
2 changes: 1 addition & 1 deletion Test/common_user_input_hier.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "CMIP6_CV_hierarchical.json",
"_controlled_vocabulary_file": "CMIP6_CV_hierarchical.json",
"_AXIS_ENTRY_FILE": "CMIP6_coordinate.json",
"_FORMULA_VAR_FILE": "CMIP6_formula_terms.json",
"_cmip6_option": "CMIP6",
Expand Down
2 changes: 1 addition & 1 deletion Test/metadata-template.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "CMIP6_CV.json",
"_controlled_vocabulary_file": "CMIP6_CV.json",
"_cmip6_option": "CMIP6",

"activity_id": "CMIP",
Expand Down
2 changes: 1 addition & 1 deletion Test/test_python_CMIP6_CV_badsourcetypeCHEMAER.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"_control_vocabulary_file": "CMIP6_CV.json",
"_controlled_vocabulary_file": "CMIP6_CV.json",
"_cmip6_option": "CMIP6",

"tracking_prefix": "hdl:21.14100",
Expand Down
2 changes: 1 addition & 1 deletion cmip6-cmor-tables
2 changes: 1 addition & 1 deletion include/cmor.h
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,7 @@
#define GLOBAL_ATT_TITLE_MSG "%s output prepared for %s"
#define GLOBAL_ATT_EXTERNAL_VAR "external_variables"
#define GLOBAL_ATT_MIP_ERA "mip_era"
#define GLOBAL_CV_FILENAME GLOBAL_INTERNAL"control_vocabulary_file"
#define GLOBAL_CV_FILENAME GLOBAL_INTERNAL"controlled_vocabulary_file"
#define GLOBAL_IS_CMIP6 GLOBAL_INTERNAL"cmip6_option"

#define NO_PARENT "no parent"
Expand Down