57 '$Id: CRTM_AerosolCoeff.f90 60152 2015-08-13 19:19:13Z paul.vandelst@noaa.gov $' 59 INTEGER,
PARAMETER ::
ml = 256
155 File_Path , & ! Optional input
156 Quiet , & ! Optional input
157 Process_ID , & ! Optional input
161 CHARACTER(*),
INTENT(IN) :: filename
162 CHARACTER(*),
OPTIONAL,
INTENT(IN) :: file_path
163 LOGICAL ,
OPTIONAL,
INTENT(IN) :: quiet
164 INTEGER ,
OPTIONAL,
INTENT(IN) :: process_id
165 INTEGER ,
OPTIONAL,
INTENT(IN) :: output_process_id
169 CHARACTER(*),
PARAMETER :: routine_name =
'CRTM_AerosolCoeff_Load' 171 CHARACTER(ML) :: msg, pid_msg
172 CHARACTER(ML) :: aerosolcoeff_file
178 aerosolcoeff_file = adjustl(filename)
180 IF (
PRESENT(file_path) ) aerosolcoeff_file = trim(adjustl(file_path))//trim(aerosolcoeff_file)
183 IF (
PRESENT(quiet) ) noisy = .NOT. quiet
185 IF ( noisy .AND.
PRESENT(process_id) .AND.
PRESENT(output_process_id) )
THEN 186 IF ( process_id /= output_process_id ) noisy = .false.
189 IF (
PRESENT(process_id) )
THEN 190 WRITE( pid_msg,
'("; Process ID: ",i0)' ) process_id
199 quiet = .NOT. noisy )
200 IF ( err_stat /=
success )
THEN 201 WRITE( msg,
'("Error reading AerosolCoeff file ",a)') trim(aerosolcoeff_file)
251 INTEGER,
OPTIONAL,
INTENT(IN) :: process_id
255 CHARACTER(*),
PARAMETER :: routine_name =
'CRTM_AerosolCoeff_Destroy' 257 CHARACTER(ML) :: msg, pid_msg
262 IF (
PRESENT(process_id) )
THEN 263 WRITE( pid_msg,
'("; Process ID: ",i0)' ) process_id
272 msg =
'Error deallocating AerosolCoeff shared data structure'//trim(pid_msg)
logical function, public crtm_aerosolcoeff_isloaded()
integer, parameter, public failure
integer function, public crtm_aerosolcoeff_destroy(Process_ID)
elemental subroutine, public aerosolcoeff_destroy(AerosolCoeff)
character(*), parameter module_version_id
elemental logical function, public aerosolcoeff_associated(AerosolCoeff)
type(aerosolcoeff_type), target, save, public aeroc
recursive subroutine, public display_message(Routine_Name, Message, Error_State, Message_Log)
integer function, public crtm_aerosolcoeff_load(Filename, File_Path, Quiet, Process_ID, Output_Process_ID)
integer function, public aerosolcoeff_binary_readfile(Filename, AerosolCoeff, Quiet, Debug)
integer, parameter, public success