Changeset 1156
- Timestamp:
- Jan 8, 2014, 11:49:31 AM (11 years ago)
- Location:
- trunk/LMDZ.MARS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.MARS/README
r1130 r1156 1986 1986 module "planetwide_mod", that enable obtaining the min and max of a field 1987 1987 over the whole planet. 1988 1989 == 08/01/2014 == EM 1990 - Update of the read_dust_scenario routine: when input dust scenarios file 1991 contain variable "dustop", it is assumed to be visible extinction opacity, 1992 and if it is "cdod" (recent change, for the MCDv5.1 dust scenarios), then 1993 it is IR absorption opacity (and is multiplied by 2.6 to be converted to 1994 visible extinction opacity). -
trunk/LMDZ.MARS/libf/phymars/read_dust_scenario.F90
r1047 r1156 117 117 allocate(lat(latlen), lon(lonlen), time(timelen)) 118 118 119 ! "dustop" if loading visible extinction opacity 120 ! "cdod" if loading IR absorption opacity 119 121 ierr=nf90_inq_varid(nid,"dustop",nvarid) 120 ierr=nf90_get_var(nid,nvarid,tautes) 121 IF (ierr .NE. nf90_noerr) THEN 122 PRINT*, "Error: read_dust_scenario <dustop> not found" 123 write(*,*)trim(nf90_strerror(ierr)) 124 stop 125 ENDIF 122 if (ierr.eq.nf90_noerr) then 123 ierr=nf90_get_var(nid,nvarid,tautes) 124 IF (ierr .NE. nf90_noerr) THEN 125 PRINT*, "Error: read_dust_scenario <dustop> not found" 126 write(*,*)trim(nf90_strerror(ierr)) 127 stop 128 ENDIF 129 else 130 ! did not find "dustop" , look for "cdod" 131 ierr=nf90_inq_varid(nid,"cdod",nvarid) 132 ierr=nf90_get_var(nid,nvarid,tautes) 133 IF (ierr .NE. nf90_noerr) THEN 134 PRINT*, "Error: read_dust_scenario <cdod> not found" 135 write(*,*)trim(nf90_strerror(ierr)) 136 stop 137 ENDIF 138 ! and multiply by 2*1.3=2.6 to convert from IR absorption 139 ! to visible extinction opacity 140 tautes(:,:,:)=2.6*tautes(:,:,:) 141 endif 126 142 127 143 ierr=nf90_inq_varid(nid,"Time",nvarid)
Note: See TracChangeset
for help on using the changeset viewer.