How to output history at 0 hour #2828
-
DescriptionData assimilation updates u and v in the RESTART file *.fv_core.res.tile[1-6].nc. Since u and v are grid-relative wind, to check the corresponding zonal and meridional wind, I set model_configure as follows (output_fh=0 1) to ouput history.tile[1-6].nc which contain zonal (ugrd) and meridional (vgrd) wind. model_configure: But ncdum -v time history.tile1.nc show that there is NO 0 hour output Output
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Is this a cold start run or IAU run? If it is a cold start run, model does not output purely fh=000 history files since no integration has been done; model will output the first time step history files and mark it as fh000. You can set:
$first_timestep_in_hour is a real number. |
Beta Was this translation helpful? Give feedback.
-
Thank you for the solution. Even only one step forward, the wind has been updated which is not what I want. Is there a subroutine in the source code of UFS for rotating the grid-relative wind to the corresponding zonal and meridional wind? |
Beta Was this translation helpful? Give feedback.
-
Hi @YongjunZHENG , You might have more luck asking your question about the specific subroutine in the fv3atm repository or the atmos_cubed_sphere repository, since the ufs-weather-model is just the umbrella repo that assembles the source code for various components, including the atmospheric component. @jkbk2004 @BrianCurtis-NOAA Any suggestions for where this subroutine would be located and if it exists? You could also try running your case with an offset--i.e., prepare initial conditions for a slightly earlier time, and then check at the current f000 time for those values. Otherwise, it seems like the f000 values for u- and v-wind should just be included in the initial conditions you're using since no integration has been done at f000, as @junwang-noaa mentioned. I will convert this issue to a Discussion since it is a question, not a bug report or feature request. Best, |
Beta Was this translation helpful? Give feedback.
-
@gspetro-NOAA @YongjunZHENG what about https://github.com/NOAA-GFDL/GFDL_atmos_cubed_sphere/blob/4f1a5ef4b83461a79a62c8d965ebc2b26cf5eba8/tools/test_cases.F90 ? |
Beta Was this translation helpful? Give feedback.
Hi @YongjunZHENG ,
You might have more luck asking your question about the specific subroutine in the fv3atm repository or the atmos_cubed_sphere repository, since the ufs-weather-model is just the umbrella repo that assembles the source code for various components, including the atmospheric component. @jkbk2004 @BrianCurtis-NOAA Any suggestions for where this subroutine would be located and if it exists?
You could also try running your case with an offset--i.e., prepare initial conditions for a slightly earlier time, and then check at the current f000 time for those values. Otherwise, it seems like the f000 values for u- and v-wind should just be included in the initial conditions you're…