Changeset 4097
- Timestamp:
- 10/25/18 17:59:40 (5 years ago)
- Location:
- TOOLS/MOSAIX
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TOOLS/MOSAIX/CreateWeightsMask.bash
r4091 r4097 88 88 89 89 case ${arch} in 90 ( curie ) 91 set +vx 92 module purge 93 source /ccc/cont003/home/dsm/p86ipsl/.env_intel17.0.2_curie; 94 source /ccc/cont003/home/dsm/p86ipsl/.env_netcdf4.3.3.1_curie 95 module load datadir/igcmg 96 R_IN=$(ccc_home -u igcmg --cccwork)/IGCM 97 TMPDIR=${SCRATCHDIR}/TMP 98 SUBMIT_DIR=${BRIDGE_MSUB_PWD:-${SUBMIT_DIR}} 99 PROGRAM=${BRIDGE_MSUB_REQNAME} 100 MPIRUN=ccc_mprun 101 ;; 102 ( irene ) 90 ( irene ) 103 91 set +vx 104 92 module purge … … 731 719 done 732 720 ls -al ${OCE}_coordinates_mask.nc 721 722 ## 723 ## Creates and save auxiliary files for OASIS 724 ## =========================================================================== 725 bash ${SUBMIT_DIR}/CreateOasisGrids.bash --oce ${OCE} --atm ${ATM} 726 727 cp areas_${OCE}x${ATM}.nc ${SUBMIT_DIR} 728 cp grids_${OCE}x${ATM}.nc ${SUBMIT_DIR} 729 cp masks_${OCE}x${ATM}.nc ${SUBMIT_DIR} 730 731 ## 732 ## Calving 733 ## =========================================================================== 734 case ${OCE} in 735 ( eORCA1.2 ) 736 cp ${R_IN}/OCE/NEMO/ORCA1_LIM3_PISCES/v3.6_stable/runoff-icb_DaiTrenberth_Depoorter_eORCA1_JD.nc . 737 for Type in nosouth iceberg iceshelf ; do 738 python CalvingWeights.py --oce=${OCE} --atm=${ATM} --type=${Type} --dir=. --isf_icb=runoff-icb_DaiTrenberth_Depoorter_eORCA1_JD.nc 739 done 740 ;; 741 ( * ) 742 python CalvingWeights.py --oce=${OCE} --atm=${ATM} --type=full --dir=. 743 ;; 744 esac 745 733 746 ## 734 747 ## Save results … … 741 754 cp ${File} ${SUBMIT_DIR}/${NewFile} 742 755 done 743 744 ##745 ## Creates and save auxiliary files for OASIS746 ## ===========================================================================747 bash ${SUBMIT_DIR}/CreateOasisGrids.bash --oce ${OCE} --atm ${ATM}748 749 cp areas_${OCE}x${ATM}.nc ${SUBMIT_DIR}750 cp grids_${OCE}x${ATM}.nc ${SUBMIT_DIR}751 cp masks_${OCE}x${ATM}.nc ${SUBMIT_DIR}752 756 753 757 ##
Note: See TracChangeset
for help on using the changeset viewer.