Changeset 5158 for TOOLS/MOSAIX/CreateWeightsMask.bash
- Timestamp:
- 09/18/20 17:47:05 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.