Changeset 55 for trunk/SOURCES/GrIce2sea_files
- Timestamp:
- 04/05/16 14:52:40 (8 years ago)
- Location:
- trunk/SOURCES/GrIce2sea_files
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SOURCES/GrIce2sea_files/climat_GrIce2sea_years_mod.f90
r34 r55 116 116 !cdc test debug Hemin15 et Greeneem15 117 117 ! where (bm(:,:).lt.-1000) bm(:,:)=0. 118 118 where (bm(:,:).eq.0) bm(:,:)=-10. !afq 119 119 120 120 acc(:,:) = 0. … … 138 138 !cdc test debug Hemin15 139 139 ! where (Tann(:,:).lt.-100.) Tann(:,:)=10. 140 140 where (Tann(:,:).lt.-100.) Tann(:,:)=10. !afq 141 141 142 142 ta0(:,:) = Tann(:,:) -
trunk/SOURCES/GrIce2sea_files/climat_GrIce2sea_years_perturb_mod.f90
r50 r55 58 58 59 59 ! 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 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 66 integer :: pertsmb !> boolean: do we modify the smb? 67 real :: rapsmb !> if we modify the smb this is the equivalent of rappact 66 68 67 69 … … 130 132 !cdc test debug Hemin15 et Greeneem15 131 133 ! where (bm(:,:).lt.-1000) bm(:,:)=0. 132 134 where (bm(:,:).eq.0) bm(:,:)=-10. !afq 135 133 136 acc(:,:) = 0. 134 137 abl(:,:) = 0. … … 151 154 !cdc test debug Hemin15 152 155 ! where (Tann(:,:).lt.-100.) Tann(:,:)=10. 153 156 where (Tann(:,:).lt.-100.) Tann(:,:)=10. !afq 154 157 155 158 ta0(:,:) = Tann(:,:) … … 228 231 229 232 ! copie la valeur de reference dans bm_0 230 bm_0(:,:) = bm(:,:)233 ! bm_0(:,:) = bm(:,:) 231 234 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 233 238 filin=trim(dirforcage)//trim(filforc) 234 239 … … 318 323 implicit none 319 324 namelist/lapse_rates/T_lapse_rate 320 namelist/clim_pert_massb/coefT,filforc 325 namelist/clim_pert_massb/coefT,filforc,pertsmb,rapsmb 321 326 322 327 rewind(num_param) ! pour revenir au debut du fichier param_list.dat … … 344 349 write(num_rep_42,*) 'coefT = ', coefT 345 350 write(num_rep_42,'(A,A)') ' filforc = ', filforc 351 write(num_rep_42,*) 'coefT = ', pertsmb 352 write(num_rep_42,*) 'coefT = ', rapsmb 346 353 write(num_rep_42,*)'/' 347 354 write(num_rep_42,*) … … 403 410 Tann (:,:) = Ta0 (:,:) + T_lapse_rate * (S(:,:)-S0(:,:)) +Tafor 404 411 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 405 420 case(1) 406 421 call massb_Ice2sea_RCM
Note: See TracChangeset
for help on using the changeset viewer.