source: ether_iasi_L1C/trunk/lec_extract_iasi.f @ 27

Last change on this file since 27 was 27, checked in by cbipsl, 17 years ago

validation creation appli extraction L1C

File size: 1.4 KB
Line 
1      program elc
2c         Header(1)=Rlat
3c         Header(2)=Rlon
4c         Header(3)=IASI_Satellite_Zenith(J,I)
5c         Header(4)=Land_Sea_Alti(J,I)
6c         Header(5)=cloud_cover(J,I)
7c         Header(6)=hh*1.e4+mn*1.e2+ss
8c         Header(7)=float(indtm*10+indjn)
9c         Header(8)=yyyymmdd
10      real head(8),mots(339)
11      real ang_sol,norb
12      integer indi(339)
13      character*200 filein
14c header : rlat,rlon,angle_zen,
15      call getarg(1,filein)
16      open(1,file=filein,form='unformatted')
17      read(1) nbmots,(indi(i),i=1,nbmots)
18       print *,'nbmots',nbmots,(indi(i),i=1,nbmots)
19
20! nbre de temperatures de brillance extraites = nbmots - nbre mots header - angle solaire - numero orbite
21      nb_TBs=nbmots-8-2
22      write(*,*) nb_TBs
23      icpt=0
24      ic=0
25      imn=0
26      imj=0
27      itn=0
28      itj=0
29! ixx calcule le nombre de points dans 4 classes combinant les indices terre/mer/jour/nuit
30* xx=mn pour mer/nuit
31 10   read(1,end=100) head,(mots(i),i=1,nb_TBs),ang_sol,norb
32        print * ,"head=",nb_TBs
33      sectta=1./cosd(head(3))
34      !write(*,1) head(1),head(6),head(8),mots(1),ang_sol,int(norb)
351     format(f8.2,2f10.0,2f8.2,i7)
36      if(head(7).eq.0) imn=imn+1
37      if(head(7).eq.1) imj=imj+1
38      if(head(7).eq.10) itn=itn+1
39      if(head(7).eq.11) itj=itj+1
40      icpt=icpt+1
41      ic=ic+1
42      goto 10
43 100  continue
44 14    format(8f11.3,2i4)
45 15    format(3f11.3,2i4)
46       print *,icpt,imn,imj,itn,itj
47      end
Note: See TracBrowser for help on using the repository browser.