Skip to content

Commit bd93688

Browse files
committed
remove sub_experiment* from req_glob_att (#762)
1 parent a9e50cf commit bd93688

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

TestTables/CMIP7_CV.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,6 @@
175175
"source",
176176
"source_id",
177177
"source_type",
178-
"sub_experiment",
179-
"sub_experiment_id",
180178
"table_id",
181179
"temporal_label",
182180
"tracking_id",

TestTables/makeCMIP7MIPTables.ipynb

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
"name": "stdout",
8181
"output_type": "stream",
8282
"text": [
83-
"CPU times: user 50.1 ms, sys: 22.9 ms, total: 73 ms\n",
84-
"Wall time: 85.3 ms\n"
83+
"CPU times: user 27.5 ms, sys: 10.6 ms, total: 38.2 ms\n",
84+
"Wall time: 48.3 ms\n"
8585
]
8686
}
8787
],
@@ -150,8 +150,8 @@
150150
"APday\n",
151151
"OPmon\n",
152152
"OPmonLev\n",
153-
"CPU times: user 18.2 ms, sys: 9.41 ms, total: 27.6 ms\n",
154-
"Wall time: 273 ms\n"
153+
"CPU times: user 11.9 ms, sys: 4.78 ms, total: 16.6 ms\n",
154+
"Wall time: 264 ms\n"
155155
]
156156
}
157157
],
@@ -651,8 +651,8 @@
651651
"output_type": "stream",
652652
"text": [
653653
"CV\n",
654-
"CPU times: user 10.8 ms, sys: 15.2 ms, total: 26 ms\n",
655-
"Wall time: 123 ms\n"
654+
"CPU times: user 7.88 ms, sys: 2.12 ms, total: 9.99 ms\n",
655+
"Wall time: 84 ms\n"
656656
]
657657
}
658658
],
@@ -860,6 +860,10 @@
860860
" \"parent_variant_label\",\n",
861861
" ]\n",
862862
")\n",
863+
"# remove deprecated\n",
864+
"required_global_attributes[\"required_global_attributes\"].remove(\"sub_experiment\")\n",
865+
"required_global_attributes[\"required_global_attributes\"].remove(\"sub_experiment_id\")\n",
866+
"# sort\n",
863867
"required_global_attributes[\"required_global_attributes\"].sort()\n",
864868
"# redirect to CVs master dict\n",
865869
"CV[\"CV\"][\"required_global_attributes\"] = required_global_attributes[\n",

0 commit comments

Comments
 (0)