Changeset 1619 for LMDZ5/trunk
- Timestamp:
- Mar 27, 2012, 10:16:51 AM (13 years ago)
- Location:
- LMDZ5/trunk/libf/phylmd
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phylmd/iostart.F90
r1403 r1619 177 177 ierr=NF90_GET_VAR(nid_start,varid,field_glo) 178 178 IF (ierr/=NF90_NOERR) THEN 179 ! La variable exist dans le fichier mais la lecture a echouee. 179 180 PRINT*, 'phyetat0: Lecture echouee pour <'//field_name//'>' 180 CALL abort 181 182 IF (field_name=='CLWCON' .OR. field_name=='RNEBCON' .OR. field_name=='RATQS') THEN 183 ! Essaye de lire le variable sur surface uniqument, comme fait avant 184 field_glo(:)=0. 185 ierr=NF90_GET_VAR(nid_start,varid,field_glo(1:klon_glo)) 186 IF (ierr/=NF90_NOERR) THEN 187 PRINT*, 'phyetat0: Lecture echouee aussi en 2D pour <'//field_name//'>' 188 CALL abort 189 ELSE 190 PRINT*, 'phyetat0: La variable <'//field_name//'> lu sur surface seulement'!, selon ancien format, le reste mis a zero' 191 END IF 192 ELSE 193 CALL abort 194 ENDIF 181 195 ENDIF 182 196 -
LMDZ5/trunk/libf/phylmd/phyetat0.F
r1458 r1619 749 749 ENDIF 750 750 751 u_ancien = 0.0 !AXC: We don't have u_ancien and v_ancien in the start 752 v_ancien = 0.0 !AXC: files, therefore they have to be initialized. 753 c 751 CALL get_field("UANCIEN",u_ancien,found) 752 IF (.NOT. found) THEN 753 PRINT*, "phyetat0: Le champ <UANCIEN> est absent" 754 PRINT*, "Depart legerement fausse. Mais je continue" 755 ancien_ok = .FALSE. 756 ENDIF 757 758 CALL get_field("VANCIEN",v_ancien,found) 759 IF (.NOT. found) THEN 760 PRINT*, "phyetat0: Le champ <VANCIEN> est absent" 761 PRINT*, "Depart legerement fausse. Mais je continue" 762 ancien_ok = .FALSE. 763 ENDIF 754 764 755 765 clwcon=0. 756 CALL get_field("CLWCON",clwcon (:,1),found)766 CALL get_field("CLWCON",clwcon,found) 757 767 IF (.NOT. found) THEN 758 768 PRINT*, "phyetat0: Le champ CLWCON est absent" … … 766 776 c 767 777 rnebcon = 0. 768 CALL get_field("RNEBCON",rnebcon (:,1),found)778 CALL get_field("RNEBCON",rnebcon,found) 769 779 IF (.NOT. found) THEN 770 780 PRINT*, "phyetat0: Le champ RNEBCON est absent" … … 781 791 c 782 792 ratqs=0. 783 CALL get_field("RATQS",ratqs (:,1),found)793 CALL get_field("RATQS",ratqs,found) 784 794 IF (.NOT. found) THEN 785 795 PRINT*, "phyetat0: Le champ <RATQS> est absent" -
LMDZ5/trunk/libf/phylmd/phyredem.F
r1458 r1619 267 267 268 268 CALL put_field("QANCIEN","QANCIEN",q_ancien) 269 269 270 CALL put_field("UANCIEN","",u_ancien) 271 272 CALL put_field("VANCIEN","",v_ancien) 273 270 274 CALL put_field("RUGMER","Longueur de rugosite sur mer", 271 275 . frugs(:,is_oce)) 272 276 273 CALL put_field("CLWCON","Eau liquide convective",clwcon (:,1))274 275 CALL put_field("RNEBCON","Nebulosite convective",rnebcon (:,1))276 277 CALL put_field("RATQS", "Ratqs",ratqs (:,1))277 CALL put_field("CLWCON","Eau liquide convective",clwcon) 278 279 CALL put_field("RNEBCON","Nebulosite convective",rnebcon) 280 281 CALL put_field("RATQS", "Ratqs",ratqs) 278 282 c 279 283 c run_off_lic_0
Note: See TracChangeset
for help on using the changeset viewer.