- Timestamp:
- 09/18/20 17:47:05 (4 years ago)
- Location:
- TOOLS/MOSAIX
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/CreateOasisGrids.bash
r5156 r5158 1 #!/ usr/bin/envbash1 #!/bin/bash 2 2 ### =========================================================================== 3 3 ### … … 32 32 echo ${Titre}"Default configuration (may be overrided by command line parameters)"${Norm} 33 33 ## =========================================================================== 34 OCE=ORCA2.335 #OCE=eORCA1.234 #OCE=ORCA2.3 35 OCE=eORCA1.2 36 36 #ATM=ICO30 37 #ATM=ICO4037 ATM=ICO40 38 38 #ATM=ICO450 39 39 #ATM=LMD144142 … … 49 49 # ================ 50 50 if [[ $(hostname) = curie* ]] ; then arch=curie ; center=tgcc ; fi 51 if [[ $(hostname) = irene* ]] ; then arch=irene ; center=tgcc ; fi51 if [[ $(hostname) = irene* ]] ; then arch=irene ;1 center=tgcc ; fi 52 52 if [[ $(hostname) = lsce3005* ]] ; then arch=spip ; center=spip ; fi 53 53 -
TOOLS/MOSAIX/CreateWeightsMask.bash
r5156 r5158 1 #!/ usr/bin/envbash1 #!/bin/bash 2 2 #MSUB -r WeightsMask # Job name 3 3 #MSUB -o Out_WeightsMask # Standard output … … 7 7 #MSUB -q skylake 8 8 #MSUB -p gen2212 9 #MSUB -m work 9 #MSUB -m work,store 10 10 11 11 ### =========================================================================== … … 61 61 ## =========================================================================== 62 62 set -e 63 echo BASH Version ${BASH_VERSION} 64 echo SHELL ${SHELL} 63 65 64 66 # … … 422 424 ;; 423 425 ( *lmd* ) 424 ncrename --history --variabl 426 ncrename --history --variable lon_domain_dst,lon ${ATM}_grid_maskFrom_${OCE}.nc 425 427 ncrename --history --variable lat_domain_dst,lat ${ATM}_grid_maskFrom_${OCE}.nc 426 428 ncrename --history --dimension lon_domain_dst,lon ${ATM}_grid_maskFrom_${OCE}.nc … … 724 726 if [[ ${a_to_o} = true ]] ; then 725 727 ncap2 --history --append --script-file add_varatm_$(basename ${rmpFile} .nc)_a_to_o.nco ${ATM}_grid_maskFrom_${OCE}_noglobal.nc ${rmpFile} 726 exit727 728 ncks --alphabetize --history --overwrite --variable src_address,dst_address,remap_matrix,src_grid_dims,src_grid_center_lat,src_grid_center_lon,src_grid_corner_lon,src_grid_corner_lat,src_grid_area,src_grid_imask,dst_grid_dims,dst_grid_center_lat,dst_grid_center_lon,dst_grid_corner_lon,dst_grid_corner_lat,dst_grid_area,dst_grid_imask ${rmpFile} rmp_tmp.nc 728 729 mv rmp_tmp.nc ${rmpFile}
Note: See TracChangeset
for help on using the changeset viewer.