Skip to content

Commit

Permalink
Merge branch 'NOAA-EMC:develop' into feature/fv3reg_parallel_io_upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
TingLei-daprediction authored Mar 5, 2024
2 parents f8f8d20 + fca6bea commit f8ddae5
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions src/gsi/read_cris.f90
Original file line number Diff line number Diff line change
Expand Up @@ -334,14 +334,18 @@ subroutine read_cris(mype,val_cris,ithin,isfcalc,rmesh,jsatid,gstime,&
spc_filename = trim(crtm_coeffs_path)//'viirs-m_n20.SpcCoeff.bin'
sensorlist_imager = 'viirs-m_n20'
inquire(file=trim(spc_filename), exist=imager_coeff)
if ( .not. imager_coeff ) spc_filename = trim(crtm_coeffs_path)//'viirs-m_j1.SpcCoeff.bin'
sensorlist_imager = 'viirs-m_j1'
if ( .not. imager_coeff ) then
spc_filename = trim(crtm_coeffs_path)//'viirs-m_j1.SpcCoeff.bin'
sensorlist_imager = 'viirs-m_j1'
endif
elseif ( trim(jsatid) == 'n21' ) then
spc_filename = trim(crtm_coeffs_path)//'viirs-m_n21.SpcCoeff.bin'
sensorlist_imager = 'viirs-m_n21'
inquire(file=trim(spc_filename), exist=imager_coeff)
if ( .not. imager_coeff ) spc_filename = trim(crtm_coeffs_path)//'viirs-m_j2.SpcCoeff.bin'
sensorlist_imager = 'viirs-m_j2'
if ( .not. imager_coeff ) then
spc_filename = trim(crtm_coeffs_path)//'viirs-m_j2.SpcCoeff.bin'
sensorlist_imager = 'viirs-m_j2'
endif
endif
inquire(file=trim(spc_filename), exist=imager_coeff)
if ( imager_coeff ) then
Expand Down

0 comments on commit f8ddae5

Please sign in to comment.