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

A few sea ice related issues in the NSST analysis: Issue #18 #20

Merged
merged 12 commits into from
Oct 11, 2019
Merged

Conversation

XuLi-NOAA
Copy link
Contributor

The UFS_UTILS Issue #18 is ready for review

call baclose(lu_sst,iret)
if (iret /= 0 ) then
write(6,*)'get_tf_clm_dim: ***error*** close sst file'
stop
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would use 'mpi_abort' instead of 'stop'.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

OK, I will use mpi_abort instead of stop

@@ -234,6 +234,7 @@ HOMEgfs=${HOMEgfs:-$BASEDIR/gfs_ver.${gfs_ver}}
EXECgfs=${EXECgfs:-$HOMEgfs/exec}
FIXfv3=${FIXfv3:-$HOMEgfs/fix/fix_fv3_gmted2010/$CASE}
FIXam=${FIXam:-$HOMEgfs/fix/fix_am}
FIXsst=${FIXsst:-/scratch4/NCEPDEV/da/noscrub/Xu.Li/data/rtgsst/fix}
Copy link
Contributor

@yangfanglin yangfanglin Sep 30, 2019

Choose a reason for hiding this comment

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

Default FIXsst needs to be defined as $Homegfs/fix/fix_sst or
add all FIXsst files to $HOMEgfs/fix/fix_am directory on all platforms,

Copy link
Contributor Author

Choose a reason for hiding this comment

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

FIXsst has been changed to be FIXam (are you looking at the newest version?)

Copy link
Contributor

@yangfanglin yangfanglin left a comment

Choose a reason for hiding this comment

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

Xu,
Are this these changes going to be included in GFS.v16 ? If they are, have you run any experiments to show the impact?

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Sep 30, 2019 via email

@yangfanglin
Copy link
Contributor

Xu, would you like to present your tests at either the DA meeting or the GFS.v16 biweekly technical meeting ?

Other than that, the code looks fine to me.

@GeorgeGayno-NOAA
Copy link
Collaborator

I am not sure your branch is up-to-date with 'develop'. Can you do a merge to be certain?

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Sep 30, 2019 via email

@GeorgeGayno-NOAA
Copy link
Collaborator

After your last update, cycle won't build:

read_write_data.f90(1576): error #6404: This name does not have a type, and must have an explicit type. [MPI_COMM_WORLD] CALL MPI_ABORT(MPI_COMM_WORLD, 111)

You need to add include "mpif.h"

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Sep 30, 2019 via email

@GeorgeGayno-NOAA
Copy link
Collaborator

Xu, I ran stand-alone cycle using 20190730 data and compared your branch against 'develop'. Using a netcdf tool, I see differences in 'tsea', 'tisfc', 'tref', 'tfinc' and 'stc'. Is that expected? The 'stc' differences are very large. When viewed, the large differences are at sea ice. Here is a summary of tile 6 differences:

Variable Group  Count         Sum      AbsSum        Min          Max     Range       Mean    StdDev
tsea     /     100014    -2186.55     2186.76   -1.63343    0.0612983   1.69473 -0.0218624  0.030319
tisfc    /      15215    -1114.58     1114.58 -0.0849977 -1.54403e-05 0.0849823 -0.0732554 0.0224935
tref     /     111665    -9272.22     9272.22  -0.267241 -1.22118e-05  0.267229  -0.083036 0.0115932
tfinc    /      11564    -781.941     781.941 -0.0849977 -1.22118e-05 0.0849855 -0.0676186 0.0250677
stc      /     461264 5.19794e+06 5.24694e+06   -8.45253      38.8503   47.3028    11.2689   9.45556

Why are sea ice temperatures changing so much?

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Oct 3, 2019 via email

@GeorgeGayno-NOAA GeorgeGayno-NOAA removed the request for review from SMoorthi-emc October 3, 2019 17:00
@SMoorthi-emc
Copy link
Contributor

SMoorthi-emc commented Oct 3, 2019 via email

@GeorgeGayno-NOAA
Copy link
Collaborator

After the bug fix for the sea ice column temperatures, the tile 6 difference (Xu's branch minus 'develop') is:

CHECK 20190730.000000.sfcanl_data.tile6.nc
Variable Group  Count      Sum  AbsSum        Min          Max     Range       Mean    StdDev
tsea     /     100014 -2186.55 2186.76   -1.63343    0.0612983   1.69473 -0.0218624  0.030319
tisfc    /      15215 -1114.58 1114.58 -0.0849977 -1.54403e-05 0.0849823 -0.0732554 0.0224935
tref     /     111665 -9272.22 9272.22  -0.267241 -1.22118e-05  0.267229  -0.083036 0.0115932
tfinc    /      11564 -781.941 781.941 -0.0849977 -1.22118e-05 0.0849855 -0.0676186 0.0250677
stc      /      60860 -4458.33 4458.33 -0.0849977 -1.54403e-05 0.0849823 -0.0732554  0.022493

Are these reasonable?

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Oct 4, 2019 via email

@GeorgeGayno-NOAA
Copy link
Collaborator

Your branch is not up-to-date with 'develop'.

@GeorgeGayno-NOAA
Copy link
Collaborator

sfcsub.F was updated for v15.2. The interpolation of substrate temperature was changed to not use a land mask. Those changes are not in Xu's branch.

@GeorgeGayno-NOAA
Copy link
Collaborator

sfcsub.F was recently updated in the forecast model:
see here

These updates should be incorporated into Xu's branch (in both cycle and chgres). sfcsub.F should be consistent between the forecast model and ufs_utils.

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Oct 9, 2019 via email

@GeorgeGayno-NOAA
Copy link
Collaborator

The sfcsub.F module contains a variable - 'tgice' - that is 271.2. That variable is used in several computations. Also, variable 'tsfomn' is 271.2 and is used to range check the lower bound of open water. Do these need to be changed for salinity?

@XuLi-NOAA
Copy link
Contributor Author

XuLi-NOAA commented Oct 10, 2019 via email

@@ -58,6 +58,8 @@
# FNMXIC Input maximum sea ice climatology GRIB file.
# Defaults to ${FIXam}/global_maxice.2x2.grb
# FNTSFC Input SST climatology GRIB file.
# Defaults to ${FIXam}/global_salclm.t1534.3072.1536.nc
# FNSALC Input Salinity climatology netcdf file.
Copy link
Collaborator

Choose a reason for hiding this comment

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

There is a typo here and in the next line.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Fixed and pushed.
Thanks!

@GeorgeGayno-NOAA GeorgeGayno-NOAA self-requested a review October 11, 2019 16:30
Copy link
Collaborator

@GeorgeGayno-NOAA GeorgeGayno-NOAA left a comment

Choose a reason for hiding this comment

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

Ready to merge.

@GeorgeGayno-NOAA GeorgeGayno-NOAA merged commit 1b76994 into ufs-community:develop Oct 11, 2019
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.

4 participants