Changeset 3674 for trunk/LMDZ.PLUTO/libf/phypluto/hazecloud.F90
- Timestamp:
- Mar 10, 2025, 2:49:16 PM (3 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LMDZ.PLUTO/libf/phypluto/hazecloud.F90
r3585 r3674 1 subroutine hazecloud(ngrid,nlayer,nq,ptimestep, &1 subroutine hazecloud(ngrid,nlayer,nq,ptimestep,zday, & 2 2 pplay,pplev,pq,pdq,pdist_sol,mu0,pfluxuv,zdqhaze, & 3 3 zdqphot_prec,zdqphot_ch4,zdqconv_prec,declin) … … 49 49 DATA firstcall/.true./ 50 50 REAL ptimestep 51 REAL zday 51 52 REAL pplay(ngrid,nlayer),pplev(ngrid,nlayer+1) 52 53 REAL,INTENT(IN) :: pq(ngrid,nlayer,nq) … … 124 125 ELSE 125 126 ! 1) get longitude/latitude (rad) of anti-subsolar point (max de mu0 - 180) 126 longit=longitude((MAXLOC(mu0,DIM=1,MASK=mu0.GT.0.9))) ! rad 127 IF (longit.GE.0) THEN 128 longit=longit-pi 129 ELSE 130 longit=longit+pi 127 longit=-(zday-int(zday))*2.*pi 128 IF (longit.LE.-pi) THEN 129 longit=longit+2.*pi 131 130 ENDIF 132 131 latit=-declin ! rad 133 134 132 ! 2) Define input parameter for the fit 135 133 valmin=48.74e10 ! minimum value of ipm flux in ph/m2/s
Note: See TracChangeset
for help on using the changeset viewer.