From a8ae04caf93756ab36b0b4d2c2ca44b02347f7f9 Mon Sep 17 00:00:00 2001 From: Weiyuan Jiang Date: Tue, 12 Dec 2023 09:43:20 -0500 Subject: [PATCH] run make_bcs in different installation path --- .../GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py | 2 +- .../GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_ease.py | 2 +- .../Utils/Raster/makebcs/make_bcs_latlon.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py index 407400a4f..78506693c 100755 --- a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py +++ b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_cube.py @@ -89,7 +89,7 @@ def make_bcs_cube(config): bin_dir = os.getcwd() - if 'install/bin' not in bin_dir: + if '/bin' not in bin_dir: print(" please run this program in installed bin directory") return grid_type = config['grid_type'] diff --git a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_ease.py b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_ease.py index 74419a97a..f6d41cb9f 100755 --- a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_ease.py +++ b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_ease.py @@ -21,7 +21,7 @@ def make_bcs_ease(config): bin_dir = os.getcwd() - if 'install/bin' not in bin_dir: + if '/bin' not in bin_dir: print("please run this program in installed bin directory") return diff --git a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_latlon.py b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_latlon.py index d44421d94..e6e7844e6 100755 --- a/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_latlon.py +++ b/GEOSagcm_GridComp/GEOSphysics_GridComp/GEOSsurface_GridComp/Utils/Raster/makebcs/make_bcs_latlon.py @@ -54,7 +54,7 @@ def make_bcs_latlon(config): bin_dir = os.getcwd() - if 'install/bin' not in bin_dir: + if '/bin' not in bin_dir: print(" please run this program in installed bin directory") return