Use os.path.join, not  +"/...", for compatibility
Per comment 2 in:
@@ -229,9 +229,9 @@ class LibRadTranRT(TabularRT):
# HACK: If a file called `prescribed_geom` exists in the LUT directory,
# use that instead of the LibRadtran calculated zenith angle. This is
# not the most elegant or efficient solution, but it seems to work.
- zenfile = self.lut_dir + "/prescribed_geom"
+ zenfile = os.path.join(self.lut_dir, "prescribed_geom")
if not os.path.exists(zenfile):
- zenfile = self.lut_dir+'/LUT_'+fn+'.zen', 'r'
+ zenfile = os.path.join(self.lut_dir, 'LUT_'+fn+'.zen')
with open(zenfile, 'r') as fin:
output = fin.read().split()
solzen, solaz = [float(q) for q in output[1:]]
