Changeset 5159
- Timestamp:
- 09/24/20 16:38:47 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/CreateOasisGrids.bash
r5158 r5159 38 38 #ATM=ICO450 39 39 #ATM=LMD144142 40 ATM=LMD969540 #ATM=LMD9695 41 41 42 42 ## =========================================================================== … … 49 49 # ================ 50 50 if [[ $(hostname) = curie* ]] ; then arch=curie ; center=tgcc ; fi 51 if [[ $(hostname) = irene* ]] ; then arch=irene ; 1center=tgcc ; fi51 if [[ $(hostname) = irene* ]] ; then arch=irene ; center=tgcc ; fi 52 52 if [[ $(hostname) = lsce3005* ]] ; then arch=spip ; center=spip ; fi 53 53 … … 213 213 214 214 ncap2 --history --append --script "Oce2AtmMask=int(1-Oce2AtmMask)" OceMask_tmp.nc masks_${CplModel}.nc # For OASIS, ocean=0, land=1 215 rm OceMask_tmp.nc215 #rm OceMask_tmp.nc 216 216 ncatted --history \ 217 217 --attribute long_name,Oce2AtmMask,o,c,"Land-sea mask" \ … … 252 252 mv masks_${CplModel}.nc masks_${CplModel}_tmp.nc 253 253 ncap2 --history --append --script 'OceFrac [ycell,xcell]=OceFrac' masks_${CplModel}_tmp.nc masks_${CplModel}.nc 254 mv masks_${CplModel}.nc masks_${CplModel}_tmp.nc 254 255 ncap2 --history --append --script 'OceMask [ycell,xcell]=OceMask' masks_${CplModel}_tmp.nc masks_${CplModel}.nc 256 mv masks_${CplModel}.nc masks_${CplModel}_tmp.nc 255 257 ncap2 --history --append --script 'Oce2AtmMask[ycell,xcell]=Oce2AtmMask' masks_${CplModel}_tmp.nc masks_${CplModel}.nc 256 257 258 mv areas_${CplModel}.nc areas_${CplModel}_tmp.nc 258 259 ncap2 --history --append --script 'defdim("xcell",1) ; aire[ycell,xcell]=aire ; ' areas_${CplModel}_tmp.nc areas_${CplModel}.nc 259 260 260 rm -f grids_${CplModel}_tmp.nc areas_${CplModel}_tmp.nc masks_${CplModel}_tmp.nc 261 261 fi
Note: See TracChangeset
for help on using the changeset viewer.