Ignore:
Timestamp:
04/05/16 14:52:40 (8 years ago)
Author:
aquiquet
Message:

SMB forced: T perturbation from ice cores which may affect SMB (rappact)

Location:
trunk/SOURCES/GrIce2sea_files
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/SOURCES/GrIce2sea_files/climat_GrIce2sea_years_mod.f90

    r34 r55  
    116116!cdc test debug Hemin15 et Greeneem15 
    117117!  where (bm(:,:).lt.-1000) bm(:,:)=0. 
    118  
     118  where (bm(:,:).eq.0) bm(:,:)=-10. !afq 
    119119 
    120120  acc(:,:) = 0. 
     
    138138!cdc test debug Hemin15 
    139139!  where (Tann(:,:).lt.-100.) Tann(:,:)=10. 
    140  
     140  where (Tann(:,:).lt.-100.) Tann(:,:)=10. !afq 
    141141 
    142142  ta0(:,:)   = Tann(:,:) 
  • trunk/SOURCES/GrIce2sea_files/climat_GrIce2sea_years_perturb_mod.f90

    r50 r55  
    5858 
    5959! aurel, pour climat type perturb: 
    60 integer nft             !< nombre de lignes a lire dans le fichier forcage climatique 
    61 real,dimension(:),allocatable :: tdate          !< time for climate forcing 
    62 real,dimension(:),allocatable :: tpert          !< temperature for climate forcing 
    63 real,dimension(:),allocatable :: spert          !< sea surface perturbation 
    64 real :: coefT                   !< pour modifier l'amplitude de la perturb. T 
    65 character(len=120) :: filforc    !< nom du fichier forcage 
     60integer nft             !> nombre de lignes a lire dans le fichier forcage climatique 
     61real,dimension(:),allocatable :: tdate          !> time for climate forcing 
     62real,dimension(:),allocatable :: tpert          !> temperature for climate forcing 
     63real,dimension(:),allocatable :: spert          !> sea surface perturbation 
     64real :: coefT                    !> pour modifier l'amplitude de la perturb. T 
     65character(len=120) :: filforc    !> nom du fichier forcage 
     66integer :: pertsmb               !> boolean: do we modify the smb? 
     67real    :: rapsmb                !> if we modify the smb this is the equivalent of rappact 
    6668 
    6769 
     
    130132!cdc test debug Hemin15 et Greeneem15 
    131133!  where (bm(:,:).lt.-1000) bm(:,:)=0. 
    132  
     134  where (bm(:,:).eq.0) bm(:,:)=-10. !afq 
     135   
    133136  acc(:,:) = 0. 
    134137  abl(:,:) = 0. 
     
    151154!cdc test debug Hemin15 
    152155!  where (Tann(:,:).lt.-100.) Tann(:,:)=10. 
    153  
     156  where (Tann(:,:).lt.-100.) Tann(:,:)=10. !afq 
    154157 
    155158  ta0(:,:)   = Tann(:,:) 
     
    228231 
    229232! copie la valeur de reference dans bm_0 
    230      bm_0(:,:) = bm(:,:) 
     233!     bm_0(:,:) = bm(:,:) 
    231234  endif 
    232  
     235! copie la valeur de reference dans bm_0 
     236  bm_0(:,:) = bm(:,:) !afq marion dufresne: we do it even if we don't read any snapshot 
     237   
    233238  filin=trim(dirforcage)//trim(filforc) 
    234239 
     
    318323  implicit none 
    319324  namelist/lapse_rates/T_lapse_rate 
    320   namelist/clim_pert_massb/coefT,filforc 
     325  namelist/clim_pert_massb/coefT,filforc,pertsmb,rapsmb 
    321326   
    322327  rewind(num_param)        ! pour revenir au debut du fichier param_list.dat 
     
    344349  write(num_rep_42,*) 'coefT        = ', coefT 
    345350  write(num_rep_42,'(A,A)') ' filforc      = ', filforc 
     351  write(num_rep_42,*) 'coefT        = ', pertsmb 
     352  write(num_rep_42,*) 'coefT        = ', rapsmb 
    346353  write(num_rep_42,*)'/' 
    347354  write(num_rep_42,*) 
     
    403410        Tann (:,:) = Ta0 (:,:) + T_lapse_rate * (S(:,:)-S0(:,:)) +Tafor 
    404411        Ts(:,:)    = Tann(:,:) 
     412 
     413        ! aurel marion dufresne: we might want to decrease the SMB during glacials..? 
     414        if (pertsmb.eq.1) then 
     415           !bm(:,:) = bm_0(:,:) * exp( rapsmb *(Tann(:,:)-Ta0(:,:))) 
     416           ! afq, to match present day smb, I don't want to take S-elev feedb. into account 
     417           bm(:,:) = bm_0(:,:) * exp( rapsmb * Tafor ) 
     418        end if 
     419         
    405420     case(1) 
    406421        call massb_Ice2sea_RCM 
Note: See TracChangeset for help on using the changeset viewer.