Changeset 5429 for BOL/LMDZ_Setup/script_SIMU
- Timestamp:
- Dec 19, 2024, 10:19:22 AM (5 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BOL/LMDZ_Setup/script_SIMU
r5428 r5429 226 226 fi 227 227 228 # Rapatriement des fichiers pour SPLA.229 # AFAIRE : si le wget marche de toutes les machines, enlever le wget_pub equivalent dans setup.sh230 # et le faire automatiquement dans ln_from_pub231 228 if [[ $aerosols = "spla" ]]; then 232 for file in donnees_lisa.nc SOILSPEC.data \ 233 cly.dat $( for i in $(seq 1 12 ) ; do echo dust$i.nc ; done ) wth.dat \ 234 carbon_emissions.nc sulphur_emissions_antro.nc sulphur_emissions_nat.nc \ 235 sulphur_emissions_volc.nc ; do 236 ln_from_pub 3DInputData/SPLA_WA/emissions $file 237 done 229 get_input_files ln_from_pub SPLA_WA/emissions 238 230 ln -s dust$mo.nc dust.nc 239 240 231 # Le calcul d'emissions de sels marins utilise les vents ERA-10m interpoles sur grille_s (lonv,latu) avec le script era2gcm_uv10m.sh 241 232 # NB : GET=ln -s ; ERA10mDIR contient lui-meme le lien ERA10m vers le repertoire des vents interpoles $REA_uv10m (REA=ERA5, ERAI ou OPERA) 233 echo WORK IN PROGRESS FOR SPLA ; exit 1 242 234 ventl="u10m.nc v10m.nc" 243 235 for file in $ventl ; do ${GET} $ERA10mDIR/${year}/${month}/$file . ; done … … 258 250 259 251 if [ $VEGET = y ] ; then 252 260 253 set +e ; for t in stomate sechiba ; do cp $SIMUDIR/start_$t.$ym.nc ${t}_rest_in.nc ; done ; set -e 261 if [ "`grep RIVER_ROUTING orchidee.def |grep -i y`" ] ; then 262 set +e 263 for file in routing_simple.nc routing.nc ; do 264 ln_from_pub 3DInputData/Orchideee routing.nc 265 done 266 cp $SIMUDIR/start_routing.$ym.nc routing_start.nc 267 set -e 268 fi 269 270 #For Orchidee trunk (post-CMIP6), orchidee_pft.def must be copied in addition to orchidee.def 254 #For Orchidee trunk (post-CMIP6), orchidee_pft.def must be copied in addition to orchidee.def 271 255 \cp -f DEF/orchidee*.def . 272 256 273 # Test sur sechiba_rest_in.nc, 274 # supposant que les restarts pour sechiba, stomate, et routing le cas echeant, 275 # sont soit tous dispo, soit tous absents 257 # If no sechiba restart is found, the restart files for sechiba, stomate, 258 # and routing are created on line in the simulation, requiring Orchidee input files 276 259 if [ ! -f sechiba_rest_in.nc ] ; then 277 echo '#########################################################' 278 echo "Autoinitialisation d'orchidee au besoin" 279 echo '#########################################################' 280 for file in cartepente2d_15min.nc \ 281 lai2D.nc soils_param.nc soil_bulk_and_ph.nc alb_bg_modisopt_2D_ESA_v2.nc reftemp.nc ; do 282 ln_from_pub 3DInputData/Orchidee $file 283 done 260 261 get_input_files ln_from_pub Orchidee # linking all orchidee input files 262 284 263 ln -sf alb_bg_modisopt_2D_ESA_v2.nc alb_bg.nc 285 286 264 echo ATTENTION : ON UTILISE LES FICHIERS DE L ANNEE 2000 287 ln_from_pub 3DInputData/Orchidee PFTmap_15PFT.v1_2000.nc ; ln -s PFTmap_15PFT.v1_2000.nc PFTmap.nc 288 ln_from_pub 3DInputData/Orchidee woodharvest_2000.nc ; ln -s woodharvest_2000.nc woodharvest.nc 289 265 ln -s PFTmap_15PFT.v1_2000.nc PFTmap.nc 266 ln -s woodharvest_2000.nc woodharvest.nc 290 267 sed -e 's/^SECHIBA_restart_in.*./SECHIBA_restart_in=NONE/' \ 291 268 -e 's/^STOMATE_RESTART_FILEIN.*./STOMATE_RESTART_FILEIN=NONE/' \ 292 269 -i orchidee.def 293 294 if [ $veget = 7994 ] ; then 295 for file in ndep_nhx.nc ndep_noy.nc nfert_cropland.nc nfert_pasture.nc nmanure_cropland.nc nmanure_pasture.nc bnf.nc ; do 296 ln_from_pub 3DInputData/Orchidee $file 297 done 298 fi 299 270 fi 271 272 # Input files for routing are always needed 273 if [ "`grep RIVER_ROUTING orchidee.def |grep -i y`" ] ; then 274 set +e 275 ln_from_pub 3DInputData/Orchideee routing.nc 276 ln_from_pub 3DInputData/Orchideee routing_simple.nc 277 cp $SIMUDIR/start_routing.$ym.nc routing_start.nc 278 set -e 300 279 fi 301 280
Note: See TracChangeset
for help on using the changeset viewer.