MONC
|
Functions/Subroutines | |
subroutine | read_mcclatchey_profiles (current_state, mcc) |
subroutine | check_mcc_status (status) |
Will check for a NetCDF status of the McClatchey profile file and write to log_log error any decoded statuses. More... | |
subroutine | read_mcc_dimensions (ncid, plev_dim) |
Reads the dimensions from the NetCDF file. More... | |
subroutine | read_mcc_variables (filename, ncid, plev_dim, MCC_PROFILE_KEY, temp_mcc_3d, plev) |
subroutine | read_single_mcc_variable (ncid, key, data1d, data3d) |
Reads a single variable out of a NetCDF file. More... | |
subroutine | calculate_radiation_levels (current_state, mcc) |
Variables | |
character(len= *), parameter | pressure_key = "plev" |
NetCDF data plev key in McClatchey profile. More... | |
character(len= *), parameter | temperature_profile_key = "t" |
NetCDF data for temperature. More... | |
character(len= *), parameter | vapour_profile_key = "q" |
NetCDF data for vapour. More... | |
character(len= *), parameter | ozone_profile_key = "o3" |
NetCDF data for ozone. More... | |
subroutine mcclatchey_profiles::calculate_radiation_levels | ( | type(model_state_type), intent(inout), target | current_state, |
type(str_mcc_profiles), intent(inout) | mcc | ||
) |
Definition at line 235 of file mcclatchey_profiles.F90.
subroutine mcclatchey_profiles::check_mcc_status | ( | integer, intent(in) | status | ) |
Will check for a NetCDF status of the McClatchey profile file and write to log_log error any decoded statuses.
status | The NetCDF status flag |
Definition at line 144 of file mcclatchey_profiles.F90.
subroutine mcclatchey_profiles::read_mcc_dimensions | ( | integer, intent(in) | ncid, |
integer, intent(out) | plev_dim | ||
) |
Reads the dimensions from the NetCDF file.
ncid | The NetCDF file id |
time_dim | Number of elements in the time dimension |
Definition at line 158 of file mcclatchey_profiles.F90.
subroutine mcclatchey_profiles::read_mcc_variables | ( | character(*), intent(in) | filename, |
integer, intent(in) | ncid, | ||
integer, intent(in) | plev_dim, | ||
character(*), intent(in) | MCC_PROFILE_KEY, | ||
real(kind=default_precision), dimension(:,:,:), intent(inout), allocatable | temp_mcc_3d, | ||
real(kind=default_precision), dimension(:), intent(inout), optional, allocatable | plev | ||
) |
Definition at line 169 of file mcclatchey_profiles.F90.
subroutine mcclatchey_profiles::read_mcclatchey_profiles | ( | type(model_state_type), intent(inout), target | current_state, |
type(str_mcc_profiles), intent(inout) | mcc | ||
) |
subroutine mcclatchey_profiles::read_single_mcc_variable | ( | integer, intent(in) | ncid, |
character(len=*), intent(in) | key, | ||
real(kind=default_precision), dimension(:), intent(inout), optional | data1d, | ||
real(kind=default_precision), dimension(:,:,:), intent(inout), optional | data3d | ||
) |
Reads a single variable out of a NetCDF file.
ncid | The NetCDF file id |
key | The variable key (name) to access |
data1d | Optional one dimensional data to read into |
data3d | Optional three dimensional data to read into |
Definition at line 211 of file mcclatchey_profiles.F90.
character(len=*), parameter mcclatchey_profiles::ozone_profile_key = "o3" |
NetCDF data for ozone.
Definition at line 16 of file mcclatchey_profiles.F90.
character(len=*), parameter mcclatchey_profiles::pressure_key = "plev" |
NetCDF data plev key in McClatchey profile.
Definition at line 16 of file mcclatchey_profiles.F90.
character(len=*), parameter mcclatchey_profiles::temperature_profile_key = "t" |
NetCDF data for temperature.
Definition at line 16 of file mcclatchey_profiles.F90.
character(len=*), parameter mcclatchey_profiles::vapour_profile_key = "q" |
NetCDF data for vapour.
Definition at line 16 of file mcclatchey_profiles.F90.