@@ -328,6 +328,7 @@ subroutine read_prepbufr(nread,ndata,nodata,infile,obstype,lunout,twindin,sis,&
328
328
integer (i_kind) ntime,itime
329
329
integer (i_kind) ierr_ps,ierr_q,ierr_t,ierr_uv,ierr_pw ! the position of error table collum
330
330
integer (i_kind) idummy1,idummy2,glret,lindx ! glret>0 means GLERL code exists.Others are dummy variables
331
+ integer (i_kind) vtcd,glcd ! virtual temp program code and GLERL program code
331
332
real (r_kind) time,timex,time_drift,timeobs,toff,t4dv,zeps
332
333
real (r_kind) qtflg,tdry,rmesh,ediff,usage,ediff_ps,ediff_q,ediff_t,ediff_uv,ediff_pw
333
334
real (r_kind) u0,v0,uob,vob,dx,dy,dx1,dy1,w00,w10,w01,w11
@@ -358,7 +359,6 @@ subroutine read_prepbufr(nread,ndata,nodata,infile,obstype,lunout,twindin,sis,&
358
359
real (r_kind) :: windsensht
359
360
360
361
real (r_double) rstation_id,qcmark_huge
361
- real (r_double) vtcd,glcd ! virtual temp program code and GLERL program code
362
362
real (r_double),dimension (8 ):: hdr,hdrtsb
363
363
real (r_double),dimension (3 ,255 ):: hdr3
364
364
real (r_double),dimension (8 ,255 ):: drfdat,qcmark,obserr,var_jb
@@ -880,10 +880,10 @@ subroutine read_prepbufr(nread,ndata,nodata,infile,obstype,lunout,twindin,sis,&
880
880
else
881
881
! warn that GLERL adjustment is not available.
882
882
print * , " WARNING: GLERL program code not in this file."
883
- glcd=- 999._r_double
883
+ glcd=- 999
884
884
endif
885
885
886
- if (print_verbose) write (6 ,' (1x,A,A,A,2(A,1x,F8.3 ))' ) ' read_prepbufr:' , &
886
+ if (print_verbose) write (6 ,' (1x,A,A,A,2(A,1x,I8 ))' ) ' read_prepbufr:' , &
887
887
trim (adjustl (obstype)),' :' , ' vtcd= ' ,vtcd,' glcd= ' ,glcd
888
888
889
889
call init_rjlists
@@ -3363,7 +3363,7 @@ subroutine sonde_ext(obsdat,tpc,qcmark,obserr,drfdat,levsio,kx,vtcd)
3363
3363
3364
3364
! !INPUT PARAMETERS:
3365
3365
integer (i_kind) , intent (in ) :: kx
3366
- real (r_double) , intent (in ) :: vtcd
3366
+ integer (i_kind) , intent (in ) :: vtcd
3367
3367
3368
3368
! !INPUT/OUTPUT PARAMETERS:
3369
3369
integer (i_kind) , intent (inout ) :: levsio
0 commit comments