variable gravity#2916
Conversation
|
@WChen-NOAA Could you fill out the PR template fully with information on baseline changes, input data, and so on? If you are still working on this PR and don't have the full details yet, that's fine, but I would just want to update the PR status appropriately in our tracker. |
|
@gspetro-NOAA Hi, Thank you for the suggestions. But this change has no baseline change and input data. Currently it works for upper atmosphere with whole atmosphere model (WAM). If for UFS-WM, the option needs to be set as false. And I will check the information again and fill out what I could do. |
|
@WChen-NOAA When you have a chance, please finish filling out the PR template, especially the "commit message" section. This PR will probably be on hold until after the shutdown because reviewers for atmos_cubed_sphere likely cannot review until then, but once we can get the subcomponent PRs reviewed and the PR template completed, this PR will be ready to schedule. |
|
@WChen-NOAA Just checking in on this PR. I haven't seen any updates, so I'm checking in to see if you have any questions/concerns. |
|
@gspetro-NOAA This PR needs to wait for the GFDL response. |
Thanks for the update! |
|
@WChen-NOAA Have you had a chance to hear back from GFDL? |
|
Got suggestions for some changes in the code and I am working on that. @gspetro-NOAA |
|
@WChen-NOAA Just checking in since I saw some code updates. Do you have more work to do on this PR, or are you still waiting on/working on feedback from your colleagues? |
@gspetro-NOAA Working on a issue of restart and diag |
|
@WChen-NOAA How are things coming along? Looks like there's been progress, so I wanted to check in. |
@gspetro-NOAA Yes, you're right. If the regression tests has no problem, I will ask GFDL and see if it could go to next step. |
How did the tests perform? I saw you ran a couple of tests on Ursa/Hera but haven't seen results from the full RT suite. |
@gspetro-NOAA That is I found another issue, reported and I am working on it. |
|
@WChen-NOAA Is this PR ready for testing, or are you still working on it? |
|
@gspetro-NOAA Still working on an issue. |
… to gravity accelaration constant is changed to an array (with constant g) as setting var_grav=.false. While compiling, the bit of the array following the compile settings through all subroutines.
|
@WChen-NOAA I see you've uploaded the logs, thanks! Is there more work you need to do, or can this PR start moving through the approval & commit process? |
I think it is okay for approval & commit process. @XiaqiongZhou-NOAA |
|
Is this feature expected to change results for non WAM tests? I see a lot of changed tests. |
This change will affect the results of non-WAM tests. Previously, the gravity constant was using a mix of 32-bit and 64-bit precision. It has now been changed to 3-D array. it is 32-bit or 64-bit depending on if the 32-bit compilation flag is enabled. |
|
Thanks for the explanation. |
|
@XiaqiongZhou-NOAA Thank you for answer the question. |
Commit Queue Requirements:
Description:
Initial NOAA-GFDL/GFDL_atmos_cubed_sphere#394
The model uses the shallow atmosphere approximation with constant gravity.
This is problematic for a space weather model (WAM) where Ztop/r0 )~10%
The method to resolve this issue is to Implement a scaling factor wherever gravity is applied to account for variations with height:
g(r0/r)^2 while setting var_grav = .true. in the name list
The new gravity as grav_var(i,j,k)
if setting var_grav = .false.
The model use an array contains the gravity acceleration constant and the bit of the array follows the compile setting.
This change will affect the results of non-WAM tests. Previously, the gravity constant was using a mix of 32-bit and 64-bit precision. It has now been changed to 3-D array. it is 32-bit or 64-bit depending on if the 32-bit compilation flag is enabled.
Commit Message:
Priority:
Git Tracking
UFSWM:
Sub component Pull Requests:
UFSWM Blocking Dependencies:
Documentation:
Changes
Regression Test Changes (Please commit test_changes.list):
Input data Changes:
Library Changes/Upgrades:
Testing Log: