Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code cleanup #53

Merged
merged 1 commit into from
Mar 21, 2018
Merged
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
17 changes: 7 additions & 10 deletions GFS_layer/GFS_initialize_scm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ subroutine GFS_initialize_scm_finalize()
end subroutine GFS_initialize_scm_finalize

!> \section arg_table_GFS_initialize_scm_run Argument Table
!! | local_name | standard_name | long_name | units | rank | type | kind | intent | optional |
!! | local_name | standard_name | long_name | units | rank | type | kind | intent | optional |
!! |----------------------|-------------------------------------------------------------|-------------------------------------------------------------------------|---------------|------|-------------------------------|-----------|--------|----------|
!! | Model | FV3-GFS_Control_type | Fortran DDT containing FV3-GFS model control parameters | DDT | 0 | GFS_control_type | | inout | F |
!! | Statein | FV3-GFS_Statein_type | Fortran DDT containing FV3-GFS prognostic state data in from dycore | DDT | 0 | GFS_statein_type | | inout | F |
Expand All @@ -42,16 +42,16 @@ end subroutine GFS_initialize_scm_finalize
!! | n_ozone_lats | number_of_latitutde_points_in_ozone_forcing_data_from_host | number of latitude points in ozone forcing data coming from host | count | 0 | integer | | in | F |
!! | n_ozone_times | number_of_time_levels_in_ozone_forcing_data_from_host | number of time levels in ozone forcing data coming from host | count | 0 | integer | | in | F |
!! | n_ozone_coefficients | number_of_coefficients_in_ozone_forcing_data_from_host | number of coeffcients in ozone forcing data coming from host | count | 0 | integer | | in | F |
!! | ozone_lat | latitude_of_ozone_forcing_data_from_host | latitude value of the ozone forcing data coming from host | degree | 1 | real | kind_phys | in | F |
!! | ozone_lat | latitude_of_ozone_forcing_data_from_host | latitude value of the ozone forcing data coming from host | degree | 1 | real | kind_phys | in | F |
!! | ozone_pres | natural_log_of_ozone_forcing_data_pressure_levels_from_host | natural logarithm of the pressure levels of the ozone forcing data | Pa | 1 | real | kind_phys | in | F |
!! | ozone_time | time_levels_in_ozone_forcing_data_from_host | time values of the ozone forcing data coming from host | day | 1 | real | kind_phys | in | F |
!! | ozone_forcing_in | ozone_forcing_from_host | ozone forcing data from host | various | 4 | real | kind_phys | in | F |
!! | errmsg | error_message | error message for error handling in CCPP | none | 0 | character | len=* | out | F |
!! | errflg | error_flag | error flag for error handling in CCPP | flag | 0 | integer | | out | F |
!! | errmsg | error_message | error message for error handling in CCPP | none | 0 | character | len=* | out | F |
!! | errflg | error_flag | error flag for error handling in CCPP | flag | 0 | integer | | out | F |
!!
subroutine GFS_initialize_scm_run (Model, Statein, Stateout, Sfcprop, &
Coupling, Grid, Tbd, Cldprop, Radtend, &
Diag, Sfccycle, Interstitial, Init_parm, n_ozone_lats, &
subroutine GFS_initialize_scm_run (Model, Statein, Stateout, Sfcprop, &
Coupling, Grid, Tbd, Cldprop, Radtend, Diag, &
Sfccycle, Interstitial, Init_parm, n_ozone_lats, &
n_ozone_layers, n_ozone_times, n_ozone_coefficients, &
ozone_lat, ozone_pres, ozone_time, ozone_forcing_in, &
errmsg, errflg)
Expand All @@ -70,9 +70,6 @@ subroutine GFS_initialize_scm_run (Model, Statein, Stateout, Sfcprop, &
use aer_cloud, only: aer_cloud_init
use module_ras, only: ras_init
use ozne_def, only: latsozp, levozp, timeoz, oz_coeff, oz_lat, oz_pres, oz_time, ozplin
#ifdef OPENMP
use omp_lib
#endif

!--- interface variables
type(GFS_control_type), intent(inout) :: Model
Expand Down