-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathemout.f90
More file actions
21 lines (15 loc) · 731 Bytes
/
emout.f90
File metadata and controls
21 lines (15 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SUBROUTINE emout(ROFILE,LUN)
use cglow,only: jmax,idate
use cglow,only: ut,glat,glong,f107,f107p,f107a
use cglow,only: zz,aglw,sza,dip,xuvfac,ztn,zti,zte,zo,zo2,zns,zn2,ecalc,zxden,zeta
implicit none
integer,intent(in) :: lun
character(len=40),intent(in) :: rofile
integer :: j, ii
! write(6, "(' lun, rofile ')") lun, " ", rofile
open(unit=lun,file=rofile,status='unknown')
write(lun,"(' Z 3371 4278 5200 5577 6300 7320 10400 3644 7774 8446 3726 LBH 1356 1493 1304')")
write(lun,"(1x,f10.1,15f10.2)")(zz(j),(zeta(ii,j),ii=1,15),j=1,jmax)
close(lun)
return
end subroutine emout