Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/main' into mrfd
Browse files Browse the repository at this point in the history
  • Loading branch information
AnningCheng-NOAA committed Oct 12, 2023
2 parents 5377c7c + c83cd17 commit e703d3b
Show file tree
Hide file tree
Showing 13 changed files with 1,391 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_fv3_ccpp_prebuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: echo "GIT_REMOTE_HASH=`git rev-parse HEAD`" >> $GITHUB_ENV

- name: Checkout latest fv3atm
run: git clone https://github.com/NOAA-EMC/fv3atm.git
run: git clone https://github.com/NCAR/fv3atm.git

- name: Initialize submodules
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Please see more information about the CCPP at the locations below.
- [CCPP Physics GitHub wiki](https://github.com/NCAR/ccpp-physics/wiki)
- [CCPP Framework GitHub wiki](https://github.com/NCAR/ccpp-framework/wiki)

For the use of CCPP with its Single Column Model, see the [Single Column Model User's Guide](http://dtcenter.org/sites/default/files/paragraph/scm-ccpp-guide-v6.0.0.pdf).
For the use of CCPP with its Single Column Model, see the [Single Column Model User's Guide](https://dtcenter.org/sites/default/files/paragraph/scm-ccpp-guide-v6-0-0.pdf).

For the use of CCPP with NOAA's Unified Forecast System (UFS), see the [UFS Medium-Range Application User's Guide](https://ufs-mrweather-app.readthedocs.io/en/latest), the [UFS Short-Range Application User's Guide](https://ufs-srweather-app.readthedocs.io/en/latest) and the [UFS Weather Model User's Guide](https://ufs-weather-model.readthedocs.io/en/latest).

Expand Down
442 changes: 442 additions & 0 deletions physics/GFS_ccpp_suite_sim_pre.F90

Large diffs are not rendered by default.

174 changes: 174 additions & 0 deletions physics/GFS_ccpp_suite_sim_pre.meta
Original file line number Diff line number Diff line change
@@ -0,0 +1,174 @@
[ccpp-table-properties]
name = GFS_ccpp_suite_sim_pre
type = scheme
dependencies = machine.F,module_ccpp_suite_simulator.F90

########################################################################
[ccpp-arg-table]
name = GFS_ccpp_suite_sim_pre_run
type = scheme
[do_ccpp_suite_sim]
standard_name = flag_for_ccpp_suite_simulator
long_name = flag for ccpp suite simulator
units = flag
dimensions = ()
type = logical
intent = in
[physics_process]
standard_name = physics_process_type_for_CCPP_suite_simulator
long_name = physics process type for CCPP suite simulator
units = mixed
dimensions = (number_of_physics_process_in_CCPP_suite_simulator)
type = base_physics_process
intent = in
[dtend]
standard_name = cumulative_change_of_state_variables
long_name = diagnostic tendencies for state variables
units = mixed
dimensions = (horizontal_loop_extent,vertical_layer_dimension,cumulative_change_of_state_variables_outer_index_max)
type = real
kind = kind_phys
intent = in
[dtidx]
standard_name = cumulative_change_of_state_variables_outer_index
long_name = index of state-variable and process in last dimension of diagnostic tendencies array AKA cumulative_change_index
units = index
dimensions = (number_of_tracers_plus_one_hundred,number_of_cumulative_change_processes)
type = integer
intent = in
[dtp]
standard_name = timestep_for_physics
long_name = physics timestep
units = s
dimensions = ()
type = real
kind = kind_phys
intent = in
[index_of_process_dcnv]
standard_name = index_of_deep_convection_process_process_in_cumulative_change_index
long_name = index of deep convection process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_process_longwave]
standard_name = index_of_longwave_heating_process_in_cumulative_change_index
long_name = index of longwave heating process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_process_shortwave]
standard_name = index_of_shortwave_heating_process_in_cumulative_change_index
long_name = index of shortwave heating process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_process_orographic_gwd]
standard_name = index_of_orographic_gravity_wave_drag_process_in_cumulative_change_index
long_name = index of orographic gravity wave drag process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_process_scnv]
standard_name = index_of_shallow_convection_process_process_in_cumulative_change_index
long_name = index of shallow convection process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_process_pbl]
standard_name = index_of_subgrid_scale_vertical_mixing_process_in_cumulative_change_index
long_name = index of subgrid scale vertical mixing process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_process_mp]
standard_name = index_of_microphysics_process_process_in_cumulative_change_index
long_name = index of microphysics transport process in second dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_temperature]
standard_name = index_of_temperature_in_cumulative_change_index
long_name = index of temperature in first dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_x_wind]
standard_name = index_of_x_wind_in_cumulative_change_index
long_name = index of x-wind in first dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[index_of_y_wind]
standard_name = index_of_y_wind_in_cumulative_change_index
long_name = index of x-wind in first dimension of array cumulative change index
units = index
dimensions = ()
type = integer
intent = in
[ntqv]
standard_name = index_of_specific_humidity_in_tracer_concentration_array
long_name = tracer index for water vapor (specific humidity)
units = index
dimensions = ()
type = integer
intent = in
[active_phys_tend]
standard_name = tendencies_for_active_process_in_ccpp_suite_simulator
long_name = tendencies for active physics process in ccpp suite simulator
units = mixed
dimensions = (horizontal_loop_extent,vertical_layer_dimension,number_of_prognostics_varaibles_in_CCPP_suite_simulator)
type = real
kind = kind_phys
intent = out
[iactive_T]
standard_name = index_for_active_T_in_CCPP_suite_simulator
long_name = index into active process tracer array for temperature in CCPP suite simulator
units = count
dimensions = ()
type = integer
intent = in
[iactive_u]
standard_name = index_for_active_u_in_CCPP_suite_simulator
long_name = index into active process tracer array for zonal wind in CCPP suite simulator
units = count
dimensions = ()
type = integer
intent = in
[iactive_v]
standard_name = index_for_active_v_in_CCPP_suite_simulator
long_name = index into active process tracer array for meridional wind in CCPP suite simulator
units = count
dimensions = ()
type = integer
intent = in
[iactive_q]
standard_name = index_for_active_q_in_CCPP_suite_simulator
long_name = index into active process tracer array for moisture in CCPP suite simulator
units = count
dimensions = ()
type = integer
intent = in
[errmsg]
standard_name = ccpp_error_message
long_name = error message for error handling in CCPP
units = none
dimensions = ()
type = character
kind = len=*
intent = out
[errflg]
standard_name = ccpp_error_code
long_name = error code for error handling in CCPP
units = 1
dimensions = ()
type = integer
intent = out
5 changes: 4 additions & 1 deletion physics/GFS_phys_time_vary.scm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -786,7 +786,10 @@ subroutine GFS_phys_time_vary_timestep_init (
fhour, iflip, jindx1_aer, jindx2_aer, &
ddy_aer, iindx1_aer, &
iindx2_aer, ddx_aer, &
levs, prsl, aer_nm)
levs, prsl, aer_nm, errmsg, errflg)
if(errflg /= 0) then
return
endif
endif

! Not needed for SCM:
Expand Down
Loading

0 comments on commit e703d3b

Please sign in to comment.