How to change the number of vertical layers? #10
-
Hello all UFS users and developers, Does anyone know how to change the number of vertical layers? Yi-Chuan |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 3 replies
-
Hello Yi-Chuan! Thanks for the question. Are you talking about configuring the grid you're using in the SRW App? It looks like you should be able to set this up by creating a new grid and cloning the settings from an existing grid and changing that file. You can find this in the SRW documentation here. If you're talking about in the Weather Model, this is currently unsupported, but may be added in later versions. |
Beta Was this translation helpful? Give feedback.
-
Hi Yi-Chuan, Shawn is right that changing the levels is an unsupported feature in the UFS WM, but I was able to get some guidance from @BenjaminBlake-NOAA and @JiliDong-NOAA about how it could be done, and I have provided their answers below. To start, you would have to create the text file The
The approaches for applying the new vertical coordinate in Hope this helps! Best, |
Beta Was this translation helpful? Give feedback.
-
Hi Yi-Chuan,
Please see the UFS_UTILS repository documentation on vcoord_gen here
<https://noaa-emcufs-utils.readthedocs.io/en/latest/ufs_utils.html#vcoord-gen>.
Hopefully that will help.
- Jeff
…On Thu, Apr 6, 2023 at 7:12 PM lo-y-wni ***@***.***> wrote:
ohhhh! Many thanks your respond, Gillian.
The information really help me a lot and very thanks @JiliDong-NOAA
<https://github.com/JiliDong-NOAA> provided HRRR file as an example. I'll
take a look in it.
And may ask one more question? when you make the ak/bk file, how do you
set pressure needed by vcoord_gen.exe?
!! Example: Create the operational GFS 64-level hybrid coordinate.
!! real(8) pmin,ak(0:64),bk(0:64)
!! call vcoord_gen(64,64,100000.,99400.,7000.,0.,0.,500.,1200.,18000.,60.,60.,&
!! pmin,ak,bk)
!! print '(2i6)',2,64
!! print '(f12.3,f12.8)',(ak(k),bk(k),k=0,64)
!! end
!!
!! Graphical description of parameters and zones:
!! ptop --- ----- ----------------------
!! ... dptop
!! --- zone U (upper atmos)
!! ...
!! pupp --- ----- ----------------------
!! ... dpupp
!! --- -----
!! ... zone P (pure pressure)
!! ---
!! ...
!! ppre --- ----- ----------------------
!! ...
!! --- dppre zone T1 (transition 1)
!! ...
!! --- ----- ----------------------
!! ...
!! ---
!! ... zone T2 (transition 2)
!! ---
!! ...
!! --- ----- ----------------------
!! ...
!! --- dpsig zone T3 (transition 3)
!! ...
!! psig --- ----- ----------------------
!! ...
!! --- ----- zone S (pure sigma)
!! ... dpbot
!! pbot --- ----- ----------------------
!! </pre>
There're lots of parameters needed in the program, and I heard that if I
set something wrong, FV3 easily goes unstable. Is there any key points in
it?
Yi-Chuan
—
Reply to this email directly, view it on GitHub
<#10 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ANFE566SLVRP6RUUMBB4KW3W75SW5ANCNFSM6AAAAAAWM3DVTE>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Hi Yi-Chuan,
Shawn is right that changing the levels is an unsupported feature in the UFS WM, but I was able to get some guidance from @BenjaminBlake-NOAA and @JiliDong-NOAA about how it could be done, and I have provided their answers below.
To start, you would have to create the text file
global_hyblev_fcst.txt
, containingak
/bk
, to define the levels. You can use thevcoord_gen
tool from UFS_UTILS or another tool of your choice to generateak
/bk
.The
npz
andlevp
variables also need to be reset in FV3 namelist file (input.nml
). For 51 vertical layers, those numbers would benpz=50
andlevp=51
. But levels and layers are not the same, so if you are actually interested in having 51 vertic…