Skip to content

Commit

Permalink
Merge pull request #79 from jtmims/gfdl-cmor-tables
Browse files Browse the repository at this point in the history
update link for gfdl-cmor tables to main MDTF branch in getinfo.py
  • Loading branch information
aradhakrishnanGFDL authored Oct 23, 2024
2 parents 21020ea + 87fccd5 commit 0f18e03
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions catalogbuilder/intakebuilder/getinfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0f18e03

Please sign in to comment.