Skip to content
Open
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
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please format markdown properly.

Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@
| james-bruten-mo | James Bruten | Met Office | 2025-12-09 |
| mo-jmanners | James Manners | Met Office | 2025-12-18 |
| t00sa | Sam Clarke-Green | Met Office | 20226-03-02 |
| Pierre-siddall | Pierre Siddall | Met Office | 20226-03-16 |
18 changes: 9 additions & 9 deletions src/correlated_k/corr_k.f90
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ PROGRAM corr_k
!
!
! Local scalars:
INTEGER :: start_time(8)
INTEGER :: start_time(8)
! Start/finish of program
INTEGER :: end_time(8)
INTEGER :: end_time(8)
! End of program
INTEGER :: iu_lbl
! Unit number for input of the LbL database in HITRAN format
Expand Down Expand Up @@ -369,7 +369,7 @@ END SUBROUTINE corr_k_single
CALL open_file_in(ierr, iu_lbl, &
"Give the name of the bespoke HITRAN .bpar database.")
IF (ierr /= i_normal) THEN
WRITE(iu_err, '(A, i5)') 'Error in open_file_in: ', ierr
WRITE(iu_err, '(A, i5)') 'Error in open_file_in: ', ierr
STOP
END IF
CALL read_parsum_dat
Expand Down Expand Up @@ -401,7 +401,7 @@ END SUBROUTINE corr_k_single
CALL open_file_in(ierr, iu_lbl, &
"Give the name of the .uvxsc database.")
IF (ierr /= i_normal) THEN
WRITE(iu_err, '(A, i5)') 'Error in open_file_in: ', ierr
WRITE(iu_err, '(A, i5)') 'Error in open_file_in: ', ierr
STOP
END IF
EXIT
Expand Down Expand Up @@ -480,12 +480,12 @@ END SUBROUTINE corr_k_single
include_instrument_response=.TRUE.
CALL read_instrument_response_90(filter, ierr)
IF (ierr /= i_normal) STOP
EXIT
EXIT Inst
!
ELSE IF ( (char_if == 'N') .OR. (char_if == 'n') ) THEN
!
include_instrument_response=.FALSE.
EXIT
EXIT Inst
!
ELSE
!
Expand Down Expand Up @@ -529,7 +529,7 @@ END SUBROUTINE corr_k_single
i_line_prof_corr, l_self_broadening, n_gas_frac, gas_frac, npd_gas_frac, &
ierr)
!
! Allocate arrays for the k-fit, now that the size of the scaling
! Allocate arrays for the k-fit, now that the size of the scaling
! vector is known.
ALLOCATE(w_k(npd_k_term, Spectrum%Dim%nd_band))
ALLOCATE(k_opt(npd_k_term, Spectrum%Dim%nd_band))
Expand All @@ -545,7 +545,7 @@ END SUBROUTINE corr_k_single
l_fit_self_continuum .OR. l_fit_frn_continuum) THEN
! Select the weighting to be applied.
CALL select_weight_ck_90(i_weight, SolarSpec, l_interactive, ierr)
!
!
! Set the output file.
CALL get_free_unit(ierr, iu_k_out)
IF (ierr /= i_normal) STOP
Expand All @@ -554,7 +554,7 @@ END SUBROUTINE corr_k_single
file_k, ierr)
IF (ierr /= i_normal) STOP
END IF

! Define the output file of detailed monitoring information.
CALL get_free_unit(ierr, iu_monitor)
IF (ierr /= i_normal) STOP
Expand Down
Loading
Loading