Skip to content

Commit

Permalink
Merge pull request #169 from JCSDA/hotfix/btj_fix_version_check_spcco…
Browse files Browse the repository at this point in the history
…eff_binary_io

update to SpcCoeff_Binary_IO to fix version number check
  • Loading branch information
BenjaminTJohnson authored Aug 21, 2024
2 parents 72b1b69 + 189308d commit 068e306
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Coefficients/SpcCoeff/SpcCoeff_Binary_IO.f90
Original file line number Diff line number Diff line change
Expand Up @@ -418,7 +418,7 @@ FUNCTION SpcCoeff_Binary_ReadFile( &
END IF

! ...Read the channel data
IF( dummy%Version > 2 ) THEN
IF( dummy%Version > 3 ) THEN
! Binary coefficient version 3 introduced for TROPICS instrument.
! The SpcCoeff coefficients contain 'PolAngle' as an additional
! array.
Expand All @@ -435,7 +435,7 @@ FUNCTION SpcCoeff_Binary_ReadFile( &
SpcCoeff%Band_C2 , &
SpcCoeff%Cosmic_Background_Radiance, &
SpcCoeff%Solar_Irradiance
ELSE IF( dummy%Version < 3 ) THEN
ELSE IF( dummy%Version < 4 ) THEN
! Version 2 is the default binary SpcCoeff version for
! REL-2.4.0 and older.
READ ( fid, IOSTAT=io_stat, IOMSG=io_msg ) &
Expand Down

0 comments on commit 068e306

Please sign in to comment.