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

dtc/hwrf-physics: update from HAFS community and fix FA table initialization (#450) #453

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented May 14, 2020

This PR:

Associated PRs:
#453
NCAR/fv3atm#50
NCAR/ufs-weather-model#48

For regression testing information, see NCAR/ufs-weather-model#48.

AnningCheng-NOAA and others added 30 commits May 31, 2019 22:34
commit 107b22d
Merge: 43e0e38 73f9f09
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Mar 5 21:07:31 2020 +0000

    Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics into rrtmgp-dev2

commit 43e0e38
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Feb 27 15:49:56 2020 -0700

    Try adding many mpi_barrier commands

commit 36de8f5
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Feb 27 13:55:27 2020 -0700

    Added mpi_bast commands back in

commit 75fdb61
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 19 15:16:15 2020 -0700

    Reverted some changes

commit 93ae6cb
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 19 14:59:09 2020 -0700

    Removed deprecated files.

commit 0e954b7
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 19 14:57:25 2020 -0700

    Removed my login credential from .gitmodules.

commit 244d3ef
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 19 14:54:07 2020 -0700

    Reverted some changes.

commit e201f08
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 19 10:25:45 2020 -0700

    Cleaned up rrtmgp_lw_pre.F90

commit 1d92cfa
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 15:54:04 2020 -0700

    Reverted changes to GFS_rrtmgp_sw_pre.F90

commit b57ebfd
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 14:49:30 2020 -0700

    Revert earleir change.

commit ab6c12e
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 14:23:43 2020 -0700

    Switch back hprime to hprime(:,1)

commit 12acbb0
Merge: c5ba6f9 6d55230
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 14:05:21 2020 -0700

    Merge branch 'rrtmgp-dev2' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev2-no-mpi_bcast

commit 6d55230
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 14:04:49 2020 -0700

    Chnaged intent of lw_cloud_optical_props

commit a3cd7db
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 13:32:51 2020 -0700

    Remove using gas switches.

commit c5ba6f9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 13:31:15 2020 -0700

    Remove using gas switches.

commit c47706b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 12:25:32 2020 -0700

    changed variable name.

commit 723f740
Merge: 596229b c1bf1ae
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 11:58:18 2020 -0700

    Merge branch 'rrtmgp-dev2' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev2-no-mpi_bcast

commit c1bf1ae
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 18 11:57:44 2020 -0700

    Try using 1D hprime

commit 596229b
Merge: 9c682fc c984e90
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Feb 14 16:56:36 2020 -0700

    Merge branch 'rrtmgp-dev2' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev2-no-mpi_bcast

commit c984e90
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Feb 14 16:54:38 2020 -0700

    Cleaned up a tad.

commit 9c682fc
Merge: c2eb222 54a38d9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 12 10:45:23 2020 -0700

    Merge branch 'rrtmgp-dev2' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev2-no-mpi_bcast

commit 54a38d9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 12 10:43:24 2020 -0700

    Removed cloud-fraction rounding. Was using for debugging purposes.

commit b1e111f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 12 10:39:01 2020 -0700

    Reverted recent change.

commit 6473891
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 12 09:48:51 2020 -0700

    Reverted some local changes.

commit 8d42056
Merge: 75c479d 01ed01f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Feb 12 09:29:47 2020 -0700

    Merge branch 'master' of https://github.com/NCAR/ccpp-physics into rrtmgp-dev2

commit c2eb222
Merge: 3aa8cd4 75c479d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 11 15:16:01 2020 -0700

    Merge branch 'rrtmgp-dev2' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev2-no-mpi_bcast

    Conflicts:
    	physics/rrtmgp_lw_cloud_optics.F90
    	physics/rrtmgp_sw_cloud_optics.F90

commit 75c479d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 11 15:13:34 2020 -0700

    Updated interface to rte-rrtmgp routines.

commit 30b5237
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 11 11:09:46 2020 -0700

    Updated submodule

commit 3aa8cd4
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 11 11:08:25 2020 -0700

    Updated submodule

commit c1cec11
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 11 10:57:40 2020 -0700

    Switched to rte-rrtmgp dtc/branch.

commit 3491dcd
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Feb 11 10:55:46 2020 -0700

    Switched to rte-rrtmgp dtc/branch.

commit b67bc2d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Feb 10 16:34:52 2020 -0700

    Removed mpi calls during initialization. Reading data ona ll processors. Started from 3dfb4c9

commit 3dfb4c9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Feb 10 16:27:32 2020 -0700

    Cleaned up _init routines.

commit d351789
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jan 30 15:47:43 2020 -0700

    Move allocation statement into master processor only.

commit e7c6c8e
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jan 30 15:24:37 2020 -0700

    Try different broadcast call for character arrays.

commit be43ed8
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jan 30 14:46:01 2020 -0700

    Added a second mpi barrier.

commit 33158c7
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jan 30 14:09:54 2020 -0700

    Added mpi barrier. communicator working, i think.

commit 3e79d02
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jan 30 13:27:36 2020 -0700

    Move allocation statements.

commit 09b3c3b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 14:09:37 2020 -0700

    Added print statements to Thompson init routines.

commit ab612f4
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 12:44:25 2020 -0700

    More diagnostic print statements.

commit af24b71
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 12:03:10 2020 -0700

    Added some diagnostic print statements. Remvoe barrier commands.

commit e40e0f5
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 11:40:53 2020 -0700

    Added some diagnostic print statements.

commit d42469b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 11:12:32 2020 -0700

    Change data type to double-precision.

commit 28269a9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 10:35:04 2020 -0700

    Modification to LW gas optics init(). One more time.

commit c5ce144
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 10:05:25 2020 -0700

    Modification to LW gas optics init(). Add mpi_barrier

commit f6c4e82
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 28 09:33:50 2020 -0700

    Modification to LW gas optics init().

commit f38ef59
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 16:26:39 2020 -0700

    Some changes to MPI calls in inti() routines.

commit bb03ad3
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 15:47:19 2020 -0700

    Omission from previous commit.

commit 28243f1
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 15:25:20 2020 -0700

    Remove bcast condition on precision.

commit 01725b4
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 14:48:48 2020 -0700

    Omission from previous commit.

commit c0aab42
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 14:18:20 2020 -0700

    Some changes to MPI calls in inti() routines. New grouping.

commit fbb009f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 12:36:55 2020 -0700

    Some changes to MPI calls in inti() routines. Again and again...

commit 6e0c346
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 11:01:50 2020 -0700

    Some changes to MPI calls in inti() routines. Again...

commit 0992def
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 27 10:21:38 2020 -0700

    Some changes to MPI calls in inti() routines.

commit dd9d5ce
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 21 15:54:36 2020 -0700

    Removed diagnostic print statements.

commit 320907f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 21 15:43:21 2020 -0700

    Bug fix.

commit 64691a6
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 14 10:54:02 2020 -0700

    Added by-band lw fluxes to diagnostic output. New namelist parameter for RRTMGP: number of gaussian angles for quadrature calculation.

commit 6c8ecdd
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 13 12:49:13 2020 -0700

    Try overwriting cloud optical depth in bands1-2.

commit 5812151
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 7 11:21:44 2020 -0700

    Added some more diagnostics.

commit 203cd4a
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jan 7 10:08:21 2020 -0700

    Needed to add MPI commands to open diagnostic output file.

commit b679203
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 6 14:40:49 2020 -0700

    Fixed error in previous commit.

commit 04ad9ed
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 6 13:40:06 2020 -0700

    Added longitude/latitude to output stream. Needed to sort through MPI output.

commit 5542aca
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jan 6 11:22:38 2020 -0700

    Added diagnostics for LW clouds.

commit ec093b2
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Jan 3 14:58:39 2020 -0700

    Reverted some recent changes.

commit 323e6f9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Jan 3 14:17:52 2020 -0700

    Added number_of_gaussian angles to LW calculation.

commit a564c8b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jan 2 12:02:56 2020 -0700

    Moved aggregation into conditional loop. LW only.

commit 2e161eb
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 31 11:34:47 2019 -0700

    Moved GFS_rrtmgp_lw_pre.F90 to rrtmgp_lw_pre.F90

commit edcb672
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 31 08:47:37 2019 -0700

    Added diffusivity angle adjustment to LW.

commit 28bea10
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Dec 19 16:00:00 2019 -0700

    Removed diagnostic cloud outputs.

commit b2d42f3
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Dec 19 14:20:35 2019 -0700

    Fix rounding error in G cloud-sampling test. Add diagnostics for cloud microphysics

commit 4d3515d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 17 11:08:09 2019 -0700

    Round cloud-fractions to avoid McICA sampling error. In RRTMG as well.

commit 5b02c9e
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 17 10:18:24 2019 -0700

    Round cloud-fractions to avoid McICA sampling error.

commit e30305d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 15:53:19 2019 -0700

    Fixed error in .meta file.

commit 1526e7d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 14:10:54 2019 -0700

    Treat surface albedo exactly as in RRTMG. For SW bands 1-9, use nIR; For band 10, use average of nIR and uvVIS; For bands 11-24, use uvVIS.

commit e105f48
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 13:50:35 2019 -0700

    Revert "Delta-scale SW before incrementing aerosol optics."

    This reverts commit 122a750.

commit 81abe37
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 13:50:10 2019 -0700

    Revert "Revert "Removed MPI for testing in UFS.""

    This reverts commit 8c5ead8.

commit 8c5ead8
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 13:48:41 2019 -0700

    Revert "Removed MPI for testing in UFS."

    This reverts commit 4dcb001.

commit 122a750
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 12:29:31 2019 -0700

    Delta-scale SW before incrementing aerosol optics.

commit 4dcb001
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 11:56:21 2019 -0700

    Removed MPI for testing in UFS.

commit 86a2482
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 16 11:04:06 2019 -0700

    Fixed MPI calls in lw cloud optics.

commit 8c46c34
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Dec 13 15:10:42 2019 -0700

    Some more cleanup and documenting. Added initialization routine for cloud-sampling routines.

commit 0ea0a12
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Dec 13 13:44:15 2019 -0700

    Turned MPI on for rrtmgp gas-optics, omission from last commit.

commit 9ec9667
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Dec 13 13:05:16 2019 -0700

    Turned MPI on for rrtmgp gas-optics

commit 1943d14
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Dec 13 09:53:55 2019 -0700

    Removed all instances of GFS derived data types from rrtmgp scheme level code.

commit def30ce
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Dec 12 17:09:10 2019 -0700

    Started removing GFS DDTs from RRTMGP scheme.

commit 9a47ad3
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Dec 12 14:19:48 2019 -0700

    Added aerosol and cloud-sampling schemes.

commit 9bd2dbb
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Dec 11 16:07:46 2019 -0700

    Express layer-thinkness in meters?

commit ddebe45
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Dec 11 14:33:40 2019 -0700

    Alebdos (nIR and uvvis) are being averaged in rrtmg, did same in rrtmgp. Sneaky

commit ac6d7a5
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Dec 11 10:38:43 2019 -0700

    Moved some interstitial firelds out of GFS_interstitial_type into flat fields.

commit b16c6c7
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Dec 11 09:19:43 2019 -0700

    Removed MPI calls.

commit 6cdd545
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 10 15:25:31 2019 -0700

    Try calling mpi_barrier just before gas_optics%load

commit a59b898
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 10 14:46:50 2019 -0700

    Added some print statements

commit 92817d2
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 10 13:56:38 2019 -0700

    Removed mpi calls in lw gas optics. Test reading in data on all processors.

commit dcb8e46
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 10 11:05:25 2019 -0700

    Add print statements, check LW optical-depth on all processors.

commit 782ecb0
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 10 10:12:41 2019 -0700

    Reverted broadcast call for scalars

commit 25974eb
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 10 09:49:32 2019 -0700

    Cleaned up, added some diagnostics to test MPI in UFS.

commit 229ca59
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 16:25:31 2019 -0700

    Revert to original mpi_bcast for character arrays.

commit 0a726fd
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 16:02:30 2019 -0700

    Try using string length provided in file for broadcsting strings.

commit a25d714
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 15:21:43 2019 -0700

    Changed MPI_BCAST() for character arrays.

commit 7209345
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 14:34:52 2019 -0700

    Add mpi_barrier() calls to all initialization routines

commit e858d73
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 13:39:57 2019 -0700

    Add mpi_barrier() calls to SW gas optics initialization routine

commit fbd398f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 12:17:02 2019 -0700

    Added ifdef(mpi) around declaration in initialization routines.

commit 1bc898d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 11:56:26 2019 -0700

    Added some print statements to diagnose MPI init.

commit f471f79
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Dec 9 11:49:32 2019 -0700

    Added some print statements to diagnose MPI init.

commit 26cc6b1
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Dec 6 11:00:33 2019 -0700

    Cleaned up daytime masking in SW calculation

commit e93fc1b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Dec 5 15:05:11 2019 -0700

    Some housekeeping

commit e905e96
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Dec 5 13:59:49 2019 -0700

    Add loop over solar scaling

commit 71b6a37
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Dec 4 12:43:32 2019 -0700

    Change to diagnostic outputs for RRTMGP.

commit 993508d
Merge: f895fc0 10191cd
Author: dustinswales <dustin.swales@noaa.gov>
Date:   Wed Dec 4 09:51:31 2019 -0700

    Merge pull request #9 from dustinswales/rrtmgp-dev

    Created new rrtmgp-dev(2) branch. Something got corrupted.

commit 10191cd
Merge: c62f631 7041bd2
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 3 12:12:55 2019 -0700

    Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics into rrtmgp-dev

commit c62f631
Merge: 2752142 0f796d9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 3 19:04:48 2019 +0000

    Merge branch 'rrtmgp-dev' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev

commit 2752142
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Dec 3 19:03:57 2019 +0000

    Cleaned up a tad. Added some diagnostics for debuggind in SCM.

commit 0f796d9
Merge: d2799f4 904a433
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Nov 20 16:19:04 2019 -0700

    Merge branch 'master' of https://github.com/NCAR/ccpp-physics into rrtmgp-dev

commit d2799f4
Merge: 50b82a5 a7c38a6
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Nov 20 15:53:00 2019 -0700

    Merge branch 'dtc/develop' of https://github.com/NCAR/ccpp-physics into rrtmgp-dev

commit 50b82a5
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Nov 20 10:50:34 2019 -0700

    Delta-scaling added to SW calculation.

commit 54e0066
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Nov 7 10:59:19 2019 -0700

    Added solar constant adjustment factor to incident SW TOA flux. GP SW downward fluxes now agree with baseline G downward fluxes.

commit 69bf621
Merge: b7aa280 59717c5
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Nov 5 12:01:04 2019 -0700

    Merge remote branch 'grant-fork/cires_ugwp_namelist_fix' into rrtmgp-dev

commit b7aa280
Merge: b6cc944 78a8ed2
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Nov 5 10:03:44 2019 -0700

    Merge branch 'rrtmgp-dev' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev

commit 78a8ed2
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Nov 4 23:19:06 2019 +0000

    Made some changes. Moved fields into Interstitial type. Results still differ from baseline RRTMG.

commit b6cc944
Merge: 1f57f68 fe6c9ae
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Nov 1 10:35:35 2019 -0600

    Merge branch 'rrtmgp-dev' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev

commit fe6c9ae
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Oct 29 14:17:19 2019 +0000

    Moved RRTMGP active gases from GFS_radtend_type to GFS_control_type.

commit 1f57f68
Merge: f35effe cfafb29
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Oct 28 11:05:42 2019 -0600

    Merge branch 'gmtb/develop' of https://github.com/NCAR/ccpp-physics into rrtmgp-dev

commit f35effe
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Oct 25 22:06:21 2019 +0000

    Some more changes in MPI commands within initialization

commit 6126278
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Oct 25 17:32:46 2019 +0000

    Fixed typo in MPI_BCAST() calls

commit 2f23b93
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Oct 17 19:11:05 2019 +0000

    Remove deprecated code

commit 04bdd4f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Oct 17 18:18:28 2019 +0000

    Modified calls to radiaiton routines.

commit 816ba3f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Oct 16 22:30:12 2019 +0000

    Fixed a bug

commit 8bb1e85
Merge: 0b79698 9d6dd01
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Oct 15 18:19:58 2019 +0000

    Synced w/ upstream gmtb/develop

commit 0b79698
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Oct 9 18:01:33 2019 +0000

    Switched rte-rrtmgp submodule bracnh

commit ac30064
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Oct 9 17:54:02 2019 +0000

    updated .gitmodules

commit eba4af6
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Oct 9 17:38:22 2019 +0000

    Added RRTMGP as submodule

commit 209b572
Merge: 87d19cf ecb641e
Author: dustinswales <dustin.swales@noaa.gov>
Date:   Wed Oct 9 11:14:24 2019 -0600

    Merge pull request #8 from NCAR/gmtb/develop

    Sync with upstream Gmtb/develop

commit 87d19cf
Merge: 4520c5d 9d6b208
Author: dustinswales <dustin.swales@noaa.gov>
Date:   Wed Oct 9 10:57:16 2019 -0600

    Merge pull request #7 from dustinswales/master

    Sync with master

commit 9d6b208
Merge: 77bfcc2 ce641c9
Author: dustinswales <dustin.swales@noaa.gov>
Date:   Wed Oct 9 10:55:46 2019 -0600

    Merge pull request #6 from NCAR/master

    Sync with upstream master

commit 4520c5d
Merge: 5ebe4c0 3958a87
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Oct 8 20:15:13 2019 +0000

    Merge branch 'rrtmgp-dev' of https://github.com/dustinswales/ccpp-physics into rrtmgp-dev

commit 3958a87
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Oct 7 15:06:55 2019 -0600

    Changes were made to use RRTMGP for SW calculation, and RRTMG for the LW calculation.

commit 34d5fe1
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Sep 26 14:22:39 2019 -0600

    Working

commit e35f1b9
Merge: 4b61376 5cb9f93
Author: dustinswales <dustin.swales@noaa.gov>
Date:   Wed Sep 25 09:17:22 2019 -0600

    Merge pull request #5 from grantfirl/ticket_2050

    Ticket 2050 fix

commit 5cb9f93
Author: Grant Firl <grantf@ucar.edu>
Date:   Tue Sep 24 17:59:06 2019 -0600

    change RRTMGP scheme metadata to use instances of DDTs rather than the type definition

commit 4b61376
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Sep 24 16:29:48 2019 -0600

    Getting closer...

commit f5562ee
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Sep 24 09:55:14 2019 -0600

    Fixed some bugs in argument tables.

commit c668a6a
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Sep 23 10:56:22 2019 -0600

    Modified arg_tables. Added .meta files

commit 2ead727
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Sep 19 11:54:25 2019 -0600

    Update .gitignore

commit d6946ed
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Sep 19 11:40:36 2019 -0600

    Updated rrtmgp external

commit fa9b30e
Merge: 206a950 77bfcc2
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Sep 19 11:31:35 2019 -0600

    Merge branch 'master' into rrtmgp-dev

commit 77bfcc2
Merge: be12710 12c416a
Author: dustinswales <dustin.swales@noaa.gov>
Date:   Thu Sep 19 11:23:28 2019 -0600

    Merge pull request #1 from NCAR/master

    Sync master branch of local fork with NCAR/ccpp-physics

commit 5ebe4c0
Merge: 7f8fc0b 243abfc
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jul 1 18:23:43 2019 +0000

    Synced w/ NCAR/ccpp-physics:master

commit 7f8fc0b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jul 1 18:13:46 2019 +0000

    Correction to MPI calls.

commit f7915b9
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jun 27 18:16:17 2019 +0000

    Synced with NCAR repo.

commit fa05574
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Jun 26 21:50:30 2019 +0000

    Added rte-rrtmgp repository.

commit 206a950
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jun 24 12:17:11 2019 -0600

    Added piece for GFDL MP. Not curretnly exercised.

commit 0a100cb
Merge: c445658 be12710
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jun 20 11:32:45 2019 -0600

    Synced w/ master/

commit c445658
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jun 20 09:23:00 2019 -0600

    Fixed a few bugs, some housekeeping.

commit 9e5405c
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jun 13 16:29:43 2019 -0600

    Fixed indexing error for output fluxes.

commit c9a357a
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Jun 12 09:39:56 2019 -0600

    Added calls to compute_bc() in LW and SW gas_optics. Small bug found in mo_compute_bc. Work in progress.

commit 044c880
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Jun 11 09:28:20 2019 -0600

    Renamed two modules.

commit b882dff
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jun 10 17:17:06 2019 -0600

    Added gas_optics_sw_run() and gas_optics_lw_run() routines.

commit 52cb3a0
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Jun 7 11:33:25 2019 -0600

    Fixed potential issue in Thompson MP scheme. Cleaned up a tad.

commit 893ce88
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jun 6 16:16:17 2019 -0600

    Some housekeeping.

commit 6e2c8bd
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Jun 6 10:24:02 2019 -0600

    Some cleaning up since last commit.

commit a4bdffe
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Jun 5 16:45:48 2019 -0600

    Major reorganization. Added schemes for cloud-optics and gas optics. Added RRTMGP active gases to gfs_physics_nml.

commit f86636b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Jun 3 16:25:05 2019 -0600

    Split up init into gas and cloud _init routines. Renamed some variables to be more clear.

commit 4e0cfc8
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri May 31 15:27:09 2019 -0600

    Added back option to call RRTMG cloud_optics().

commit 57be551
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri May 31 14:25:56 2019 -0600

    Added new GFS_rrtmgp_XX_post.F90 for both SW and LW.

commit ef4ed60
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri May 31 11:54:56 2019 -0600

    Moved microphysics from GFS_rrtmgp_pre_run() into its own routine, cloud_microphysics().

commit f5dc37a
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 30 16:46:06 2019 -0600

    Remover extra-layer from GFS_rrtmgp_pre_run().

commit 1386e58
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed May 29 17:05:59 2019 -0600

    More organizational changes to RRTMGP.

commit 129b829
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue May 28 10:04:25 2019 -0600

    In progress...

commit a60e1e1
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue May 21 16:23:01 2019 -0600

    RRTMGP DDTs working!

commit 9157959
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 16 17:29:33 2019 -0600

    Move computation of RRTMGP cloud optics to suite level, only for LW.

commit f99255d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 16 15:26:34 2019 -0600

    Commit for Robert to view.

commit 3beeb50
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon May 13 11:55:41 2019 -0600

    Changes for RRTMGP DDTs to be used in CCPP.

commit e0ca272
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri May 10 10:58:06 2019 -0600

    Added metadata tables for DDTs. In CCPP/physics, started seperating pieces from suite-level to scheme level.

commit 25b2372
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 9 15:19:04 2019 -0600

    Added metadata tables to DDT definitions.

commit 232545f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed May 8 14:02:45 2019 -0600

    Added _type to all instances of ty_gas_optics_rrtmgp

commit 81f256d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed May 8 13:48:36 2019 -0600

    Add rte-rrtmgp DDTs to CCPP

commit 0a40aaa
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue May 7 15:54:57 2019 -0600

    Moved to using extension/mo_rrtmgp_clr_all_sky.F90 routines to compute fluxes.

commit 6557c76
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue May 7 15:12:14 2019 -0600

    Moved RRTMGP code to suite-level.

commit 33e087f
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 2 15:23:26 2019 -0600

    Cleaned up, added detailed comments, vectorized loops.

commit 8bbbd5b
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 2 11:34:46 2019 -0600

    Cleaned up RRTGMP_pre a bit. Modified all calculations to use Pa instead of mb.

commit 6c55b93
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu May 2 10:04:49 2019 -0600

    Fixed allocation for RRTMGP aerosol/cloudy optical property DDT. Adjusted SW aerosol band ordering in GFS_rrtmgp_pre.F90.

commit d14dba3
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed May 1 16:05:13 2019 -0600

    Fixd bug left in from last commit

commit c089f10
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed May 1 15:29:19 2019 -0600

    Same stuff as previous commit, but for SW.

commit cf6bd66
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed May 1 09:15:21 2019 -0600

    Revised LW flux calculation.

commit e92cd8c
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Apr 30 14:53:24 2019 -0600

    Housekeeping in LW. Remove diffusivity angle adjustment, Added RRTMG draw_samples, Cleaned up aerosol increment, Passing random number to RRTMGP cloud sampling.

commit 3c861b0
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Mon Apr 29 17:29:51 2019 -0600

    LW RRTMGP cloud-optics working. Also, RRTMGP cloud sampling has been implemented (in progress).

commit 67c2e26
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Wed Apr 24 10:53:16 2019 -0600

    Working./gmtb_scm twpice_control_RRTMGP_cloud

commit 5ddf44d
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Apr 18 15:41:45 2019 -0600

    SW all-sky calculation working. Microphysics needs some attention.

commit b4510ef
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Apr 16 12:26:03 2019 -0600

    Added SW clear-sky calculation.

commit 78ab01e
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Apr 16 12:20:17 2019 -0600

    Added SW clear-sky calculation.

commit 9414a90
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Tue Apr 16 12:15:03 2019 -0600

    Added ability to provide cloudy profile to radiation (RRTMG and RRTMGP).

commit 80e70c1
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Fri Mar 22 15:32:19 2019 -0600

    Added diffusivity angle correction to optical-depths.

commit 8240092
Author: Dustin Swales <dustin.swales@noaa.gov>
Date:   Thu Mar 21 16:57:34 2019 -0600

    Ported RRTMGP development from release repo. LW is working.
… branch rrtmgp-dev2-no-mpi_bcast (turn off MPI broadcasting)
RRTMGP in CCPP (NCAR#413 - based on latest code)
@climbfuji climbfuji marked this pull request as ready for review May 15, 2020 20:58
Copy link
Collaborator

@mzhangw mzhangw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good to me.

@ligiabernardet
Copy link
Collaborator

Took a cursory look, seems okay to me.

@climbfuji climbfuji merged commit 0d4717a into NCAR:dtc/hwrf-physics May 20, 2020
@climbfuji climbfuji deleted the update_dtc_hwrf_physics_from_hafs_community_and_fix_FA_table_initialization branch June 27, 2022 03:27
hannahcbarnes pushed a commit to hannahcbarnes/ccpp-physics that referenced this pull request Aug 3, 2022
* Feature/ccpp codeowners (NCAR#442)

* Per-file CODEOWNERS in ccpp/physics to set up automatic review requests

* Code cleanup. Remove used code/variables. Fix minor inconsistencies. (NCAR#440)

* Remove ESMF Alarm and TimeInterval variables from module_fv3_config.
* Variables nfhmax, nfhmax_hf are unused outside InitializeAdvertise. Declared them as local variables.
* There is no need to keep duplicates of all time related variables in atm_int_state when we can easily access them from atm_int_state%Atm.
* Remove redundant call to fms_init
* Add few missing ESMF_LogFoundError checks in module_fcst_grid_comp.F90
* Delete time_utils.F90. Unused.
* print only actual errors to stderr, everything else to stdout
* Move realizeConnectedCplFields to module_cplfields from module_cap_cpl
* Declare Atmos as module variable, and remove atmos_internalstate_wrapper
* Move code from clock_cplIntval to InitializeAdvertise
* Removed INTERNAL_FILE_NML from atmos_model.F90

* CCPP cloud cover change for Thompson MP associated with Xu Randall (NCAR#443)

* Remove old comments from GFS_typedefs.F90.
* Update logic that sets Model%cnvcld = .false.

* Wrapper for ccpp-physics NCAR#806, NCAR#807, NCAR#813 (NCAR#447)

* CCPP physics updates from PR NCAR#806(only diagnostic changes for RRTMGP - small diag-only RT impact for tests involving RRTMGP),NCAR#807 (only aborting model if sfc emis file not present when needed) ,NCAR#813(only SCM-specific physics changes)

* Wrapper for ccpp-physics NCAR#808 and 816 (roughness length over ice and NoahMP tsurf bugfix) (NCAR#452)

This PR contains the ccpp physics PR NCAR#808 and NCAR#816. 808 addresses an error in the momentum roughness length over tiles with ice. 816 fixes an occasional segfault bug related to the tsurf variable in NoahMP and updates to "improve snow simulation in NoahMP for P8".

* Use 'model set run clock' routine in FV3 NUOPC cap. (NCAR#450)

* Add 'SetRunClock' specialization routine to FV3 NUOPC cap, which sets fv3 model clock. FV3 cap does not keep local copy of clock (clock_fv3) as saved module variable anymore.
* Minor code cleanup.

* Clean up iovr=4 (exponential cloud overlapping method) in RRTMG (NCAR#445)

Clean up the exponential cloud overlapping method in RRTMG, which reflects the practice of the pre-2018 operational HWRF model.

* Bug fix for dimensions of eta level variables and WAM variables in Fortran code and CCPP metadata (NCAR#431)

* Add additional diagnostic arrays for radiation-microphysics development
* Bug fixes for WAM model runs with levr < levs

* Update inline post with latest UPP release upp_v10.0.11 (NCAR#449)

* Update UPP revision
* Add foundation temperaure in GFS read interface for inline post.

* Wrapper for ccpp-physics NCAR#812 (NCAR#453)

* update submodule pointer for regression testing of ccpp-physics#812

* MYNN sfclay (RAP suite) restart reproducibility, P8 suite definition files (NCAR#455)

* Fix uninitialized variable zmtnblck in ccpp/data/GFS_typedefs.F90
* Fix typo in CCPP standard name for ncnvwind in ccpp/data/GFS_typedefs.meta
* Add ten 2d variables required for MYNNSFC restart reproducibility to ccpp/driver/GFS_restart.F90
* create initial p8 suites, P8 initial SDFs as copies of FV3_GFS_v16_coupled_nsstNoahmpUGWPv1
and FV3_GFS_v16_nsstNoahmpUGWPv1

Co-authored-by: Denise Worthen <denise.worthen@noaa.gov>

* Fixes on initializing snow depth over ice and changes z0ice (NCAR#461)

* modify FV3GFS_io.F90 by fixing errors associated with initializing snow depth over ice in the case where both land and water coexist (i.e. fractional grid case)
* z0ice is changed to 1.0 cm from 1.1cm in atmos_model.F90

* Radar-derived microphysics temperature tendencies similar to operational HRRR (NCAR#457)

- implements a feature of the operational HRRR, radar-derived microphysics temperature tendencies applied in the first N minutes of the forecast to improve clouds in the first few hours.
* HRRR-like radar-derived temperature tendencies
* Give a warning when convection is enabled with radar tten
* Fix uninitialized variable zmtnblck in ccpp/data/GFS_typedefs.F90
* Add ten 2d variables required for MYNNSFC restart reproducibility to ccpp/driver/GFS_restart.F90

* fixing snod bug in atmos_model.F90 (NCAR#465)

* Thompson MP cloud tuning (NCAR#463)

*  Improve cloud fraction when using Thompson MP. See NCAR#809 for more details.

* Feature/hwrf legacy (NCAR#459)

* Added a new suite definition file: suite_FV3_HAFS_v0_thompson_tedmf_gfdlsf.xml. This SDF is a legacy hwrf SDF but only the GFDL surface layer scheme and the Thompson scheme are kept.

* CCPP: Update consistency checks and effective radii calculation for Thompson MP (NCAR#462)

* This PR updates the submodule pointer for ccpp-physics for the changes described in NCAR#786 (Update consistency checks and effective radii calculation for Thompson MP)

* Unified write_netcdf, add single file 'cubed_sphere_grid' output (NCAR#466)

* Unify write_netcdf and write_netcdf_parallel modules.
* Add support for writing 'cubed_sphere_grid' history files in a single netcdf file
* Code refactoring and cleanup.

* Change standard name and unit of CCPP error flag variable in CCPP framework and physics (NCAR#467)

*Change standard name and unit of CCPP error flag variable in CCPP framework and physics.

* Add code to enable ESMF managed threading (NCAR#469)

* Implement ESMF-managed-threading for fcstComp and wrtComp's.

* Revisions to repair iovr=5 cloud overlap option (NCAR#471)

*This PR addresses part 2 of CCPP issue NCAR#748 to activate the exponential-random cloud overlap method (iovr=5) in RRTMG.

* Add 2d decomposition on the write grid comp (NCAR#470)

* update write grid comp to have 2D decomposition on output grid.
* combine PR#468: Bug fix in FV3GFS_io.F90 for allocation of temp2d

Co-authored-by: Ted Mansell <ted.mansell@noaa.gov>

* 4DIAU bug when iau_filter_increments=T  (NCAR#458)

* Add lsm_cold_start variable for RUC LSM SCM support and gwdps bugfix (combined) (NCAR#475)

* add lsm_cold_start variable in GFS_typedefs.F90/meta and update ccpp/physics for testing
* includes @SMoorthi-emc 's bugfix for gwdps.f.

* add lon info in the write group (NCAR#476)

* Multiple output grids (NCAR#480)

Update fv3 cap and write grid component to enable outputting multiple domains.
This is done be creating an array of fcstGrids, and array of rout handles where each element of these arrays correspond to one atm domain.
In the write grid component updates were made to allow grid spec parameters for each output grid to be specified separately.

Co-authored-by: Gerhard Theurich <theurich@sourcespring.net>

* GPU-enabled version of Grell-Freitas convection in ccpp-physics (NCAR#479)

* Enable Thompson MP when coupling with UFS-Aerosols (NCAR#484)

* Add support for Stochastically Perturbed Parameterizations (SPP) in FV3 and add the FV3_RRFS_v1alpha SDF. (NCAR#454)

Adds the necessary code in fv3atm to allow for Stochastically Perturbed Parameterizations (SPP) in a set of RAP/HRRR-based physics parameterizations. Specific to the fv3atm repository, code in this PR defines the necessary variables associated with various SPP-related fields (e.g., logical to activate SPP, parameterization-specific SPP variables, etc.) that are then passed to ccpp-physics.

* lateral boundary fix for regional runs (NCAR#482)

* Updating pointer to ccpp/physics.

* Point to Christina's branches.

* Point to NOAA-GSL gsl/develop for ccpp/physics

Co-authored-by: Samuel Trahan (NOAA contractor) <39415369+SamuelTrahanNOAA@users.noreply.github.com>
Co-authored-by: Dusan Jovic <48258889+DusanJovic-NOAA@users.noreply.github.com>
Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>
Co-authored-by: Grant Firl <grant.firl@noaa.gov>
Co-authored-by: mzhangw <mzhangw@gmail.com>
Co-authored-by: WenMeng-NOAA <48260754+WenMeng-NOAA@users.noreply.github.com>
Co-authored-by: Denise Worthen <denise.worthen@noaa.gov>
Co-authored-by: SMoorthi-emc <47667426+SMoorthi-emc@users.noreply.github.com>
Co-authored-by: ChunxiZhang-NOAA <49283036+ChunxiZhang-NOAA@users.noreply.github.com>
Co-authored-by: Jun Wang <37633869+junwang-noaa@users.noreply.github.com>
Co-authored-by: Ted Mansell <ted.mansell@noaa.gov>
Co-authored-by: Jeff Whitaker <jswhit@fastmail.fm>
Co-authored-by: Gerhard Theurich <theurich@sourcespring.net>
Co-authored-by: DomHeinzeller <58610420+DomHeinzeller@users.noreply.github.com>
Co-authored-by: Raffaele Montuoro <raffaele.montuoro@noaa.gov>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: MatthewPyle-NOAA <48285220+MatthewPyle-NOAA@users.noreply.github.com>
Co-authored-by: samuel.trahan <Samuel.Trahan@noaa.gov>
hannahcbarnes pushed a commit to hannahcbarnes/ccpp-physics that referenced this pull request Aug 3, 2022
* Feature/ccpp codeowners (NCAR#442)

* Per-file CODEOWNERS in ccpp/physics to set up automatic review requests

* Code cleanup. Remove used code/variables. Fix minor inconsistencies. (NCAR#440)

* Remove ESMF Alarm and TimeInterval variables from module_fv3_config.
* Variables nfhmax, nfhmax_hf are unused outside InitializeAdvertise. Declared them as local variables.
* There is no need to keep duplicates of all time related variables in atm_int_state when we can easily access them from atm_int_state%Atm.
* Remove redundant call to fms_init
* Add few missing ESMF_LogFoundError checks in module_fcst_grid_comp.F90
* Delete time_utils.F90. Unused.
* print only actual errors to stderr, everything else to stdout
* Move realizeConnectedCplFields to module_cplfields from module_cap_cpl
* Declare Atmos as module variable, and remove atmos_internalstate_wrapper
* Move code from clock_cplIntval to InitializeAdvertise
* Removed INTERNAL_FILE_NML from atmos_model.F90

* CCPP cloud cover change for Thompson MP associated with Xu Randall (NCAR#443)

* Remove old comments from GFS_typedefs.F90.
* Update logic that sets Model%cnvcld = .false.

* Wrapper for ccpp-physics NCAR#806, NCAR#807, NCAR#813 (NCAR#447)

* CCPP physics updates from PR NCAR#806(only diagnostic changes for RRTMGP - small diag-only RT impact for tests involving RRTMGP),NCAR#807 (only aborting model if sfc emis file not present when needed) ,NCAR#813(only SCM-specific physics changes)

* Wrapper for ccpp-physics NCAR#808 and 816 (roughness length over ice and NoahMP tsurf bugfix) (NCAR#452)

This PR contains the ccpp physics PR NCAR#808 and NCAR#816. 808 addresses an error in the momentum roughness length over tiles with ice. 816 fixes an occasional segfault bug related to the tsurf variable in NoahMP and updates to "improve snow simulation in NoahMP for P8".

* Use 'model set run clock' routine in FV3 NUOPC cap. (NCAR#450)

* Add 'SetRunClock' specialization routine to FV3 NUOPC cap, which sets fv3 model clock. FV3 cap does not keep local copy of clock (clock_fv3) as saved module variable anymore.
* Minor code cleanup.

* Clean up iovr=4 (exponential cloud overlapping method) in RRTMG (NCAR#445)

Clean up the exponential cloud overlapping method in RRTMG, which reflects the practice of the pre-2018 operational HWRF model.

* Bug fix for dimensions of eta level variables and WAM variables in Fortran code and CCPP metadata (NCAR#431)

* Add additional diagnostic arrays for radiation-microphysics development
* Bug fixes for WAM model runs with levr < levs

* Update inline post with latest UPP release upp_v10.0.11 (NCAR#449)

* Update UPP revision
* Add foundation temperaure in GFS read interface for inline post.

* Wrapper for ccpp-physics NCAR#812 (NCAR#453)

* update submodule pointer for regression testing of ccpp-physics#812

* MYNN sfclay (RAP suite) restart reproducibility, P8 suite definition files (NCAR#455)

* Fix uninitialized variable zmtnblck in ccpp/data/GFS_typedefs.F90
* Fix typo in CCPP standard name for ncnvwind in ccpp/data/GFS_typedefs.meta
* Add ten 2d variables required for MYNNSFC restart reproducibility to ccpp/driver/GFS_restart.F90
* create initial p8 suites, P8 initial SDFs as copies of FV3_GFS_v16_coupled_nsstNoahmpUGWPv1
and FV3_GFS_v16_nsstNoahmpUGWPv1

Co-authored-by: Denise Worthen <denise.worthen@noaa.gov>

* Fixes on initializing snow depth over ice and changes z0ice (NCAR#461)

* modify FV3GFS_io.F90 by fixing errors associated with initializing snow depth over ice in the case where both land and water coexist (i.e. fractional grid case)
* z0ice is changed to 1.0 cm from 1.1cm in atmos_model.F90

* Radar-derived microphysics temperature tendencies similar to operational HRRR (NCAR#457)

- implements a feature of the operational HRRR, radar-derived microphysics temperature tendencies applied in the first N minutes of the forecast to improve clouds in the first few hours.
* HRRR-like radar-derived temperature tendencies
* Give a warning when convection is enabled with radar tten
* Fix uninitialized variable zmtnblck in ccpp/data/GFS_typedefs.F90
* Add ten 2d variables required for MYNNSFC restart reproducibility to ccpp/driver/GFS_restart.F90

* fixing snod bug in atmos_model.F90 (NCAR#465)

* Thompson MP cloud tuning (NCAR#463)

*  Improve cloud fraction when using Thompson MP. See NCAR#809 for more details.

* Feature/hwrf legacy (NCAR#459)

* Added a new suite definition file: suite_FV3_HAFS_v0_thompson_tedmf_gfdlsf.xml. This SDF is a legacy hwrf SDF but only the GFDL surface layer scheme and the Thompson scheme are kept.

* CCPP: Update consistency checks and effective radii calculation for Thompson MP (NCAR#462)

* This PR updates the submodule pointer for ccpp-physics for the changes described in NCAR#786 (Update consistency checks and effective radii calculation for Thompson MP)

* Unified write_netcdf, add single file 'cubed_sphere_grid' output (NCAR#466)

* Unify write_netcdf and write_netcdf_parallel modules.
* Add support for writing 'cubed_sphere_grid' history files in a single netcdf file
* Code refactoring and cleanup.

* Change standard name and unit of CCPP error flag variable in CCPP framework and physics (NCAR#467)

*Change standard name and unit of CCPP error flag variable in CCPP framework and physics.

* Add code to enable ESMF managed threading (NCAR#469)

* Implement ESMF-managed-threading for fcstComp and wrtComp's.

* Revisions to repair iovr=5 cloud overlap option (NCAR#471)

*This PR addresses part 2 of CCPP issue NCAR#748 to activate the exponential-random cloud overlap method (iovr=5) in RRTMG.

* Add 2d decomposition on the write grid comp (NCAR#470)

* update write grid comp to have 2D decomposition on output grid.
* combine PR#468: Bug fix in FV3GFS_io.F90 for allocation of temp2d

Co-authored-by: Ted Mansell <ted.mansell@noaa.gov>

* 4DIAU bug when iau_filter_increments=T  (NCAR#458)

* Add lsm_cold_start variable for RUC LSM SCM support and gwdps bugfix (combined) (NCAR#475)

* add lsm_cold_start variable in GFS_typedefs.F90/meta and update ccpp/physics for testing
* includes @SMoorthi-emc 's bugfix for gwdps.f.

* add lon info in the write group (NCAR#476)

* Multiple output grids (NCAR#480)

Update fv3 cap and write grid component to enable outputting multiple domains.
This is done be creating an array of fcstGrids, and array of rout handles where each element of these arrays correspond to one atm domain.
In the write grid component updates were made to allow grid spec parameters for each output grid to be specified separately.

Co-authored-by: Gerhard Theurich <theurich@sourcespring.net>

* GPU-enabled version of Grell-Freitas convection in ccpp-physics (NCAR#479)

* Enable Thompson MP when coupling with UFS-Aerosols (NCAR#484)

* Add support for Stochastically Perturbed Parameterizations (SPP) in FV3 and add the FV3_RRFS_v1alpha SDF. (NCAR#454)

Adds the necessary code in fv3atm to allow for Stochastically Perturbed Parameterizations (SPP) in a set of RAP/HRRR-based physics parameterizations. Specific to the fv3atm repository, code in this PR defines the necessary variables associated with various SPP-related fields (e.g., logical to activate SPP, parameterization-specific SPP variables, etc.) that are then passed to ccpp-physics.

* lateral boundary fix for regional runs (NCAR#482)

* Feature: NSSL Microphysics support (NCAR#472)

Supports CCPP with new NSSL microphysics scheme, which has separate hydrometeor categories for graupel and hail (Mansell et al. 2010, JAS). This PR allows fv3atm to compile correctly with CCPP+NSSL, but a further update to atmos_cubed_sphere is needed to run correctly. The NSSL scheme is used in NSSL's daily FV3 convection-allowing forecasts, and the scheme itself is aimed at this scale (dx <= 4km). Testing is underway also with a preliminary Warn-on-Forecast FV3 ensemble.

* Add p8b SDF (NCAR#491)

* add p8 suite files
* fix 2phases intermediate restart

Co-authored-by: Raffaele Montuoro <raffaele.montuoro@noaa.gov>
Co-authored-by: Jun Wang <jun.wang@noaa.gov>

* Split CCPP finalize into physics_finalize and (framework) finalize; minor CCPP cleanup and documentation updates (NCAR#487)

* Minor cleanup and documentation updates for CCPP; split CCPP finalize into physics_finalize and (framework) finalize

* Add 'valid time' variable using ISO string format (NCAR#492)

Add 'valid time' variable using ISO string format to netcdf history files.
Use double precision variable to set value of 'time' attribute in wrt comp import state
Update ccpp/physics (setting surface-related interstitial variables for SCM prescribed-surface-flux mode)
Update inline_post_stub.F90 subroutine interfaces to match inline_post.F90

Co-authored-by: Ted Mansell <ted.mansell@noaa.gov>
Co-authored-by: Grant Firl <grant.firl@noaa.gov>

* Fix Lambert Conformal Conic mapping in the write component on the southern hemisphere (NCAR#497)

Subroutine `lambert` in the write component has been fixed to do the mapping on the southern hemisphere correctly.

* Rectify total number of Thompson MP species for PBL mixing (NCAR#509)

* update upp revision (NCAR#505)

* move some parameters in mynn surface layer to namelist options

* land surface upgrades for p8c (NCAR#499)

* Added capability for cdmbgwd(1) to scale GSL blocking drag (NCAR#502)

* release/p8c: it is related to ccpp-physics PBL and cumulus updates plus a bug fix to the Thompson scheme PR NCAR#882 (NCAR#503)

* change ccpp-physics branch to feature/p8c_pbl_cp branch

* change ccpp/physics in feature/p8c_pbl_cp branch

* revised GFS_typedefs.F90 for the paramters in the saSAS scheme

* sync upp

* Revert "sync upp"

This reverts commit 429d0469c92d200fa058aca6c6bd17adac7f9568.

* sync upp to 0185bb9

* Merge remote-tracking branch remote/main for ccpp-physics and update .gitmodules

* Bring AQM model into UFS (NCAR#511)

* Reset to zero coupling arrays for accumulated snow,  large scale rain, and convective rain at the end of each coupling step if coupling with chemistry model.
* Properly set kind type of literal constants defining zero and one.
* Initialize to zero canopy resistance output variablein noah/osu land-surface model subdriver.
* Re-implement radiation diagnostic output involving spectral band layer cloud optical depths (0.55 and 10 mu channels)
to prevent floating invalid errors due to uninitialized optical depth arrays.
* Temporarily disable filling export fields during the NUOPC Realize phase since it breaks coupling with aerosol component.
* Increase maximum number of input aerosol scavenging factors to accommodate AQM/CMAQ 5.2.1 chemical tracers.
* Remove inst_pres_height_surface from chemistryFieldNames as its imported already elsewhere

Co-authored-by: Raffaele Montuoro <raffaele.montuoro@noaa.gov>

* RRTMGP for prototype 8 (NCAR#498)

* Add explict treatment of convective cloud to RRTMGP.
* Some cleanup and bug fixes from previous commit. working now with Thompson MP plus radiatively active convective cloud.
* Updated physics. New interstitials.
* Added explicit MYNN-EDMF cloud coupling to RRTMGP.
* Added switches for sgs clouds in GP.
* Replaced cld_mynn_ naming convention with cld_pbl_
* Fixed inconsistency between G/GP in Thompson MP.
* Some more cleanup of cloud-fraction...
* Pulled in Qingfu's changes to ccpp-physics
* Synced physics with main
* Updated physics.
* Revert change from previous commits (sampling of different cloud types). New SDFs for p8c
* Changed arguments to implied shape.
* Renamed scheme file in SDF. Now common to both RRTMG and RRTMGP SDFs
* Syntax error in ccpp-physics
* Revert changes to names
* Renamed p8_rrtmgp SDFs
* Added bounding to temperature at layer-interface used by RRTMGP.
* Reorder loop
* Combined gp sw and lw aerosol routines. Modest speedup (~4%)

* HAFS related moving-nesting, nest coupling, and movable output grid capabilities (NCAR#501)

* Add the storm-following or specified moving-nesting capability for both the regional and global configuration.
* Expand the UFS/HAFS FV3ATM-HYCOM ocean coupling to support the static and moving nesting configuration.
* Expand the write grid component to support outputting the moving nest domain properly.
* Five HAFS related moving-nesting regression tests are added to test these newly added features. The regional_hafs RT was removed.

Co-authored-by: Dom Heinzeller <climbfuji@ymail.com>
Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>
Co-authored-by: Grant Firl <grantf@ucar.edu>
Co-authored-by: Daniel Rosen <daniel.rosen@noaa.gov>
Co-authored-by: man.zhang <Man.Zhang@noaa.gov>
Co-authored-by: William Ramstrom <William.Ramstrom@noaa.gov>
Co-authored-by: Ufuk Turuncoglu <ufuk.turuncoglu@noaa.gov>
Co-authored-by: Dusan Jovic <dusan.jovic@noaa.gov>
Co-authored-by: A-Kyle <kyle.ahern@noaa.gov>
Co-authored-by: Gerhard Theurich <theurich@sourcespring.net>
Co-authored-by: Dusan Jovic <48258889+DusanJovic-NOAA@users.noreply.github.com>

* Split GFS_typedefs.F90, rename CCPP_interstitial, import ccpp_t from ccpp_types (NCAR#508)

* Split GFS_typedefs.F90: move GFS_interstitial_type to CCPP_typedefs.F90; Rename CCPP_interstitial to GFDL_interstitial; Import ccpp_t from ccpp_types instead of ccpp_api
* Add bugfix in ccpp/data/GFS_typedefs.meta: mark input_nml_file as active only if the number of lines in the file is greater than zero

* Fix uninitialized min_rand variable in Thompson MP when using SPP (NCAR#516)

* Pass SPP namelist entries outside of stochastic physics routines.

* Fixes to SPP metadata

* Add active attribute to spp_prt_list

* Add active metadata flag to spp_stddev_cutoff

* Add active metadata flag for spp_var_list

* A bug fix for wet scavenging of aerosols and a minor modification for moisture property calculation  (NCAR#520)

* Update ccpp_prebuild_config.py for one-to-one CCPP physics schemes/files (NCAR#519)

* point to gsl/merge-develop branch

* Point to gsl/merge-develop-to-community branch for ccpp/physics

* Corrections to merge + joe updates

* Point .gitmodules to Sam's fork

* Correct issues found by reviewers

* Rename mynnpbl to mynnedmf

* Remove some empty _init and _finalize routines and update a comment in sgscloud_radpre

* Feature/lndp noahmp2 : add land perturbation scheme for Noah-MP fractional veg  (NCAR#513)

Updates to allow land perturbation scheme to be applied for Noah-MP.

Main code changes:
-added lsm_noahmp model option to lndp_type==2 land perturbation scheme (fv3-atm, stochastic_physics)
-updated comments
-cleaned up the namelists to make the different options clearer. Removed misleading lndp_each_step variable from gfs_physics_nml, and replaced it with "lndp_model_type" in the nam_sfcperts namelist for the different forecast types (cycling DA, short forecasts, perturbing only initial conditions) (fv3-atm, stochastic_physics, ufs-weather-model)
NOTE: see note below, re: specification of smc perturbation for RAP/HRRR/etc (lndp_model_type==2)
-revised code in stochastic_physics_wrapper to only allocate arrays that will be used when passed into lndp_apply_perts (fv3-atm)
-deleted unused albedo arrays in stochastic_physics_wrapper and lndp_apply_perts (fv3-atm, stochastic_physics)
-fixed bug causing precision errors when calculating the soil moisture ice content (often ~0.0; stochastic_physics)
-fixed bug in which lndp_apply_perts wasn't called for nscyc = 0. (fv3-atm)
-increased max_nvar_lndp at Jeff Ator's request (fv3-atm)
-added a new test for the Noah-MP and lndp==2 combination (ufs-weather-model)

* Add \file to smoke files

* Add hailcast code in atmos_cubed_sphere  (NCAR#528)

* Combine PROD and REPRO build options into 'Release' build type (NCAR#524)

Combined PROD and REPRO build modes into 'Release' build type. Now only 'Debug' and 'Release' build type are supported.
Both build types must produce bit-for-bit reproducible outputs using different number of threads, mpi tasks, different domain decomposition, have reproducible restarts etc.

* Unify inline post (NCAR#521)

* Unify global and regional inline posts and add bug fix for dx/dy computation.
* Update upp revision to dc8bc68
* Set up different configurations of read max/min 2m T for global and regional FV3.

* adding bug fix from jili dong and removing U* averaging

* adding bug fix from jili dong and removing U* averaging

* Remove some commented-out code from cu_gf_driver in ccpp-physics.

* Turn rrtmg smoke band 10 into a model namelist variable

* Switch ccpp-physics smoke arguments to implied shape

* Remove some stops and gotos from ccpp-physics smoke

* Remove some hard-coded constants and rename some meta entries

* Change RRTMGP to RRTMG in two P8 SDFs (NCAR#527)

* Change RRTMGP to RRTMG in suite_FV3_GFS_v17_p8 and suite_FV3_GFS_v17_coupled_p8
* deleted or modified some SDFs related to RRTMGP or Thompson schemes
* added a new SDF file for P8 with rrtmgp

* Rename some standard_names, change a unit, and remove a "use physcons"

* NSSL ccpp-physics bugfixes and new ccpp-framework debugging feature (NCAR#529)

* Set num3d correctly when using radar_tten

* Only add cnv_3d_ud_mf to the restart files when needed

* Pass some chemistry varibles to mynn_bl_driver correctly

* Correct argument passing within mynn edmf

* point to NCAR main ccpp/physics

* merge gsl institutional fork (NCAR#526)

Merge in GSL institutional fork

* point to sam's repo

* ccpp/physics: Change to GSL CODEOWNERS

* Returned the comments on soil resistance back.

* point to gsl/develop for ccpp/physics

Co-authored-by: Dusan Jovic <48258889+DusanJovic-NOAA@users.noreply.github.com>
Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>
Co-authored-by: Grant Firl <grant.firl@noaa.gov>
Co-authored-by: mzhangw <mzhangw@gmail.com>
Co-authored-by: WenMeng-NOAA <48260754+WenMeng-NOAA@users.noreply.github.com>
Co-authored-by: Denise Worthen <denise.worthen@noaa.gov>
Co-authored-by: SMoorthi-emc <47667426+SMoorthi-emc@users.noreply.github.com>
Co-authored-by: ChunxiZhang-NOAA <49283036+ChunxiZhang-NOAA@users.noreply.github.com>
Co-authored-by: Jun Wang <37633869+junwang-noaa@users.noreply.github.com>
Co-authored-by: Ted Mansell <ted.mansell@noaa.gov>
Co-authored-by: Jeff Whitaker <jswhit@fastmail.fm>
Co-authored-by: Gerhard Theurich <theurich@sourcespring.net>
Co-authored-by: DomHeinzeller <58610420+DomHeinzeller@users.noreply.github.com>
Co-authored-by: Raffaele Montuoro <raffaele.montuoro@noaa.gov>
Co-authored-by: JeffBeck-NOAA <55201531+JeffBeck-NOAA@users.noreply.github.com>
Co-authored-by: MatthewPyle-NOAA <48285220+MatthewPyle-NOAA@users.noreply.github.com>
Co-authored-by: Ted Mansell <37668594+MicroTed@users.noreply.github.com>
Co-authored-by: Jessica Meixner <jessica.meixner@noaa.gov>
Co-authored-by: Jun Wang <jun.wang@noaa.gov>
Co-authored-by: joeolson42 <Joseph.B.Olson@noaa.gov>
Co-authored-by: HelinWei-NOAA <48133472+HelinWei-NOAA@users.noreply.github.com>
Co-authored-by: mdtoyNOAA <73618848+mdtoyNOAA@users.noreply.github.com>
Co-authored-by: Brian Curtis <64433609+BrianCurtis-NOAA@users.noreply.github.com>
Co-authored-by: dustinswales <dustin.swales@noaa.gov>
Co-authored-by: Bin Liu <bin.liu@noaa.gov>
Co-authored-by: Dom Heinzeller <climbfuji@ymail.com>
Co-authored-by: Grant Firl <grantf@ucar.edu>
Co-authored-by: Daniel Rosen <daniel.rosen@noaa.gov>
Co-authored-by: man.zhang <Man.Zhang@noaa.gov>
Co-authored-by: William Ramstrom <William.Ramstrom@noaa.gov>
Co-authored-by: Ufuk Turuncoglu <ufuk.turuncoglu@noaa.gov>
Co-authored-by: Dusan Jovic <dusan.jovic@noaa.gov>
Co-authored-by: A-Kyle <kyle.ahern@noaa.gov>
Co-authored-by: ClaraDraper-NOAA <33430543+ClaraDraper-NOAA@users.noreply.github.com>
Co-authored-by: BinLi-NOAA <bin.li@noaa.gov>
HelinWei-NOAA pushed a commit to HelinWei-NOAA/ccpp-physics that referenced this pull request Feb 26, 2023
* update submodule pointer for regression testing of ccpp-physics#812
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants