Open guoqing-noaa opened 5 months ago
The plan is to transform RDASApp MPAS test data (both deterministic and ensemble) into HRRR-like lambert grid. When using MPASSIT, we need to defined three files: a grid file to provide the grid information, a history MPAS data file and a diag MPAS file for the diagnostic variables. In RDASApp, we can only find one file. Using the deterministic case as example, we can find the background file from rrfs-test-data/rrfs-data_mpasjedi_2022052619/Data/bkg/bg.2022-05-26_19.00.00.nc. I tried to set all these three files to be the bg.2022-05-26_19.00.00.nc, the program crashed due to some missing values in the grid file (e.g. ter field). I have some questions to ask:
1) I am supposing the bg file is from MPAS forecasts. Can you please provide the initial file and the forecast files? Are the history and diag files the same file? If not, can you provide these three(or two) files you were using when creating the bg file.
2) MPASIT also defined the variables to be transferred from MPAS data to HRRR-like grid. I found there are several variables GSL is using are missed in this bg file. Can you please provide the variable list you included when creating the bg file?
@guoqing-noaa @TingLei-NOAA
Thank @Junjun-NOAA for working on this. I am not sure who created the MPASJEDI case in the current RDASApp. So I would like to loop more people in this thread: @ShunLiu-NOAA @TingLei-NOAA @xyzemc @SamuelDegelia-NOAA @delippi Could anyone help answer @Junjun-NOAA's question in the above? Thanks!
This issue is also related to the issue: https://github.com/NOAA-EMC/RDASApp/issues/84 If we prepare a 30-member MPASJEDI case, how do you get the bkg file? Is it the mpasout file?
@Junjun-NOAA 1) In our current mpas-jedi test from @xyzemc 's 15km mpas forecast,, we use restart files for background and ensembles. For example, restart.2022-05-26_19.00.00.nc was copied to bg.2022-05-26_19.00.00.nc. The dir containing the forecast from Xiaoyan is hera: /scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-mpas-bundle/rdas-mpas-tests/CONUS_15km_forecast, you could find the diag files too.
2) for how to specify the variables in output, i think @xyzemc is the better person to answer you. From my side, they were controlled by those stream files in the same directory : like those files defined by
Again, @xyzemc could clarify on this.
Hope this could help before Xiaoyan clarify on remaining confusion:).
@TingLei-NOAA Thanks a lot for the information!
I have a question on this file:
/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-mpas-bundle/rdas-mpas-tests/CONUS_15km_forecast/streams.atmosphere
<stream name="output"
type="output"
filename_template="mpasout.$Y-$M-$D_$h.$m.$s.nc"
output_interval="1:00:00" >
<file name="stream_list.atmosphere.output"/>
</stream>
Did you modify
https://github.com/MPAS-Dev/MPAS-Model/blob/develop/src/core_atmosphere/Registry.xml
so that the above "output" stream can output variables listed in the da_state
stream which the mpasout files should contain?
@guoqing-noaa This part definitely needs more investigation.
Currently, 1) what I do is to use the same background file to be renamed with the analysis file like an.** before analysis begins. I think this is the mpas-jedi's standard way.
2). What I understand is that the updated variables in the pre-existing analysis file would be the analysis variables (directly or indirectly) which is controlled by mpas-jedi and assume the "stream_list.atmosphere.output" will not affect this process.
Basically, I think this part is similar to GSI fv3lam 's procedure.
Further verification on this will be helpful.
@TingLei-NOAA Thanks a lot for the information!
I have a question on this file:
/scratch2/NCEPDEV/fv3-cam/Ting.Lei/dr-mpas-bundle/rdas-mpas-tests/CONUS_15km_forecast/streams.atmosphere
<stream name="output" type="output" filename_template="mpasout.$Y-$M-$D_$h.$m.$s.nc" output_interval="1:00:00" > <file name="stream_list.atmosphere.output"/> </stream>
Did you modify https://github.com/MPAS-Dev/MPAS-Model/blob/develop/src/core_atmosphere/Registry.xml so that the above "output" stream can output variables listed in the
da_state
stream which the mpasout files should contain?
I didn't modify the Registry.xml when I created the case. So just the default variables are included in the mpasout file. At the beginning, we tried to use the mpasout as the analysis background, but some variables are missing. So we switch to use the restart file. I think if you modify the Registry.xml to add are required variables, the mpasout file should work for the JEDI background.
@xyzemc Thanks for the clarification. @TingLei-NOAA Thanks for the information. Now I got it. The mpasout files in your directory are actually history files.
In order to generate mpasout files, we will need to use the MPASJEDI version of the MPAS model. I checked with NCAR MPASJEDI developers and the good news is that we are not far from this MPASOUT function being integrated into the latest MPAS model version.
I agree that we may use the restart files at the moment.
@xyzemc
in streams.atmosphere_15km, there is a templateFields.93175.nc file:
immutable_stream name="input"
type="input"
precision="single"
filename_template="Data_static/templateFields.93175.nc"
io_type="pnetcdf,cdf5"
input_interval="initial_only" />
Is this required by MPAS JEDI? How did you generate this file? Thanks!
Is this a renaming of theinit.nc
file?
Thanks @xyzemc and @TingLei-NOAA for the information. The below is what I have got from mpassit (T2 field), can you please check whether the domain is correct? Thanks.
Thanks @xyzemc and @TingLei-NOAA for the information. The below is what I have got from mpassit (T2 field), can you please check whether the domain is correct? Thanks.
Yes, the domain looks right. You can check this link to see the domain plot that I created on the global map.
The plan is to transform RDASApp MPAS test data (both deterministic and ensemble) into HRRR-like lambert grid. When using MPASSIT, we need to defined three files: a grid file to provide the grid information, a history MPAS data file and a diag MPAS file for the diagnostic variables. In RDASApp, we can only find one file. Using the deterministic case as example, we can find the background file from rrfs-test-data/rrfs-data_mpasjedi_2022052619/Data/bkg/bg.2022-05-26_19.00.00.nc. I tried to set all these three files to be the bg.2022-05-26_19.00.00.nc, the program crashed due to some missing values in the grid file (e.g. ter field). I have some questions to ask:
- I am supposing the bg file is from MPAS forecasts. Can you please provide the initial file and the forecast files? Are the history and diag files the same file? If not, can you provide these three(or two) files you were using when creating the bg file.
- MPASIT also defined the variables to be transferred from MPAS data to HRRR-like grid. I found there are several variables GSL is using are missed in this bg file. Can you please provide the variable list you included when creating the bg file?
@guoqing-noaa @TingLei-NOAA
If you are still looking for the diagnostic file, you can find it from my directory on Hera: /scratch1/NCEPDEV/fv3-cam/Xiaoyan.Zhang/mpas/regional/CONUS_15km/JEDI_MPAS_CONUS/diag
@xyzemc
in streams.atmosphere_15km, there is a templateFields.93175.nc file:
immutable_stream name="input" type="input" precision="single" filename_template="Data_static/templateFields.93175.nc" io_type="pnetcdf,cdf5" input_interval="initial_only" />
Is this required by MPAS JEDI? How did you generate this file? Thanks!
Is this a renaming of the
init.nc
file?
The Template file was handled by @TingLei-NOAA . It looks like copied from init.nc, but let's wait for @TingLei-NOAA to confirm it.
The Template file was handled by @TingLei-NOAA . It looks like copied from init.nc, but let's wait for @TingLei-NOAA to confirm it.
@xyzemc, thanks for the information! I used a restart file to replace this templateFields file, it looks like it worked for this step.
Increments from a single sonde ob 3DEnVAR experiment with 401km horizontal JEDI radius and 3 vertical levels radius. It looks like the ensembles don't provide much flow-dependent structure for this case.
Increments from a single sonde ob 3DEnVAR experiment with 401km horizontal JEDI radius and 11 vertical levels radius (this is equivalent to 3 e-folding radius in GSI)
We will examine the assimilation of radiosonde observations - GSI vs JEDI for the MPAS case The general plan is to do a single observation test using the MPAS test case included in RDASApp. Then we will do a full test of radiosonde DA.
The reason to create an issue separate from the FV3 case is that for the MPAS case, we will run the MPASSIT progrm to convert the MPAS grid to a HRRR-like lambert grid and we can conduct similar DA tests based on that grid and compare results to MPAS-JEDI.
@Junjun-NOAA is working on running MPASSIT.