Skip to content

Commit

Permalink
correcting paths in conus scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
kasra-keshavarz committed Aug 12, 2023
1 parent 3e98b45 commit 6107995
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions scripts/conus_i/conus_i.sh
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,14 @@ fi
# containing XLAT and XLONG variables each having dimensions
# of "south_north" and "west_east".
coordMainFile="/project/rpp-kshook/Model_Output/WRF/CONUS/coord.nc"
coordEssFile="$(pwd)/assets/coord_XLAT_XLONG_conus_i.nc"
coordEssFile="$(pwd)/../../assets/coord_XLAT_XLONG_conus_i.nc"
latVar="south_north"
lonVar="west_east"

# The structure of file names is as follows: "wrf2d_d01_YYYY-MM-DD_HH:MM:SS" (no file extension)
format="%Y-%m-%d_%H:%M:%S"
fileStruct="wrf2d_d01"
coordIdxScript="$(pwd)/assets/coord_wrf_idx.ncl"
coordIdxScript="$(pwd)/../../assets/coord_wrf_idx.ncl"

# TZ to be set to UTC to avoid invalid dates due to Daylight Saving
alias date='TZ=UTC date'
Expand Down
4 changes: 2 additions & 2 deletions scripts/conus_ii/conus_ii.sh
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ fi
# containing XLAT and XLONG variables each having dimensions
# of "south_north" and "west_east".
coordMainFile="/project/rpp-kshook/Model_Output/wrf-conus/CONUSII/hist/wrf04km_coord.nc"
coordEssFile="$(pwd)/assets/coord_XLAT_XLONG_conus_ii.nc"
coordEssFile="$(pwd)/../../assets/coord_XLAT_XLONG_conus_ii.nc"
latVar="south_north"
lonVar="west_east"

Expand All @@ -105,7 +105,7 @@ format="%Y-%m-%d_%H:%M:%S"
tarFormat="%Y%m%d"
fileStruct="wrf2d_d01"
tarFileStruct="wrf2d_conusii"
coordIdxScript="$(pwd)/assets/coord_wrf_idx.ncl"
coordIdxScript="$(pwd)/../../assets/coord_wrf_idx.ncl"

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

0 comments on commit 6107995

Please sign in to comment.