Changeset 3723
- Timestamp:
- 03/29/18 17:17:16 (6 years ago)
- Location:
- TOOLS/MOSAIX
- Files:
-
- 2 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/CreateWeightsMask.bash
r3719 r3723 111 111 esac 112 112 113 case ${OCE} in 114 ( ORCA2.3* ) OcePerio=4 ;; 115 ( ORCA1* | eORCA1* ) OcePerio=6 ;; 116 esac 113 117 # 114 118 # Format for OASIS files : should be NetCDF3 classic or NetCDF3 64 bits … … 117 121 118 122 119 cp ${SUBMIT_DIR}/bin/interpol.exe 120 cp ${SUBMIT_DIR}/ update_xml.py.123 cp ${SUBMIT_DIR}/bin/interpol.exe . 124 cp ${SUBMIT_DIR}/*.py . 121 125 122 126 ## … … 182 186 183 187 ncks --alphabetize --history --append --variable OceMask dia_t${oce}_to_t${atm}_1storder_false_mask.nc ${ATM}_grid_maskFrom_${OCE}.nc 184 #rm dia_t${oce}_to_t${atm}_1storder_false_mask.nc 185 186 ## 187 ## Creates mask of coastal ATM point 188 rm dia_t${oce}_to_t${atm}_1storder_false_mask.nc 189 190 ## 191 ## Creates mask of coastal OCE points 192 ## =========================================================================== 193 python ComputeNemoCoast.py -n ${OcePerio} -i oce_grid.nc 194 195 ## 196 ## Creates mask of coastal ATM points 188 197 ## =========================================================================== 189 198 cat <<EOF > coastal.nco … … 293 302 python update_xml.py -i iodef.xml -n 'context[@id="interpol_read"]/file_definition/file[@id="file_src"]' -k name -v ${ATM}_grid_maskFrom_${OCE} 294 303 python update_xml.py -i iodef.xml -n 'context[@id="interpol_read"]/file_definition/file[@id="file_src"]/field[@id="mask_src"]' -k name -v AtmCoastal 304 python update_xml.py -i iodef.xml -n 'context[@id="interpol_read"]/file_definition/file[@id="file_dst"]/field[@id="mask_dst"]' -k name -v OceCoastal 295 305 python update_xml.py -i iodef.xml -n 'context[@id="interpol_run"]/file_definition/file[@id="dia"]' -k name -v dia_c${atm}_to_t${oce}_1storder_${normalize} 296 306 python update_xml.py -i iodef.xml -n 'context[@id="interpol_run"]/domain_definition/domain[@id="domain_dst"]/interpolate_domain' -k weight_filename -v rmp_c${atm}_to_t${oce}_1storder_${normalize}.nc
Note: See TracChangeset
for help on using the changeset viewer.