-
Notifications
You must be signed in to change notification settings - Fork 164
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
Cleanup work for adding tiice to restart files for runs without fractional grid #213
Comments
Impressive bookkeeping - thanks for the info! |
Some issues come up in regional LAM parallel because the tiice was added to restart sfc file in PR#212. LAM runs on non-fractional grid and does not need to have this 2 layers tiice array. Below is the description below from Eric Rogers. In the version of chgres_cube we're running in the LAM parallels: commit 19942e0a15ac48a9c45bf1301dff7c837158e556 (HEAD -> develop, origin/develop, origin/HEAD) these are the dimensions in the sfc_data file coming out of chgres_cube: netcdf sfc_data_new { When I ran the LAMDA with the latest develop branch with has the regional inline post, I see an extra dimension added in the sfc_data file that comes out of the model: netcdf sfc_data_new { This caused an abort in one of the codes Tom wrote that runs after the forecast (to address the boundary imbalance problem in the LAM DA runs), since it read the sfc_data file from the model and expected 4 dimensions. Changing this code to account for the extra dimension was trivial, and I was able to get a successful end-to-end run of the LAMDA with the inline post, but this difference may cause some confusion. @climbfuji Please keep Eric Rogers included when the issue is resolved so that Eric can check if the tiice issue is gone in LAM. |
Just to make sure we understand each other, |
Maybe we misunderstood eath other. Can you remind me why tiice is required
for restart for non-fractional grid runs?
…On Tue, Mar 2, 2021 at 3:34 PM Dom Heinzeller ***@***.***> wrote:
Just to make sure we understand each other, tiice should remain in the
output for both binary and fractional grid applications. If it causes a
problem in one of Tom's codes, then that one will need to be fixed.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TPTK3QHDUKZUK4KCCTTBVDU3ANCNFSM4U26VHMA>
.
|
Putting tiice into tsfc, somewhere buried in the physics has several serious implications.
|
tiice was introduced for the fractional grid, where it was for internal ice
temp. In the nonfractional case, internal ice temperature borrows the soil
temperature slot, as ice and soil won't co-exist in this case.
I thought tiice would store its value in the soil temperature slot in the
nonfractioanl case prior writing to restart. In other words, tiice should
be purely internal for nonfractional case. Will check when hera is back.
Thanks,
Shan
…On Tue, Mar 2, 2021 at 1:38 PM Jun Wang ***@***.***> wrote:
Maybe we misunderstood eath other. Can you remind me why tiice is required
for restart for non-fractional grid runs?
On Tue, Mar 2, 2021 at 3:34 PM Dom Heinzeller ***@***.***>
wrote:
> Just to make sure we understand each other, tiice should remain in the
> output for both binary and fractional grid applications. If it causes a
> problem in one of Tom's codes, then that one will need to be fixed.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#213 (comment)>,
> or unsubscribe
> <
https://github.com/notifications/unsubscribe-auth/AI7D6TPTK3QHDUKZUK4KCCTTBVDU3ANCNFSM4U26VHMA
>
> .
>
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ALORMVVCK4TZ4EN5NTDA7XDTBVEEJANCNFSM4U26VHMA>
.
|
This is all confusing ... no matter what, if kice > klsm it will break. |
tiice is always written to the restart files (and read from it), no matter whether fractional or not. Simply because of the flaws of this design choice that I mentioned above. See current FV3/io/FV3GFS_io.F90. |
Line 908 in 4908898
|
So tiice is not saved in tsfc any more even for the situation of non-fractional grid with kice<klsm. Then the downstream jobs may need to know this change and update accordingly. |
Yep, seems to be the cleanest solution. |
I thought I modified to write tiice separately to avoid these issues.
…Sent from my iPhone
On Mar 2, 2021, at 3:49 PM, Dom Heinzeller ***@***.***> wrote:
This is all confusing ... no matter what, if kice > klsm it will break.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
I thought that is what I did.
Moorthi
…Sent from my iPhone
On Mar 2, 2021, at 3:51 PM, Dom Heinzeller ***@***.***> wrote:
tiice is always written to the restart files (and read from it), no matter whether fractional or not. Simply because of the flaws of this design choice that I mentioned above. See current FV3/io/FV3GFS_io.F90.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
For the GSM/GFS, tsfc has always been used to represent skin temperatures
over all surface types/grids, including land, ice and water.
Has this been changed ? There are many downstream users relying on this
product.
On Tue, Mar 2, 2021 at 4:23 PM SMoorthi-emc <notifications@github.com>
wrote:
… I thought that is what I did.
Moorthi
Sent from my iPhone
> On Mar 2, 2021, at 3:51 PM, Dom Heinzeller ***@***.***>
wrote:
>
> tiice is always written to the restart files (and read from it), no
matter whether fractional or not. Simply because of the flaws of this
design choice that I mentioned above. See current FV3/io/FV3GFS_io.F90.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub, or unsubscribe.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AKY5N2PCZX5KGOFD7CHL2GTTBVJNPANCNFSM4U26VHMA>
.
--
*Fanglin Yang, Ph.D.*
*Chief, Model Physics Group*
*Modeling and Data Assimilation Branch*
*NOAA/NWS/NCEP Environmental Modeling Center*
*https://www.emc.ncep.noaa.gov/gmb/wx24fy/fyang/
<https://www.emc.ncep.noaa.gov/gmb/wx24fy/fyang/>*
|
Tsfc has nothing to do with tiice.
They are different. Tiice is only in restart (I can’t see the code now - I will confirm later)
Moorthi
…Sent from my iPhone
On Mar 2, 2021, at 4:34 PM, Fanglin Yang ***@***.***> wrote:
For the GSM/GFS, tsfc has always been used to represent skin temperatures
over all surface types/grids, including land, ice and water.
Has this been changed ? There are many downstream users relying on this
product.
On Tue, Mar 2, 2021 at 4:23 PM SMoorthi-emc ***@***.***>
wrote:
> I thought that is what I did.
> Moorthi
>
> Sent from my iPhone
>
> > On Mar 2, 2021, at 3:51 PM, Dom Heinzeller ***@***.***>
> wrote:
> >
> > tiice is always written to the restart files (and read from it), no
> matter whether fractional or not. Simply because of the flaws of this
> design choice that I mentioned above. See current FV3/io/FV3GFS_io.F90.
> >
> > —
> > You are receiving this because you are subscribed to this thread.
> > Reply to this email directly, view it on GitHub, or unsubscribe.
>
> —
> You are receiving this because you are subscribed to this thread.
> Reply to this email directly, view it on GitHub
> <#213 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AKY5N2PCZX5KGOFD7CHL2GTTBVJNPANCNFSM4U26VHMA>
> .
>
--
*Fanglin Yang, Ph.D.*
*Chief, Model Physics Group*
*Modeling and Data Assimilation Branch*
*NOAA/NWS/NCEP Environmental Modeling Center*
*https://www.emc.ncep.noaa.gov/gmb/wx24fy/fyang/
<https://www.emc.ncep.noaa.gov/gmb/wx24fy/fyang/>*
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Yes, that is what you did and what should remain. The cleanup work here was just a follow-up, not a reversal but got misinterpreted. @yangfanglin this is about tiice and stc, not tsfc. |
I think the impact is that model used to output internal ice temp in stc
(soil temp) on ice points, but now the internal ice temp is saved in its
own array, I believe the stc does not contain the ice temp any more(restart
non-reproducible for non-fractional grid uncoupled with tiice) . At this
time, we also need to update the GFS_diagnostics.F90 to allow it output to
model history files for non-fractional grid runs (e.g. LAM). The tsfc does
not change for non-fractional grid, but is the composite temp for
fractional grid.
…On Tue, Mar 2, 2021 at 4:40 PM Dom Heinzeller ***@***.***> wrote:
I thought I modified to write tiice separately to avoid these issues.
… <#m_-3481226871809676753_>
Yes, that is what you did and what should remain. The cleanup work here
was just a follow-up, not a reversal but got misinterpreted.
@yangfanglin <https://github.com/yangfanglin> this is about tiice and
stc, not tsfc.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#213 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7D6TP7CYGRBQUNS4572VLTBVLN5ANCNFSM4U26VHMA>
.
|
There is tiice in non fractional grid also.
It may also be in stc for non fractional case.
I did not add tiice to history partly because I don’t know enough about it plus also did not want change history
Moorthi
…Sent from my iPhone
On Mar 2, 2021, at 4:55 PM, Jun Wang ***@***.***> wrote:
I think the impact is that model used to output internal ice temp in stc
(soil temp) on ice points, but now the internal ice temp is saved in its
own array, I believe the stc does not contain the ice temp any more(restart
non-reproducible for non-fractional grid uncoupled with tiice) . At this
time, we also need to update the GFS_diagnostics.F90 to allow it output to
model history files for non-fractional grid runs (e.g. LAM). The tsfc does
not change for non-fractional grid, but is the composite temp for
fractional grid.
On Tue, Mar 2, 2021 at 4:40 PM Dom Heinzeller ***@***.***>
wrote:
> I thought I modified to write tiice separately to avoid these issues.
> … <#m_-3481226871809676753_>
>
> Yes, that is what you did and what should remain. The cleanup work here
> was just a follow-up, not a reversal but got misinterpreted.
>
> @yangfanglin <https://github.com/yangfanglin> this is about tiice and
> stc, not tsfc.
>
> —
> You are receiving this because you commented.
> Reply to this email directly, view it on GitHub
> <#213 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AI7D6TP7CYGRBQUNS4572VLTBVLN5ANCNFSM4U26VHMA>
> .
>
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
- All `#ifdef OPENMP` are replaced with `#ifdef _OPENMP` to follow standard compiler macro for OpenMP. - CCPP code generation is moved inside of `FV3/`. This will be redundant when the Data Atmosphere component comes in. Updates to the python script was performed to remove the hard-wired `FV3/` path name in the file. - `cmake/GNU.cmake` and `cmake/Intel.cmake` hard-wire global compiler definitions with `add_definitions`. These are now applied with `target_compile_definitions`. - CMakeLists.txt is passed through cmake-norm checker. - `INSTALL_INTERFACE` is added, so that this component can be installed and linked in downstream applications e.g. JEDI. This may be incomplete, so will need more work.
This is a very old issue. I will close. Please re-create the issue if required. |
…3/SAS/MYNN fix) (#865) * Host side changes for h2o photochemistry scheme * A fix for the issue to run C3 or SAS convection with the prognostic area fraction closure, and MYNN PBL: tendency_of_vertically_diffused_tracer_concentration from MYNN PBL --------- Co-authored-by: Dustin Swales <dustin.swales@noaa.gov> Co-authored-by: Lisa Bengtsson <Lisa.Bengtsson@noaa.gov>
…e> from #40e014f3: Combination for CCPP-physics NOAA-EMC#213 and NOAA-EMC#218 (H2O scheme refactor and C3/SAS/MYNN fix) (NOAA-EMC#865).
Description
When #212 was merged, it was decided that always storing the ice layer temperatures separately from the soil layer temperatures is cleaner and less confusing. Until then, they were only stored separately when the fractional grid was used, but combined into the soil layer temperature array when the binary grid was used.
Solution
The cleanup work includes:
tiice
to the restart data inio/FV3GFS_io.F90
register_restart_field
calls fortiice
with the calls for the other arrays above inio/FV3GFS_io.F90
GFS_surface_composites.F90
that storestiice
inslt
Testing:
This change will require new baselines (because the
slt
array in the restart and diagnostic files will be changed)The text was updated successfully, but these errors were encountered: