From 10ab2979c330f43ce378e9fc5152b3d4cda90a78 Mon Sep 17 00:00:00 2001 From: "Boyd, Oliver S" <olboyd@usgs.gov> Date: Thu, 26 Dec 2019 21:36:06 +0000 Subject: [PATCH] Replace TherMod.py --- python/TherMod.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/TherMod.py b/python/TherMod.py index a9f28e4..74847ee 100644 --- a/python/TherMod.py +++ b/python/TherMod.py @@ -20,8 +20,8 @@ def GetJK(lat,lon,dim): nc = Dataset(fl,'r') LAv = nc.variables['Latitude vector'][:] LOv = nc.variables['Longitude vector'][:] - jg = nc.variables['Index x grid'][:] - kg = nc.variables['Index y grid'][:] + jg = nc.variables['Index j grid'][:] + kg = nc.variables['Index k grid'][:] f1 = interp.interp2d(LOv,LAv,np.transpose(jg),kind='linear') f2 = interp.interp2d(LOv,LAv,np.transpose(kg),kind='linear') -- GitLab