56 '$Id: CRTM_CloudCoeff.f90 60152 2015-08-13 19:19:13Z paul.vandelst@noaa.gov $' 58 INTEGER,
PARAMETER ::
ml = 256
154 File_Path , & ! Optional input
155 Quiet , & ! Optional input
156 Process_ID , & ! Optional input
160 CHARACTER(*),
INTENT(IN) :: filename
161 CHARACTER(*),
OPTIONAL,
INTENT(IN) :: file_path
162 LOGICAL ,
OPTIONAL,
INTENT(IN) :: quiet
163 INTEGER ,
OPTIONAL,
INTENT(IN) :: process_id
164 INTEGER ,
OPTIONAL,
INTENT(IN) :: output_process_id
168 CHARACTER(*),
PARAMETER :: routine_name =
'CRTM_CloudCoeff_Load' 170 CHARACTER(ML) :: msg, pid_msg
171 CHARACTER(ML) :: cloudcoeff_file
177 cloudcoeff_file = adjustl(filename)
179 IF (
PRESENT(file_path) ) cloudcoeff_file = trim(adjustl(file_path))//trim(cloudcoeff_file)
182 IF (
PRESENT(quiet) ) noisy = .NOT. quiet
184 IF ( noisy .AND.
PRESENT(process_id) .AND.
PRESENT(output_process_id) )
THEN 185 IF ( process_id /= output_process_id ) noisy = .false.
188 IF (
PRESENT(process_id) )
THEN 189 WRITE( pid_msg,
'("; Process ID: ",i0)' ) process_id
198 quiet = .NOT. noisy )
199 IF ( err_stat /=
success )
THEN 200 WRITE( msg,
'("Error reading CloudCoeff file ",a)') trim(cloudcoeff_file)
249 INTEGER,
OPTIONAL,
INTENT(IN) :: process_id
253 CHARACTER(*),
PARAMETER :: routine_name =
'CRTM_CloudCoeff_Destroy' 255 CHARACTER(ML) :: msg, pid_msg
260 IF (
PRESENT(process_id) )
THEN 261 WRITE( pid_msg,
'("; Process ID: ",i0)' ) process_id
270 msg =
'Error deallocating CloudCoeff shared data structure'//trim(pid_msg)
type(cloudcoeff_type), target, save, public cloudc
logical function, public crtm_cloudcoeff_isloaded()
integer, parameter, public failure
elemental subroutine, public cloudcoeff_destroy(CloudCoeff)
integer function, public cloudcoeff_binary_readfile(Filename, CloudCoeff, Quiet, Debug)
recursive subroutine, public display_message(Routine_Name, Message, Error_State, Message_Log)
integer function, public crtm_cloudcoeff_load(Filename, File_Path, Quiet, Process_ID, Output_Process_ID)
integer function, public crtm_cloudcoeff_destroy(Process_ID)
elemental logical function, public cloudcoeff_associated(CloudCoeff)
character(*), parameter module_version_id
integer, parameter, public success