Changeset 5851 for BOL/LMDZ_Setup
- Timestamp:
- Oct 6, 2025, 6:05:47 PM (7 weeks ago)
- File:
-
- 1 edited
-
BOL/LMDZ_Setup/era2gcm.sh (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup/era2gcm.sh
r5850 r5851 33 33 resol_rea=075 34 34 35 #------------------------------------------------ 36 37 ERA5_PATH="/gpfsstore/rech/psl/rpsl376/ergon/ERA5/" 38 ERAI_PATH="/gpfsstore/rech/psl/rpsl376/ergon/ERAI/" 39 ERAI_PATH="/lustre/fswork/projects/rech/wfe/rgzi027/LMDZ/pub/3DInputData/ReAnalyses/ERAI" 40 #/lustre/fswork/projects/rech/wfe/rgzi027/LMDZ/pub/3DInputData/ReAnalyses/ERAI/NETCDF/GLOBAL_075/4xdaily/AN_PL/2014/ 41 42 #@ADS ERA5_PATH="/lus/work/CT1/cad15221/abarral/ERA_TMP/" # /!\ temp for test only ! 43 #@ADS ERAI_PATH="" # /!\ temp for tests only! 44 #@ADS echo "/!\ Nudging files are not available on Adastra for now !"; exit 1 # comment this line for tests 45 #@ADS SCRATCH=$SCRATCHDIR 46 47 set -u # raise error if path if unset on machine 48 echo "Paths: $ERA5_PATH $ERAI_PATH $SCRATCH" 49 set +u 35 # Location of shared files 36 ERA_PATH="/gpfsstore/rech/psl/rpsl376/ergon/$rea/" 37 38 # New location. 39 # The idea is to get files from the LMDZ web site and store them locally 40 # once for all. 41 # http://lmdz.lmd.jussieu.fr/pub/3DInputData/$rea 42 ERA_PATH="$LMDZ_INIT/3DInputData/ReAnalyses/$rea" 50 43 51 44 GRID_DIR=./INIT … … 119 112 if [ "$rea" = "ERA5" ] ; then 120 113 if [[ $an -ge 2022 ]] ; then 121 ANA_DIR="$ERA 5_PATH/NETCDF/GLOBAL_025/hourly"114 ANA_DIR="$ERA_PATH/NETCDF/GLOBAL_025/hourly" 122 115 suf="ap1e5.GLOBAL_025" 123 116 else 124 ANA_DIR="$ERA 5_PATH/NETCDF/GLOBAL_025/4xdaily"117 ANA_DIR="$ERA_PATH/NETCDF/GLOBAL_025/4xdaily" 125 118 suf="aphe5.GLOBAL_025" 126 119 fi 127 120 elif [ "$rea" = "ERAI" ] ; then 128 ANA_DIR="$ERA I_PATH/NETCDF/GLOBAL_$resol_rea/4xdaily"121 ANA_DIR="$ERA_PATH/NETCDF/GLOBAL_$resol_rea/4xdaily" 129 122 suf="aphei.GLOBAL_$resol_rea" 130 123 fi … … 153 146 # Automatically downloading reanalysis if needed 154 147 ############################################################################ 155 if [ "$( echo $ERA I_PATH | grep 3DInputData )" != "" ] ; then148 if [ "$( echo $ERA_PATH | grep 3DInputData )" != "" ] ; then 156 149 if [ ! -f $file_rea ] ; then 157 150 mkdir -p $( dirname $file_rea )
Note: See TracChangeset
for help on using the changeset viewer.
