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

Merge NOAA-EMC dev/emc #65

Merged
merged 18 commits into from
Jan 22, 2021
Merged

Conversation

XiaqiongZhou-NOAA
Copy link
Contributor

Merge NOAA-EMC dev/emc

XiaqiongZhou-NOAA and others added 18 commits September 10, 2020 16:00
Merge dev/emc branch from upstream (NOAA-GFDL/GFDL_atmos_cubed_sphere)
Merge 'regional_boundary_update' from upstream
Add a positive-definite advection option
This PR contains two changes, one for avoiding crashes when the dycore debug option is turned on (in model/fv_dynamics.F90), and one for running microphysics with fewer tracers than in the input data set (in tools/external_ic.F90). This is required for Ferrier-Aligo microphysics.
* add GFSv16 dzmin change
* Add code changes in external_ic.F90 and fv_grid_tools.F90 for dev/jcsda, dycore PR NOAA-EMC#35

Co-authored-by: Jun Wang <[email protected]>
Co-authored-by: Dan Holdaway <[email protected]>
…he code (NOAA-EMC#48)

In FMS 2020.04, mpp_node is no longer supported. mpp_node was not used in the GFDL_atmos_cubed_sphere, but it was in a use statement in fv_mp_mod. This PR removes that use statement.
…can be coldstarted from RAP/HRRR input data (NOAA-EMC#49)

This PR is a cherry-pick of commit 48ea719 that went into the ufs-release/public-v2 branch of the authoritative (NOAA-GFDL) repository. See NOAA-GFDL#62 for more information.
…alize to model/fv_dynamics.F90 (NOAA-EMC#47)

Implementation of CCPP timestep_init and timestep_final phases in model/fv_dynamics.F90

Note that while these new phases are currently not doing any work, they are required for transitioning to the new CCPP code generator capgen.py (scheduled for February 2021), at which time they will be taking over some of the work that is currently done manually (allocating data for the CCPP fast physics calls).
* Add calls to ccpp_physics_timestep_init and ccpp_physics_timestep_finalize to model/fv_dynamics.F90
* Clean up CCPP preprocessor directives in dycore
* Replace IPD DDTs with GFS DDTs
* Introduce logic to switch between using GFS data types and IPD data types
* Cosmetic changes in driver/fvGFS/atmosphere.F90
@lharris4
Copy link
Contributor

lharris4 commented Jan 15, 2021 via email

@XiaqiongZhou-NOAA
Copy link
Contributor Author

Hi, Lucas, Xi Chen:
Thank you very much for carefully considering the code change. That is great.

I put some figures during the tests, here is the link
https://docs.google.com/presentation/d/1A4_YfkVNn47Fc1AyJTijUBBhQ4s-EMCwxjHcgkulO8k/edit?usp=sharing

Yes, the difference between these two formula is the the Lin's original formula is to adjust the height
above, but the revised one is to adjust the height below. My original thought was based on the slide 1 as the small delz
is likely from the lowest level (z (km+1), black line), so it is better to adjust the lower interface. The slide 2 and 3 is the comparison after dz_min increasing to 4 with the original formula and revised formula so that the model will not crash. I think they both cause some issues in a short time period. I can not tell which is better. I am OK to change them back to Lin's original one. I agree it is better to find the root reason to fix the issue.

@yangfanglin
Copy link

Based on more offline discussions between EMC and GFDL, I'd suggest

  1. still use the original equation

do k=km, 1, -1
do i=...
gz(i,j,k) = max( gz(i,j,k), gz(i,j,k+1) + dz_min )
enddo
enddo

set default dz_min to its original value

  1. include zero-gradient BC fix as another namelist option

  2. For RRFS, GFS.v17/GEFS.v13 development,  option starting on autotools... #2 shall be exercised.

  3. Keep looking for the cause of model crashes; test other solutions, including applying different terrain filters.

Fanglin

@junwang-noaa
Copy link
Collaborator

Kate, do you want to add code changes from your PR#53?

@XiaqiongZhou-NOAA
Copy link
Contributor Author

XiaqiongZhou-NOAA commented Jan 22, 2021 via email

@bensonr
Copy link
Contributor

bensonr commented Jan 22, 2021

@junwang-noaa @XiaqiongZhou-NOAA - Let's finalize and merge this PR first. Once this is completed, we can then create new PR for the updates currently pending to the NOAA-EMC fork in PR #53

@XiaqiongZhou-NOAA
Copy link
Contributor Author

XiaqiongZhou-NOAA commented Jan 22, 2021 via email

@bensonr bensonr merged commit 6062df6 into NOAA-GFDL:dev/emc Jan 22, 2021
@XiaqiongZhou-NOAA XiaqiongZhou-NOAA deleted the merge_gfdl_emc branch February 11, 2021 17:30
MicroTed pushed a commit to MicroTed/GFDL_atmos_cubed_sphere that referenced this pull request Sep 22, 2021
* Change 'mytile' to 'mygrid' corresponding to the change in atmos_cubed_sphere
MicroTed pushed a commit to MicroTed/GFDL_atmos_cubed_sphere that referenced this pull request Sep 22, 2021
* Change 'mytile' to 'mygrid' corresponding to the change in atmos_cubed_sphere
MicroTed pushed a commit to MicroTed/GFDL_atmos_cubed_sphere that referenced this pull request Sep 22, 2021
…erturbations (NOAA-GFDL#239)

* Update .gitmodules and submodule pointers for ccpp-framework and ccpp-physics for gsl/develop branch
* RUC ice for gsl/develop (replaces NOAA-GFDL#54 and NOAA-GFDL#56) (NOAA-GFDL#60) Implementation of RUC LSM ice model in CCPP
* Fix bug in gfsphysics/GFS_layer/GFS_typedefs.F90 from merge
* Remove lsm_ruc_sfc_sice from suite FV3_GSD_v0_unified_ugwp_suite and update submodule pointer for ccpp-physics
* Remove sfc_sice from ccpp/suites/suite_FV3_GSD_v0_unified_ugwp_suite.xml
* Update gsl/develop from develop 2020/12/08 (NOAA-GFDL#61)
* Fix for updating stochastic physics on separate time-step. (NOAA-GFDL#199)
This bug fix allows the random patterns in the stochastic physics persist the for a period of time (defined as SKEBINT,SPPTINT, etc.) before calculating new patterns.
The fix is to move the allocation of the saved variables into the init section of stochastic_physics_wrapper, and remove the deallocates in the run section.
* Bug fixes in (1) running with frac_grid=T and GFDL MP and (2) restarting with frac_grid=T (NOAA-GFDL#204)
* -- Pointing to Moorthi's modifications in ccpp/physics, which fixed the crash when running GFDL MP with frac_grid=T;
-- Not setting fice to zero in order to leave lake ice untouched;
-- Restart in the coupled model with the default physics is reproducible, if bad water temperature is only filtered at initial time;
Co-authored-with: Shrinivas Moorthi <[email protected]>
Co-authored-with: Denise Worthen <[email protected]>
* Revert change to .gitmodules and update submodule pointer for ccpp-physics
* Update submodule pointer for ccpp-physics - MYNN surface layer updates and bugfixes (NOAA-GFDL#63)
* Land stochastic perturbations (wrapper PR for NOAA-GFDL#65) (NOAA-GFDL#68)
* Move initialization of stochastic physics after the physics
initialization in CCPP.
* Add albedo variables to land perturbations with lndp_type=2 option. Change to accommodate soil perturbations with RUC LSM.
* Max/min soil moisture variables are introduced via GFS_Control_type
variables instead of through the use of namelist_soilveg*. This is a
more flexible way for different LSMs.
* Added pores and resid variables for max/min soil moisture to GFS_typedefs.f90.
* Remove tracer_sanitizer from all suites and from CCPP prebuild config
* Add namelist option to apply land surface perturbations at every time step, clean up stochastic_physics/stochastic_physics_wrapper.F90
* Stochastic land perturbations: add roughness length over land to the perturbed variables (NOAA-GFDL#70)
* Added roughness length over land to the perturbed variables.
* Bugfix in gfsphysics/GFS_layer/GFS_typedefs.F90: remove Diag%cldcov, in particular the reset call because the variable is not allocated
* Update .gitmodules and submodule pointer for GFDL_atmos_cubed_sphere for code review and testing
* Revert change to .gitmodules for ccpp-physics, update submodule pointer for ccpp-physics
* Revert change to .gitmodules and update submodule pointer for GFDL_atmos_cubed_sphere
Co-authored-by: DomHeinzeller <[email protected]>
Co-authored-by: Phil Pegion <[email protected]>
Co-authored-by: shansun6 <[email protected]>
Co-authored-by: tanyasmirnova <[email protected]>
laurenchilutti pushed a commit to laurenchilutti/GFDL_atmos_cubed_sphere that referenced this pull request Jan 14, 2022
…AA-GFDL#65)


* revise external_ic.F90 and fv_nudge.F90 to use allocatable arrays
laurenchilutti pushed a commit to laurenchilutti/GFDL_atmos_cubed_sphere that referenced this pull request Jan 20, 2022
…AA-GFDL#65)


* revise external_ic.F90 and fv_nudge.F90 to use allocatable arrays
binli2337 added a commit to binli2337/GFDL_atmos_cubed_sphere that referenced this pull request Feb 4, 2022
…AA-GFDL#65)


* revise external_ic.F90 and fv_nudge.F90 to use allocatable arrays
laurenchilutti added a commit to laurenchilutti/GFDL_atmos_cubed_sphere that referenced this pull request Feb 18, 2022
laurenchilutti added a commit that referenced this pull request Feb 18, 2022
* Revert "revise external_ic.F90 and fv_nudge.F90 (#68)"

This reverts commit 32b44d9.

* Revert "fixing call to pmaxmin to no longer get a compilation error when compiling with GNU."

This reverts commit 2aa049c.

* Revert "Update external_ic.F90 and fv_nudge.F90 to use allocatable arrays (#65)"

This reverts commit 44211c0.

* Revert "update external_ic.F90 and fv_nudge.F90 (#63)"

This reverts commit 81b9be0.

* Revert "Fix OVERLOAD_R4 ifdef block as suggested by @junwang-noaa (#60)"

This reverts commit 63a4603.

* Revert "Update code to use 'constantsR4_mod' module (#59)"

This reverts commit 7b8ee4c.
climbfuji pushed a commit to climbfuji/GFDL_atmos_cubed_sphere that referenced this pull request Apr 24, 2024
…_updates_v3

Mar 31 updates for GCM v11.0.0-rc.1
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.

9 participants