Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion fix
Submodule fix updated from 324636 to e47bcf
4 changes: 3 additions & 1 deletion src/gsi/read_obs.F90
Original file line number Diff line number Diff line change
Expand Up @@ -433,7 +433,9 @@ subroutine read_obs_check (lexist,filename,jsatid,dtype,minuse,nread)
trim(subset) == 'NC005065' .or. trim(subset) == 'NC005066' .or.&
trim(subset) == 'NC005030' .or. trim(subset) == 'NC005031' .or.&
trim(subset) == 'NC005032' .or. trim(subset) == 'NC005034' .or.&
trim(subset) == 'NC005039' .or. trim(subset) == 'NC005091') then
trim(subset) == 'NC005039' .or. &
trim(subset) == 'NC005090' .or. trim(subset) == 'NC005091' .or.&
trim(subset) == 'NC005072' ) then
lexist = .true.
exit loop
endif
Expand Down
36 changes: 35 additions & 1 deletion src/gsi/read_satwnd.f90
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,12 @@ subroutine read_satwnd(nread,ndata,nodata,infile,obstype,lunout,gstime,twind,sis
itype=240
endif
endif
else if( trim(subset) == 'NC005072') then ! LEOGEO (LeoGeo) winds
if(hdrdat(1) == 854 ) then ! LeoGeo satellite ID
if(hdrdat(9) == one) then ! LEOGEO IRwinds
itype=255
endif
endif
else if( trim(subset) == 'NC005090') then ! VIIRS winds
if(hdrdat(1) >=r200 .and. hdrdat(1) <=r250 ) then ! The range of satellite IDS
if(hdrdat(9) == one) then ! VIIRS IR winds
Expand Down Expand Up @@ -868,6 +874,33 @@ subroutine read_satwnd(nread,ndata,nodata,infile,obstype,lunout,gstime,twind,sis
if(itype == 240 .and. ppb < 700.0_r_kind) qm=15
endif
endif
else if( trim(subset) == 'NC005072') then ! LEOGEO (LeoGeo) winds
if(hdrdat(1) ==854 ) then ! LEOGEO satellite ID
c_prvstg='LEOGEO'
if(hdrdat(9) == one) then !LEOGEO IR winds
itype=255
c_station_id='IR'//stationid
c_sprvstg='IR'
endif
! get quality information
call ufbrep(lunin,qcdat,3,8,iret,qcstr)
!!! Rethink this strategy!!!
qifn=qcdat(3,1)
qify=qcdat(3,2)
ee =qcdat(3,3)
!do j=1,6
!if( qify <=r105 .and. qifn <r105 .and. ee <r105) exit
!if(qcdat(2,j) <= r10000 .and. qcdat(3,j) <r10000 ) then
! if(qcdat(2,j) == one .and. qifn >r105) then
! qifn=qcdat(3,j)
! else if(qcdat(2,j) == three .and. qify >r105) then
! qify=qcdat(3,j)
! else if( qcdat(2,j) == four .and. ee >r105) then
! ee=qcdat(3,j)
! endif
!endif
!enddo
endif
else if( trim(subset) == 'NC005090') then ! VIIRS IR winds
if(hdrdat(1) >=r200 .and. hdrdat(1) <=r250 ) then ! The range of satellite IDS
c_prvstg='VIIRS'
Expand Down Expand Up @@ -1247,10 +1280,11 @@ subroutine read_satwnd(nread,ndata,nodata,infile,obstype,lunout,gstime,twind,sis
! if(itype==252) then; c_prvstg='JMA' ; c_sprvstg='IR' ; endif
! if(itype==253) then; c_prvstg='EUMETSAT' ; c_sprvstg='IR' ; endif
! if(itype==254) then; c_prvstg='EUMETSAT' ; c_sprvstg='WV' ; endif
! if(itype==255) then; c_prvstg='LEOGEO' ; c_sprvstg='IR' ; endif
! if(itype==257) then; c_prvstg='MODIS' ; c_sprvstg='IR' ; endif
! if(itype==258) then; c_prvstg='MODIS' ; c_sprvstg='WVCTOP' ; endif
! if(itype==259) then; c_prvstg='MODIS' ; c_sprvstg='WVDLAYER' ; endif
!
! if(itype==260) then; c_prvstg='VIIRS' ; c_sprvstg='IR' ; endif
! c_station_id='SATWND'

! Get information from surface file necessary for conventional data here
Expand Down