Skip to content

Commit 35893e0

Browse files
Correcting WRF-CONUS paths after resturcturing the package
1 parent be35e22 commit 35893e0

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

var/repos/builtin/recipes/gwf-ncar-conus_i/conus_i.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -104,16 +104,16 @@ fi
104104
# hard-coding the address of the co-ordinate NetCDF files
105105
# containing XLAT and XLONG variables each having dimensions
106106
# of "south_north" and "west_east".
107-
datatoolPath="$(dirname $0)/../../" # datatool's path
107+
datatoolPath="$(dirname $0)/../../../../../" # datatool's path
108108
coordMainFile="/project/rpp-kshook/Model_Output/WRF/CONUS/coord.nc"
109-
coordEssFile="${datatoolPath}/assets/nc_coords/coord_XLAT_XLONG_conus_i.nc"
109+
coordEssFile="${datatoolPath}/etc/scripts/nc_coords/coord_XLAT_XLONG_conus_i.nc"
110110
latVar="south_north"
111111
lonVar="west_east"
112112

113113
# The structure of file names is as follows: "wrf2d_d01_YYYY-MM-DD_HH:MM:SS" (no file extension)
114114
format="%Y-%m-%d_%H:%M:%S"
115115
fileStruct="wrf2d_d01"
116-
coordIdxScript="${datatoolPath}/assets/ncl_scripts/coord_wrf_idx.ncl"
116+
coordIdxScript="${datatoolPath}/etc/scripts/coord_wrf_idx.ncl"
117117

118118
# TZ to be set to UTC to avoid invalid dates due to Daylight Saving
119119
alias date='TZ=UTC date'

var/repos/builtin/recipes/gwf-ncar-conus_ii/conus_ii.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -102,9 +102,9 @@ fi
102102
# hard-coding the address of the co-ordinate NetCDF files
103103
# containing XLAT and XLONG variables each having dimensions
104104
# of "south_north" and "west_east".
105-
datatoolPath="$(dirname $0)/../../" # datatool's path
105+
datatoolPath="$(dirname $0)/../../../../../" # datatool's path
106106
coordMainFile="/project/rpp-kshook/Model_Output/wrf-conus/CONUSII/hist/wrf04km_coord.nc"
107-
coordEssFile="${datatoolPath}/assets/nc_coords/coord_XLAT_XLONG_conus_ii.nc"
107+
coordEssFile="${datatoolPath}/etc/scripts/nc_coords/coord_XLAT_XLONG_conus_ii.nc"
108108
latVar="south_north"
109109
lonVar="west_east"
110110

@@ -113,7 +113,7 @@ format="%Y-%m-%d_%H:%M:%S"
113113
tarFormat="%Y%m%d"
114114
fileStruct="wrf2d_d01"
115115
tarFileStruct="wrf2d_conusii"
116-
coordIdxScript="${datatoolPath}/assets/ncl_scripts/coord_wrf_idx.ncl"
116+
coordIdxScript="${datatoolPath}/etc/scripts/coord_wrf_idx.ncl"
117117

118118
# TZ to be set to UTC to avoid invalid dates due to Daylight Saving
119119
alias date='TZ=UTC date'

0 commit comments

Comments
 (0)