-
Notifications
You must be signed in to change notification settings - Fork 180
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
Enable different coupled options (NSST on/off) #230
Comments
Based on the branch workflow-crow, and ufs-s2s prototype 5, with Jiande's help, a coupled model configuration with the NSST model on has been established. See https://vlab.ncep.noaa.gov/redmine/issues/54074 (enable the nsst in fv3-mom6-cice5). |
A new version of the coupled model has been adopted with Scheme-A.1 and a bug fix in ccpp/physics, see NCAR/ccpp-physics#537. The two test run, ufs_nst_ctl (w/o NSST model) and ufs_nst_nst (with NSST model), have been done. The preliminary results analysis have shown that the "too much cooling" issue has been fixed, but the too large diurnal variability of the foundation temperature is still there, which means that a better scheme is needed to replace Scheme-A.1. |
@XuLi-NOAA @joshuafu Is this a duplicate of #196? |
Two groups worked on the same project. |
Thanks for merging these two issues together! |
Since this is the one with activity, I'm going to close the other one |
To enable NSST or not, all code changes are already in ufs-weather-model as of today. An example of how it's used can be found in the p7b branch https://github.com/ufs-community/ufs-weather-model/tree/release/P7b in the 35 day tests. |
Split the output frequency part, which was inherited from #196 when it was marked as a duplicate, off into its own issue as it is separate from NSST updates. |
It would be useful to know what the settings are, or at least exactly which file to look for. Is it actually more than setting NST_MODEL to 2? |
Comparing the test with NSST (https://github.com/ufs-community/ufs-weather-model/blob/release/P7b/tests/tests/cpld_bmark_wave_v16_noahmp_nsst) and without NSST (https://github.com/ufs-community/ufs-weather-model/blob/release/P7b/tests/tests/cpld_bmark_wave_v16_noahmp_nsst) should tell you everything you need. @XuLi-NOAA can give more specific guidance in particulars, but the main this is that you use the correct CPP suite file with NSST in the build and then when running. Then there are some input.nml changes such as https://github.com/ufs-community/ufs-weather-model/blob/release/P7b/tests/tests/cpld_bmark_wave_v16_noahmp_nsst#L111 |
In order to turn on the NSST model in the coupled model, the following are required:
#This file is used to generate config.nsst, which would be used to
we can see (in that version, P6), FV3_GFS_v16_coupled is the suite to use sfc_ocean (no NSST) FV3_GFS_v16_couplednsst is the suite to use NSST Now, for P7, the suite is different, but there are still two suites for NSST model on or off respectively.
/work/noaa/da/xli/git/coupled-workflow/workflow/cases/prototype6_nst.yaml The diff of these two yaml files shows:
|
@KateFriedman-NOAA @WalterKolczynski-NOAA @JessicaMeixner-NOAA See the above updates |
I added "FV3_GFS_v16_couplednsst" to the CCPP_SUITES list in build_ufs_coupled.sh:
...and reran build_ufs_coupled.sh (ran it previously before adding "FV3_GFS_v16_couplednsst"). The build got a failure, please see this log on Hera: /scratch1/NCEPDEV/global/Kate.Friedman/git/feature-coupled-crow-nsst/sorc/logs/build_ufs_coupled_2.log I ran |
@KateFriedman-NOAA it does not look the the suite file you are requesting FV3_GFS_v16_couplednsst exists. $ls /scratch1/NCEPDEV/global/Kate.Friedman/git/feature-coupled-crow-nsst/sorc/ufs_coupled.fd/FV3/ccpp/suites/FV3_GFS_v16_couplednsst Two options to move forward, temporarily use the 'FV3_GFS_2017_couplednsst' suite file or build from @WalterKolczynski-NOAA work on updating the model and the suite file FV3_GFS_v16_couplednsst exists. Note eventually for p7 we'll likely be using "FV3_GFS_v16_coupled_nsstNoahmp" but any of the suite files that activate NSST should work for testing the functionality of turning it on/off |
@JessicaMeixner-NOAA Thanks, it built with the 'FV3_GFS_2017_couplednsst' suite. I will test with that to start. @XuLi-NOAA Other than testing with NST_MODEL=2 & NST_SPINUP=1 what other NST settings should I try? Are there other settings for NST_RESV, ZSEA1, and/or ZSEA2 that you'd like me to test? Thanks! |
All, I am starting to run feature/coupled-crow for this task on Hera. I ran with the 'coupled_free_forecast' case first to make sure I could run the branch (no issues). I then tried the following prototype tests:
For the cfftest3 I initially created a new prototype6_nst.yaml file (following Xu's example):
...but since the 'FV3_GFS_v16_couplednsst' suite file isn't available in feature/coupled-crow (when I branched off it) I set up a similar case file with the suggested 'FV3_GFS_2017_couplednsst' suite to test NSST:
For the cfftest2b test I only change the suite in a test case file:
I rebuilt my coupled FV3 code with 'FV3_GFS_2017_couplednsst' for cfftest2[b][3]:
My cfftest2 (prototype case as is) is running ok so far (fcst/post jobs running now): Both my cfftest2b and cfftest3 tests with the 'FV3_GFS_2017_couplednsst' suite failed with the same error, see error and log below from cfftest3:
See line 17648 in this log on Hera: /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest3/logs/2013040100/gfs.forecast.highres.log Here is the resulting input.nml diffs between the three prototype tests:
Should I work off of a branch where the 'FV3_GFS_v16_couplednsst' suite file exists? Thanks! Additionally, I see the following errors in the logs for both cfftest2 and cfftest3 (are these expected?):
line 24673 in failed fcst job log ($FHRGRP isn't known):
|
Hi, Kate,
It seems you haven't re-done the compile of the coupled model yet.
Here is the example I did for P6:
in
/work/noaa/da/xli/git/coupled-workflow/sorc/build_ufs_coupled.sh
change
CMAKE_FLAGS="-DS2S=ON -DWW3=ON"
CCPP_SUITES="FV3_GFS_v15p2_coupled,FV3_GFS_v16_coupled,FV3_GFS_v16"
./build.sh
to be
CMAKE_FLAGS="-DS2S=ON -DWW3=ON"
CCPP_SUITES="FV3_GFS_v15p2_coupled,FV3_GFS_v16_coupled,FV3_GFS_v16_couplednsst,FV3_GFS_v16"
./build.sh
Then
sh build_ufs_coupled.sh -c
Clearly, you are dealing with a different ccpp/suite, and you need to find
out what it is(it must be available already in the master of
ufs-weather-model).
From Jiande run, it is FV3_GFS_v16_coupled_nsstNoahmpUGWPv1,
see
/scratch1/NCEPDEV/stmp2/Jiande.Wang/FV3_RT/P7b-run-dir-20120101/input.nml
Anyway, the point is:
You need modify build_ufs_coupled.sh to add the new ccpp/suite, and then
recompile the coupled model, and plus the changes you already did in the
workflow side, then you can run.
(Sorry I didn't reply last week since I was on vacation on Thursday and
Friday).
Xu
…On Mon, Jun 28, 2021 at 1:06 PM Kate Friedman ***@***.***> wrote:
All, I am starting to run feature/coupled-crow for this task on Hera. I
ran with the 'coupled_free_forecast' case first to make sure I could run
the branch (no issues). I then tried the following prototype tests:
1. cfftest2 - prototype6 case (as is - no changes)
2. cfftest2b - prototype6 case with CCPP_SUITE:
FV3_GFS_2017_couplednsst and NSST off (NSST settings as is)
3. cfftest3 - prototype6 case with CCPP_SUITE:
FV3_GFS_2017_couplednsst and NSST variables added and turned on
For the cfftest3 I initially created a new prototype6_nst.yaml file
(following Xu's example):
-bash-4.2$ pwd
/scratch1/NCEPDEV/global/Kate.Friedman/git/feature-coupled-crow-nsst/workflow/cases
-bash-4.2$ diff prototype6.yaml prototype6_nst.yaml
25c25,29
< NST_MODEL: 0
---
> NST_MODEL: 2
> NST_SPINUP: 1
> NST_RESV: 0
> ZSEA1: 0
> ZSEA2: 0
42c46
< CCPP_SUITE: FV3_GFS_v16_coupled
---
> CCPP_SUITE: FV3_GFS_v16_couplednsst
...but since the 'FV3_GFS_v16_couplednsst' suite file isn't available in
feature/coupled-crow (when I branched off it) I set up a similar case file
with the suggested 'FV3_GFS_2017_couplednsst' suite to test NSST:
-bash-4.2$ diff prototype6.yaml prototype6_nsttest.yaml
25c25,29
< NST_MODEL: 0
---
> NST_MODEL: 2
> NST_SPINUP: 1
> NST_RESV: 0
> ZSEA1: 0
> ZSEA2: 0
42c46
< CCPP_SUITE: FV3_GFS_v16_coupled
---
> CCPP_SUITE: FV3_GFS_2017_couplednsst
For the cfftest2b test I only change the suite in a test case file:
-bash-4.2$ diff prototype6.yaml prototype6_nsttest0.yaml
42c42
< CCPP_SUITE: FV3_GFS_v16_coupled
---
> CCPP_SUITE: FV3_GFS_2017_couplednsst
I rebuilt my coupled FV3 code with 'FV3_GFS_2017_couplednsst' for
cfftest2[b][3]:
-bash-4.2$ pwd
/scratch1/NCEPDEV/global/Kate.Friedman/git/feature-coupled-crow-nsst/sorc
-bash-4.2$ git diff build_ufs_coupled.sh
diff --git a/sorc/build_ufs_coupled.sh b/sorc/build_ufs_coupled.sh
index e18e6fd3..b3aab68c 100755
--- a/sorc/build_ufs_coupled.sh
+++ b/sorc/build_ufs_coupled.sh
@@ -23,5 +23,6 @@ if [[ -d build ]]; then rm -Rf build; fi
if [[ -d GOCART ]]; then
./build.sh
else
- CMAKE_FLAGS="-DS2S=ON -DWW3=ON" CCPP_SUITES="FV3_GFS_v15p2_coupled,FV3_GFS_v16_coupled,FV3_GFS_v16" ./build.sh
+ #CMAKE_FLAGS="-DS2S=ON -DWW3=ON" CCPP_SUITES="FV3_GFS_v15p2_coupled,FV3_GFS_v16_coupled,FV3_GFS_v16_couplednsst,FV3_GFS_v16" ./build.sh
+ CMAKE_FLAGS="-DS2S=ON -DWW3=ON" CCPP_SUITES="FV3_GFS_v15p2_coupled,FV3_GFS_v16_coupled,FV3_GFS_2017_couplednsst,FV3_GFS_v16" ./build.sh
fi
My cfftest2 (prototype case as is) is running ok so far (fcst/post jobs
running now):
EXPDIR: /scratch1/NCEPDEV/global/Kate.Friedman/expdir/cfftest2
COMROT: /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest2
Both my cfftest2b and cfftest3 tests with the 'FV3_GFS_2017_couplednsst'
suite failed with the same error, see error and log below from cfftest3:
FATAL from PE 1054: atmosphere_dynamics: error in ccpp_physics_init for
group fast_physics: Group fast_physics not found
See line 17648 in this log on Hera:
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest3/logs/2013040100/gfs.forecast.highres.log
Here is the resulting input.nml diffs between the three prototype tests:
-bash-4.2$ pwd
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot
-bash-4.2$ diff cfftest2/input.nml cfftest2b/input.nml
15c15
< ccpp_suite = FV3_GFS_v16_coupled
---
> ccpp_suite = FV3_GFS_2017_couplednsst
156,170c156,157
< iovr = 3
< ltaerosol = .false.
< lradar = .false.
< ttendlim = 0.005
< oz_phys = .false.
< oz_phys_2015 = .true.
< lsoil_lsm = 4
< do_mynnedmf = .false.
< do_mynnsfclay = .false.
< icloud_bl = 1
< bl_mynn_edmf = 1
< bl_mynn_tkeadvect = .true.
< bl_mynn_edmf_mom = 1
< min_lakeice = 0.15
< min_seaice = 1e-11
---
> iovr_lw = 3
> iovr_sw = 3
-bash-4.2$ diff cfftest2b/input.nml cfftest3/input.nml
204c204
< nstf_name = 0,0,0,0,0
---
> nstf_name = 2,1,0,0,0
build from @WalterKolczynski-NOAA
<https://github.com/WalterKolczynski-NOAA> work on updating the model and
the suite file FV3_GFS_v16_couplednsst exists.
Should I work off of a branch where the 'FV3_GFS_v16_couplednsst' suite
file exists? Thanks!
Additionally, I see the following errors in the logs for both cfftest2 and
cfftest3 (are these expected?):
/bin/cp: cannot stat '/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest3/gfs.20130401/00/ufs.cpld*.nc': No such file or directory
32 + /bin/cp -p /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest3/gfs.20130401/00/rpointer.cpl /scratch1/NCEPDEV/stmp2/Kate.Friedman/RUNDIRS/cfftest3/2013040100/gfs/fcst.38549/
/bin/cp: cannot stat '/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest3/gfs.20130401/00/rpointer.cpl': No such file or directory
line 24673 in failed fcst job log ($FHRGRP isn't known):
61 + '[' -eq 0 ']'
24674 /scratch1/NCEPDEV/global/Kate.Friedman/git/feature-coupled-crow-nsst/scripts/../ush/forecast_postdet.sh: line 681: [: -eq: unary operator expected
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#230 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEMLJVIB4XO6XPWJ6N4FL3TVCTZ5ANCNFSM4VOM24SQ>
.
|
@KateFriedman-NOAA : NST_MODEL=2 & NST_SPINUP=1, NST_RESV, ZSEA1, and/or ZSEA2 are zeros, which corresponds to nstf_name=(2,1,0,0,0), is what needs to be tested. |
@KateFriedman-NOAA : Actually, you have added the ccpp/suite and done the compile again. So, just make sure the right suite is used (for P7 exactly, as Jiande has used already, I think, but it's better to confirm with him or Jun).
we can see (in that version, P6), FV3_GFS_v16_coupled is the suite to use sfc_ocean (no NSST) FV3_GFS_v16_couplednsst is the suite to use NSST Now, for P7, the suite is different, but there are still two suites for NSST model on or off respectively. === That means you need to modify ush/parsing_namelists_FV3.sh to use the suite with nsst as well. |
Ok, thanks! I think the NSST variables are making it through ok then. Just need to get a successful fcst job run.
@XuLi-NOAA I modified build_ufs_coupled.sh already; see my prior comment in this issue: #230 (comment) I tried with 'FV3_GFS_v16_couplednsst' in the CCPP_SUITES list:
...but the build failed because the suite file isn't available (see this log: /scratch1/NCEPDEV/global/Kate.Friedman/git/feature-coupled-crow-nsst/sorc/logs/build_ufs_coupled_2.log). Jessica recommended I try with one of the other existing NSST suite files so I reran the build with 'FV3_GFS_2017_couplednsst' (build completed without issue):
I then set the CCPP suite to also be 'FV3_GFS_2017_couplednsst' in my case file. Here is the resulting setting in my config.base:
If the 'FV3_GFS_2017_couplednsst' suite doesn't work or isn't the proper one to test with then please point me to a copy of the 'FV3_GFS_v16_couplednsst' suite file so I can pull it into my copy of the FV3 or point me to a different FV3 hash that has the file. Thanks! |
I can see FV3_GFS_v16_coupled_nsstNoahmpUGWPv1 is the one Jiande has used. You should use the same one. But better confirm with him or Jun. |
This looks like a WW3 version mismatch that I thought we fixed. |
It's a WW3 error, which case file are you using @KateFriedman-NOAA |
Update CPL_WAVIC to GEFSwave20210623 in the case file. |
Chatted with @JessicaMeixner-NOAA offline, I started with the wrong case file (prototype6.yaml), I need to add NST variables to the coupled_free_forecast_wave.yaml case file. Doing that and retrying. Thanks! |
At this point we've gone far enough away from prototype6, that if someone wants to run that, they should probably just use the exact commit hash and we could delete the p6 yaml case files. |
Alrighty...got myself using the right starting case file (coupled_free_forecast_wave.yaml). I created a copy of it for testing (coupled_free_forecast_wave_nst.yaml). Diffs:
I set up two tests:
Both failed with the same error, see logs: /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest6/logs/2013040100/gfs.forecast.highres.log
Per an earlier suggestion from Walter I changed the case file to use 'GEFSwave20210623` for CPL_WAVIC:
...but when I tried to set up a retest of the baseline (cfftest0b) it complained about CPL_WAVIC:
|
workflow/schema/wave.yaml needs to be updated to allow GEFSwave20210623 This change is made in the PR, are you sure you started from a clean copy? |
@XuLi-NOAA Jessica/Walter helped me get the feature/coupled-crow branch running (both a control and one with NSST on). Both forecasts ran ok but you'll notice an error at the end of both because of a known issue (unrelated to my testing). Please see the following logs and output below on Hera. Please let me know if you see any issues with the NSST on run. The NSST workflow updates are shown below as well; I will be sending them to Walter tomorrow. Thanks! 1. control (no NSST, system as is):log: /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest0b/logs/2013040100/gfs.forecast.highres.log
2. test (NSST updates in system and NSST turned on including a spinup):log: /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest7/logs/2013040100/gfs.forecast.highres.log.0
Workflow updates for NSST:
|
@XuLi-NOAA @WalterKolczynski-NOAA Question on the yaml case files and NSST...should I add the NSST settings to the coupled_free_forecast_wave.yaml or add a new case file (e.g. coupled_free_forecast_wave_nst.yaml). I created a new one for testing but can merge the changes into the existing case file; see diffs between existing and new testing yaml case files:
|
Hi, Kate,
Nice to know it goes well.
As to the error at the end of the highres log file, it means the ice file
doesn't exist.
I think it is related to the iceh file name assignment in the
ush/forecast_postdet.sh.
What I did is the hourly output in P5_NEW, see
https://docs.google.com/document/d/1iazVX3nWejY95b9W9ZQR9jWM_lqsIT8mHqNZZ9YcoRI/edit#heading=h.gjdgxs
at nearly the end of the doc, you can see the changes I made.
There is one directory of my run (for P5_NEW), see:
/work/noaa/stmp/xli/ufs_nst_1.0/COMROOT/ufs_nst_nst_2011100100/logs/2011100100/gfs.forecast.highres.log
and
at /work/noaa/stmp/xli/ufs_nst_1.0/DATAROOT/ufs_nst_nst_2011100100/2011100100/gfs/fcst.333690/history
ls iceh*2011-10-01*
iceh_01h.2011-10-01-03600.nc iceh_01h.2011-10-01-21600.nc
iceh_01h.2011-10-01-39600.nc iceh_01h.2011-10-01-57600.nc
iceh_01h.2011-10-01-75600.nc
iceh_01h.2011-10-01-07200.nc iceh_01h.2011-10-01-25200.nc
iceh_01h.2011-10-01-43200.nc iceh_01h.2011-10-01-61200.nc
iceh_01h.2011-10-01-79200.nc
iceh_01h.2011-10-01-10800.nc iceh_01h.2011-10-01-28800.nc
iceh_01h.2011-10-01-46800.nc iceh_01h.2011-10-01-64800.nc
iceh_01h.2011-10-01-82800.nc
iceh_01h.2011-10-01-14400.nc iceh_01h.2011-10-01-32400.nc
iceh_01h.2011-10-01-50400.nc iceh_01h.2011-10-01-68400.nc
iceh_ic.2011-10-01-00000.nc
iceh_01h.2011-10-01-18000.nc iceh_01h.2011-10-01-36000.nc
iceh_01h.2011-10-01-54000.nc iceh_01h.2011-10-01-72000.nc
you can see the file name convention, notice, for hour 6, it is
iceh_01h.2011-10-01-21600.nc
not
iceh_06h.2011-10-01-21600.nc
I don't know why.
In your log file,
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest7/logs/2013040100/gfs.forecast.highres.log.0
it is looking for
iceh_06h.2013-04-01-21600.nc
Xu
…On Thu, Jul 8, 2021 at 3:57 PM Kate Friedman ***@***.***> wrote:
@XuLi-NOAA <https://github.com/XuLi-NOAA> Jessica/Walter helped me get
the feature/coupled-crow branch running (both a control and one with NSST
on). Both forecasts ran ok but you'll notice an error at the end of both
because of a known issue (unrelated to my testing). Please see the
following logs and output below on Hera. Please let me know if you see any
issues with the NSST on run. The NSST workflow updates are shown below as
well; I will be sending them to Walter tomorrow. Thanks!
1. control (no NSST, system as is):
log:
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest0b/logs/2013040100/gfs.forecast.highres.log
output:
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest0b/gfs.20130401/00/
-bash-4.2$ grep nstf_name /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest0b/logs/2013040100/gfs.forecast.highres.log
0 + nstf_name=0,0,0,0,0
0 + nstf_name=0,0,0,0,0
nstf_name = 0,0,0,0,0
nstf_name = 0,0,0,0,0
nstf_name = 0,0,0,0,0
nstf_name = 0,0,0,0,0
nstf_name : 0 0 0 0
2. test (NSST updates in system and NSST turned on including a spinup):
log:
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest7/logs/2013040100/gfs.forecast.highres.log.0
output:
/scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest7/gfs.20130401/00/
-bash-4.2$ grep nstf_name /scratch1/NCEPDEV/stmp4/Kate.Friedman/comrot/cfftest7/logs/2013040100/gfs.forecast.highres.log
1 + nstf_name=2,1,0,0,0
1 + nstf_name=2,1,0,0,0
nstf_name = 2,1,0,0,0
nstf_name = 2,1,0,0,0
nstf_name = 2,1,0,0,0
nstf_name = 2,1,0,0,0
nstf_name(1)= 2
nstf_name(2)= 1
nstf_name(3)= 0
nstf_name(4)= 0
nstf_name(5)= 0
nstf_name : 2 1 0 0
Workflow updates for NSST:
diff --git a/sorc/build_ufs_coupled.sh b/sorc/build_ufs_coupled.sh
index e2176967..9d368fff 100755
--- a/sorc/build_ufs_coupled.sh
+++ b/sorc/build_ufs_coupled.sh
@@ -25,5 +25,5 @@ if [[ -d GOCART ]]; then
CMAKE_FLAGS="-DAPP=ATMAERO" CCPP_SUITES="FV3_GFS_v16" ./build.sh
./build.sh
else
- CMAKE_FLAGS="-DAPP=S2SW" CCPP_SUITES="FV3_GFS_v16_coupled,FV3_GFS_v16" ./build.sh
+ CMAKE_FLAGS="-DAPP=S2SW" CCPP_SUITES="FV3_GFS_v16_coupled,FV3_GFS_v16_couplednsst,FV3_GFS_v16" ./build.sh
fi
diff --git a/ush/parsing_namelists_FV3.sh b/ush/parsing_namelists_FV3.sh
index ddcca3a2..b14eec96 100755
--- a/ush/parsing_namelists_FV3.sh
+++ b/ush/parsing_namelists_FV3.sh
@@ -215,7 +215,7 @@ elif [ $CCPP_SUITE = "FV3_GSD_v0" ]; then
min_lakeice = ${min_lakeice:-"0.15"}
min_seaice = ${min_seaice:-"0.15"}
EOF
-elif [ $CCPP_SUITE = "FV3_GFS_v16_coupled" ]; then
+elif [ $CCPP_SUITE = "FV3_GFS_v16_coupled" -o $CCPP_SUITE = "FV3_GFS_v16_couplednsst" ]; then
cat >> input.nml << EOF
iovr = ${iovr:-"3"}
ltaerosol = ${ltaerosol:-".false."}
diff --git a/workflow/config/nsst.yaml b/workflow/config/nsst.yaml
index 6a188a03..bc965adf 100644
--- a/workflow/config/nsst.yaml
+++ b/workflow/config/nsst.yaml
@@ -4,14 +4,6 @@
config_nsst:
filename: config.nsst
- nst_spinup_logic: !FirstTrue
- - when: !calc doc.nsst.get("NST_SPINUP","")
- do: !expand "export NST_SPINUP={doc.nsst.NST_SPINUP}"
- - otherwise: |
- export NST_SPINUP=0
- #if [[ "$CDATE" = $SDATE ]]; then
- # export NST_SPINUP=1
- #fi
content: !expand |
#!/bin/ksh -x
@@ -30,7 +22,7 @@ config_nsst:
export NST_MODEL={doc.nsst.NST_MODEL}
# nstf_name(2) : NST_SPINUP : 0 = OFF, 1 = ON,
- {nst_spinup_logic}
+ export NST_SPINUP={doc.nsst.NST_SPINUP}
# nstf_name(3) : NST_RESV (Reserved, NSST Analysis) : 0 = OFF, 1 = ON
export NST_RESV={doc.nsst.NST_RESV}
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#230 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEMLJRRAV2UOBYFKAR6HJTTWX7KBANCNFSM4VOM24SQ>
.
|
I think, a case yaml file is required any way, like
prototype_7.yaml,
you just need to modify the name list variables in it to control if the
NSST model is on or off.
…On Thu, Jul 8, 2021 at 4:49 PM Kate Friedman ***@***.***> wrote:
@XuLi-NOAA <https://github.com/XuLi-NOAA> @WalterKolczynski-NOAA
<https://github.com/WalterKolczynski-NOAA> Question on the yaml case
files and NSST...should I add the NSST settings to the
coupled_free_forecast_wave.yaml or add a new case file (e.g.
coupled_free_forecast_wave_nst.yaml). I created a new one for testing but
can merge the changes into the existing case file; see diffs between
existing and new testing yaml case files:
-bash-4.2$ diff coupled_free_forecast_wave.yaml coupled_free_forecast_wave_nst.yaml
25c25,29
< NST_MODEL: 0
---
> NST_MODEL: 2
> NST_SPINUP: 1
> NST_RESV: 0
> ZSEA1: 0
> ZSEA2: 0
42c46
< CCPP_SUITE: FV3_GFS_v16_coupled
---
> CCPP_SUITE: FV3_GFS_v16_couplednsst
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#230 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEMLJTFZU44T64TTEN4QXLTWYFMJANCNFSM4VOM24SQ>
.
|
Make a new case for now. In the future we'll update the main case files. |
Updating the main case file even now seems fine as we're turning on NSST. |
@LydiaStefanova-NOAA can you and/or @SulagnaRay-NOAA look at the actual output of Kate's run (ignoring known issues with ice) and make sure it looks like NSST is correctly turned on in the output: I can double check the inputs, but @KateFriedman-NOAA has already done that as well. |
…d FV3 namelist parser Refs: NOAA-EMC#230
- removed CROW FirstTrue check when building config.nsst from nsst.yaml - replace nst_spinup_logic with NST_SPINUP variable that is parsed from variable dictionary - nst_spinup_logic not needed currently Refs: NOAA-EMC#230
- set NST_MODEL=2 (turns it on) - add additional NSST namelist variables: NST_SPINUP, NST_RESV, ZSEA1, ZSEA2 - set NST_SPINUP=1 (NSST will spinup) - change CCPP_SUITE from FV3_GFS_v16_coupled to FV3_GFS_v16_couplednsst Refs: NOAA-EMC#230
Thanks @LydiaStefanova-NOAA |
PS: I do notice some warmer surface temps for lakes ~(60E,45N) and ~(50E,Eq) but don't have any experience with whether that's ok or not |
Awesome, thank you for checking @LydiaStefanova-NOAA ! I have pushed the needed NSST changes up to @WalterKolczynski-NOAA 's feature/model_update branch in PR #359. Walter, perhaps that PR can now close issue #230 as well? Thanks! |
Hi, Lydia,
Yes, the cooler tmpsfc in the NSST on run is as expected, since the
skin-layer cooling parameterization in the NSST model.
The warmer signal is as expected as well, since the diurnal warming model
in the NSST model.
Note:
I am comparing the P7b run, with or w/o the NSST model.
Basically, it works well. But a few issues (for some isolated grids) have
drawn my attention. These issues are related to: (1) the run without the
NSST model (that means they are not NSST issues) and (2) sea ice.
I will check Kate's two runs to see if I can see the same thing.
Xu
…On Fri, Jul 9, 2021 at 9:42 AM LydiaStefanova-NOAA ***@***.***> wrote:
PS: I do notice some warmer surface temps for lakes ~(60E,45N) and
~(50E,Eq) but don't have any experience with whether that's ok or not
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#230 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANEMLJW3A6QZKGR2GZRDNITTW34DVANCNFSM4VOM24SQ>
.
|
@KateFriedman-NOAA I confirmed that everything looks like I believe we want it in the input.nml:
Thanks! |
Thanks @JessicaMeixner-NOAA ! |
Hi, All,
I can see the same issues from Kate's runs, as I said, it is due to the use
of sfc_ocean to handle the water surface.
I cannot see the sea ice issue (along the Southern edge) as in 2012010100
runs.
And as I said before, there are some too large skin-layer cooling over the
sea ice areas (with an ice fraction close to 1.0), but it seems to have no
big impact on tmpsfc there, will look into detail to confirm it is not an
issue.
I will prepare some slides to show.
However, the issues I mention are related to some components of the system,
in terms of whether the NSST model works well or not with the workflow
changes Kate has done, it is OK for me.
Xu
On Fri, Jul 9, 2021 at 9:57 AM Xu Li - NOAA Affiliate ***@***.***>
wrote:
… Hi, Lydia,
Yes, the cooler tmpsfc in the NSST on run is as expected, since the
skin-layer cooling parameterization in the NSST model.
The warmer signal is as expected as well, since the diurnal warming model
in the NSST model.
Note:
I am comparing the P7b run, with or w/o the NSST model.
Basically, it works well. But a few issues (for some isolated grids) have
drawn my attention. These issues are related to: (1) the run without the
NSST model (that means they are not NSST issues) and (2) sea ice.
I will check Kate's two runs to see if I can see the same thing.
Xu
On Fri, Jul 9, 2021 at 9:42 AM LydiaStefanova-NOAA <
***@***.***> wrote:
> PS: I do notice some warmer surface temps for lakes ~(60E,45N) and
> ~(50E,Eq) but don't have any experience with whether that's ok or not
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#230 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ANEMLJW3A6QZKGR2GZRDNITTW34DVANCNFSM4VOM24SQ>
> .
>
|
…ged graupel Y-intercept calculation (NOAA-EMC#230) Co-authored-by: gthompsnJCSDA <gthompsn@ucar.edu>
In order to turn the NSST models, including the diurnal warming and skin-layer cooling model, on in the coupled model, some modifications of the global-workflow are necessary, since the NSST model hasn't been tested systematically in the coupled frame.
In principle, the NSST model is ready to run since it has been built in fv3atm and it is a component of the operational GFS (uncoupled). There is a switch to turn on the NSST model through a name list array.
However, there is a fundamental issue to deal with when turning on the NSST model in the coupled system, i.e., how to combine the NSST T-Profile, particularly the diurnal warming profile, with the oceanic model layer T-Profile to determine the foundation temperature, and then obtain the required underlying surface temperatures for the air-sea interface fluxes calculation for the coupled model and a radiative transfer model such as CRTM for the data assimilation.
There is a scheme to determine the foundation temperature and the required surface temperatures, referred to Scheme-A, already built in the current fv3atm, specifically in the ccpp/physics submodule.
The goal of this task is to make sure the coupled system work well the the NSST model turned on, including the necessary modifications in the workflow, the test of the Scheme-A and the development of a more effective scheme, Scheme-B, to incorporate the NSST T-Profile into oceanic model layer T-Profile to provide a more realistic surface temperatures in fluxes calculation and the radiance simulation.
The text was updated successfully, but these errors were encountered: