From 80f7f510266884d372d68de6f4d63ffd68255f18 Mon Sep 17 00:00:00 2001 From: Lars Buntemeyer Date: Fri, 16 Feb 2024 12:19:00 +0100 Subject: [PATCH] Update create-tables.py --- scripts/create-tables.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/create-tables.py b/scripts/create-tables.py index 573f4a1..fa0f9c1 100644 --- a/scripts/create-tables.py +++ b/scripts/create-tables.py @@ -10,11 +10,11 @@ def main(table, output, prefix, coords=False): print(cmor_tables.keys()) for t in cmor_tables.values(): - table_to_json(t, table_prefix="CORDEX-CMIP6", dir=output) + table_to_json(t, table_prefix=prefix, dir=output) if coords is True: t = create_coordinate_table(df) - table_to_json(t, "CORDEX-CMIP6", table_id="coordinate", dir=output) + table_to_json(t, prefix, table_id="coordinate", dir=output) if __name__ == "__main__":