Changeset 5925 for TOOLS


Ignore:
Timestamp:
09/23/21 11:13:45 (3 years ago)
Author:
snguyen
Message:

Ajout du notebook de génération du fichier coordonnées masks bounds en python

Location:
TOOLS/MOSAIX
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • TOOLS/MOSAIX/CreateWeightsMask.bash

    r5548 r5925  
    44#MSUB -e Out_WeightsMask    # Error output 
    55#MSUB -n 4                  # Number of processors 
    6 #MSUB -T 7200               # Time limit (seconds) 
     6##MSUB -T 7200               # Time limit (seconds) 
     7#MSUB -T 1800 
     8#MSUB -Q test 
    79#MSUB -q skylake 
    810#MSUB -p gen2212 
     
    6769echo ${Titre}"Defines model"${Norm} 
    6870# ================================= 
    69 #CplModel=ORCA2.3xLMD9695 
     71CplModel=ORCA2.3xLMD9695 
    7072#CplModel=ORCA2.3xICO30 
    7173#CplModel=ORCA2.3xICO40 
    72 CplModel=eORCA1.2xLMD144142 
     74#CplModel=eORCA1.2xLMD144142 
    7375#CplModel=eORCA1.2xLMD256256 
    7476#CplModel=eORCA1.2xICO40 
     
    241243 
    242244# 
    243 # Defines computer 
     245#Defines computer 
    244246# ================ 
    245247if [[ $(hostname) = irene*    ]] ; then arch=irene ; center=tgcc ; fi 
     
    295297 
    296298case ${OCE} in # Periodicity type of ORCA grid 
    297     ( ORCA2*               ) OcePerio=4 ;; 
     299    ( ORCA2*               ) OcePerio=6 ;; # 4 ORCA 6 PALEORCA 
    298300    ( ORCA1*   | eORCA1*   ) OcePerio=6 ;; 
    299301    ( ORCA025* | eORCA025* ) OcePerio=6 ;; 
     
    306308cp ${SUBMIT_DIR}/iodef_oce_to_atm.xml   . 
    307309 
    308 cp ${R_IN}/OCE/NEMO/${OCE}/${OCE}_coordinates_mask.nc  . 
     310#cp ${R_IN}/OCE/NEMO/${OCE}/${OCE}_coordinates_mask.nc  . 
     311#cp ${SUBMIT_DIR}/${OCE}_coordinates_mask_ref.nc  ${OCE}_coordinates_mask.nc 
     312#cp ${SUBMIT_DIR}/eORCA_R1_coordinates_mask_test_1105.nc ${OCE}_coordinates_mask.nc 
     313#cp ${SUBMIT_DIR}/TEST2REMOVE_coordinates_mask.test.nc ${OCE}_coordinates_mask.nc 
     314#cp ${SUBMIT_DIR}/TEST-CM61-LR-pi-01_mesh_mask.nc ${OCE}_coordinates_mask.nc 
     315#cp ${SUBMIT_DIR}/eORCA_R1_coordinates_mask_test_TUVW.nc ${OCE}_coordinates_mask.nc 
     316#cp ${SUBMIT_DIR}/eORCA_R1_coordinates_mask_test_1106.nc ${OCE}_coordinates_mask.nc 
     317#cp ${SUBMIT_DIR}/ORCA2.3_coordinates_mask_test_1106.nc ${OCE}_coordinates_mask.nc 
     318#cp ${SUBMIT_DIR}/coordinates_xios_ORCA2_1p_2806.nc ${OCE}_coordinates_mask.nc 
     319cp ${SUBMIT_DIR}/ORCA2.3_coordinates_mask_ref_0208.nc ${OCE}_coordinates_mask.nc 
    309320cp ${R_IN}/ATM/GRID/${ATM}_grid.nc . 
    310321 
     
    793804              --o2a=${ATM}_grid_maskFrom_${OCE}.nc --output=rmp_t${atm}_to_t${oce}_runoff_${runOff_atmQuantity}_to_${runOff_oceQuantity}.nc \ 
    794805              --fmt=${FMT_XIOS} \ 
    795               --atmQuantity=${runOff_atmQuantity} --oceQuantity=${runOff_oceQuantity} 
     806              --atmQuantity=${runOff_atmQuantity} --oceQuantity=${runOff_oceQuantity} --ocePerio=${OcePerio} 
    796807fi 
    797808 
     
    823834        ( * ) 
    824835        ${PyRun} python3 -u CalvingWeights.py --output=rmp_t${atm}_to_t${oce}_calving_full.nc --fmt=${FMT_XIOS} \ 
    825                   --oce=${OCE} --atm=${ATM} --type=full     --dir=. 
     836                  --oce=${OCE} --atm=${ATM} --type=full     --dir=. --ocePerio=${OcePerio} 
    826837        ;; 
    827838 
  • TOOLS/MOSAIX/make_mosaix

    r4259 r5925  
    4242 
    4343# Use the arch files used to compile XIOS 
    44 ln -fs ${xios_dir}/arch.fcm   . 
     44ln -fs ${xios_dir}/arch.debug.fcm   arch.fcm 
    4545ln -fs ${xios_dir}/arch.env   . 
    4646ln -fs ${xios_dir}/arch.path  . 
Note: See TracChangeset for help on using the changeset viewer.