From 87fccd5bfd2d8ec7cf888029cf7e2bd2bd0d2095 Mon Sep 17 00:00:00 2001 From: Jacob Mims <122570226+jtmims@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:35:46 -0400 Subject: [PATCH] update link for gfdl-cmor tables to main MDTF branch in getinfo.py --- catalogbuilder/intakebuilder/getinfo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/catalogbuilder/intakebuilder/getinfo.py b/catalogbuilder/intakebuilder/getinfo.py index f413d6b..ece41df 100644 --- a/catalogbuilder/intakebuilder/getinfo.py +++ b/catalogbuilder/intakebuilder/getinfo.py @@ -249,8 +249,8 @@ def getStandardName(list_variable_id,list_realm): unique_cf = "na" dictCF = {} try: - url = "https://raw.githubusercontent.com/NOAA-GFDL/MDTF-diagnostics/b5e7916c203f3ba0b53e9e40fb8dc78ecc2cf5c3/data/gfdl-cmor-tables/gfdl_to_cmip5_vars.csv" - url2 = "https://raw.githubusercontent.com/NOAA-GFDL/MDTF-diagnostics/b5e7916c203f3ba0b53e9e40fb8dc78ecc2cf5c3/data/gfdl-cmor-tables/gfdl_to_cmip6_vars.csv" + url = "https://raw.githubusercontent.com/NOAA-GFDL/MDTF-diagnostics/refs/heads/main/data/gfdl-cmor-tables/gfdl_to_cmip5_vars.csv" + url2 = "https://raw.githubusercontent.com/NOAA-GFDL/MDTF-diagnostics/refs/heads/main/data/gfdl-cmor-tables/gfdl_to_cmip6_vars.csv" df1 = pd.read_csv(url, sep=",", header=0,index_col=False) df2 = pd.read_csv(url2, sep=",", header=0,index_col=False) #TODO Add try catch except for concat operation if concat fails for some reason