- Timestamp:
- 07/28/08 10:27:27 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
IOIPSL/trunk/example/testrest.f90
r122 r366 18 18 REAL :: champ_read(iim,jjm,llm) 19 19 REAL :: lon(iim,jjm),lat(iim,jjm),lev(llm) 20 REAL :: x21 20 ! 22 INTEGER :: i,j,l,fid,t,ij,sig_id,hori_id,it 23 INTEGER :: day=1,month=1,year=1997 24 INTEGER :: itau=1,start,INDEX(1) 21 INTEGER :: i,j,l,fid 22 INTEGER :: day=1,month=1,year=1997,itau=1 25 23 ! 26 24 REAL :: julday,un_mois,un_an 27 25 REAL :: deltat=86400,dt_wrt,dt_op,dt_wrt2,dt_op2 28 CHARACTER*20 :: fnamein,fnameout ,keyword,value26 CHARACTER*20 :: fnamein,fnameout 29 27 ! 30 28 REAL :: pi=3.1415 … … 74 72 champ2(:,:,:) = EXP(ASIN(1.0)) 75 73 !- 76 CALL ioconf_setatt ('units',' ?')74 CALL ioconf_setatt ('units','1') 77 75 CALL ioconf_setatt ('long_name','Tests 1 for a real variable') 78 76 CALL restput (fid,'test1',iim,jjm,llm,itau,champ1) 79 77 !- 80 CALL ioconf_setatt ('units',' ?')78 CALL ioconf_setatt ('units','1') 81 79 CALL ioconf_setatt ('long_name','Tests 2 for a real variable') 82 80 CALL restput (fid,'test2',iim,jjm,llm+1,itau,champ2) … … 119 117 itau = itau+10 120 118 CALL restput (fid,'test1',iim,jjm,llm,itau,champ1) 121 CALL ioconf_setatt ('units',' ?')119 CALL ioconf_setatt ('units','1') 122 120 CALL ioconf_setatt ('long_name', & 123 121 & 'Test a variable with another dimension')
Note: See TracChangeset
for help on using the changeset viewer.