Skip to content

Commit

Permalink
fixed a bug with identifier Obs_Time and revoved various comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
wx20jjung committed Sep 17, 2023
1 parent fd99173 commit e712434
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/gsi/setuprad.f90
Original file line number Diff line number Diff line change
Expand Up @@ -958,8 +958,6 @@ subroutine setuprad(obsLL,odiagLL,lunin,mype,aivals,stats,nchanl,nreal,nobs,&
cld = total_cloud_cover
else

! If not allsky

! Generate model derived imager values for IASI or CrIS for CADS

if ((iasi_cads .and. iasi) .or. (cris_cads .and. cris)) then
Expand All @@ -971,10 +969,8 @@ subroutine setuprad(obsLL,odiagLL,lunin,mype,aivals,stats,nchanl,nreal,nobs,&
obstype_cads = 'avhrr'
nchanl_cads = 3 ! CRTM channels 3 - 5
elseif ( cris ) then
!! isis_cads = 'viirs-m'//isis(itmp1+1:itmp2)
!! isis_cads = 'viirs-m'//isis(itmp1+1:itmp2) When naming convention becomes standarized with CrIS
if ( isis == 'cris-fsr_npp' ) isis_cads = 'viirs-m_npp'
! if ( isis == 'cris-fsr_n20' ) isis_cads = 'viirs-m_n20'
! if ( isis == 'cris-fsr_n21' ) isis_cads = 'viirs-m_n21'
if ( isis == 'cris-fsr_n20' ) isis_cads = 'viirs-m_j1'
if ( isis == 'cris-fsr_n21' ) isis_cads = 'viirs-m_j2'
obstype_cads = 'viirs-m'
Expand Down Expand Up @@ -2659,7 +2655,7 @@ subroutine contents_netcdf_diag_(odiags,idv,iob)

call nc_diag_metadata_to_single("Elevation",zsges ) ! model (guess) elevation at observation location

call nc_diag_metadata_to_single("Time",dtime,time_offset,'-')
call nc_diag_metadata_to_single("Obs_Time",dtime,time_offset,'-')

call nc_diag_metadata_to_single("Scan_Position",data_s(iscan_pos,n) ) ! sensor scan position
call nc_diag_metadata_to_single("Sat_Zenith_Angle", zasat,rad2deg,'*') ! satellite zenith angle (degrees)
Expand Down

0 comments on commit e712434

Please sign in to comment.