aigefs: add a new component and prep scripts#915
aigefs: add a new component and prep scripts#915GwenChen-NOAA wants to merge 4 commits intoNOAA-EMC:feature/add_aifrom
Conversation
| # 1. Retrive/regrid analysis/observational data (1 degree and 1.5 degree for | ||
| # WMO). |
There was a problem hiding this comment.
@GwenChen-NOAA Will WMO verification be included in aigefs?
There was a problem hiding this comment.
Not in the near future. The comment for WMO grid has removed.
|
|
||
| export COMIN=/lfs/h2/emc/vpppg/noscrub/${USER}/$NET/$evs_ver_2d | ||
| export COMINaigefs=/lfs/h1/ops/prod/com/aigefs/${aigefs_ver} | ||
| export COMINhgefs=/lfs/h1/ops/prod/com/hgefs/${hgefs_ver} |
There was a problem hiding this comment.
@GwenChen-NOAA Can you please remove the COMINaigefs and COMINhgefs lines from the dev driver? These two lines should be specified in the J-job only when the model output is in prod/com/. Thanks!
| #PBS -l place=vscatter:exclhost,select=2:ncpus=48:mem=400GB:prepost=true | ||
| #PBS -l debug=true | ||
|
|
||
| set -x |
There was a problem hiding this comment.
I think cd $PBS_O_WORKDIR is needed after the set -x so that the job launches in the directory from which is was submitted?
There was a problem hiding this comment.
I'm not sure it's necessary. Global_ens driver scripts do not have it.
|
Is
but nothing downstream in scripts/ or ush. If this isn't needed, can we remove it? |
I think it's better to keep it because it is used in the JOBNAME, so the naming convention is consistent for all prep, stats and plots jobs. |
It looks like it is mismatched, though, with what the is being set with dev/drivers/scripts/prep/aigefs/jevs_prep_aigefs_atmos.sh has I think then |
Ok, I removed VERIF_CASE and changed JOBNAME to jevs_${STEP}${COMPONENT}${RUN}. |
|
It looks like it is still lingering in JEVS_PREP_AIGEFS#L33. I appreciate you making the changes! This helps keeps the code cleaner and more concise. |
jobs/JEVS_PREP_AIGEFS
Outdated
| if [ "${RUN}" == "headline" ]; then | ||
| mkdir -p $COMOUTaigefs $COMOUThgefs | ||
| elif [ "${RUN}" == "atmos" ]; then | ||
| mkdir -p $COMOUTgefs $COMOUTaigefs $COMOUThgefs $COMOUTcompleted | ||
| fi |
There was a problem hiding this comment.
@GwenChen-NOAA It looks like $RUN is set to atmos in the aigefs prep job. Please remove the part of this if statement that refers to when $RUN is set to headline. If you ever add headline prep to aigefs, this if statement can be added back.
parm/metplus_config/stats/aigefs/atmos_grid2obs/Pb2nc_obsGFS_Prepbufr.conf
Outdated
Show resolved
Hide resolved
parm/metplus_config/stats/aigefs/atmos_grid2obs/Pb2nc_obsGFS_Prepbufr_Profile.conf
Outdated
Show resolved
Hide resolved
Thanks! Missed this one. |
|
Thanks for the latest commit @GwenChen-NOAA. I will pull in your changes and begin testing. |
|
@GwenChen-NOAA The prep job has finished. The job completed successfully with errors, there were a few warnings of missing data from the emc.vpppg prep space, tied to missing ccpa data: The prep data looks to match the data in /lfs/h2/emc/vpppg/noscrub/Lichuan.Chen/evs/v2.0/prep/aigefs/atmos.20260302. The sizes of the prep subdirectories match as well: Can you confirm is your parallel had similar CCPA file warnings and confirm my prep output matches your own? Logs: /lfs/h2/emc/vpppg/noscrub/andrew.benjamin/pr915/EVS/dev/drivers/scripts/prep/aigefs/jevs_prep_aigefs_atmos.o98787317 |
|
Regarding the CCPA warning: if you look at the log file, the ccpa file is looking in /lfs/h2/emc/vpppg/noscrub/emc.vpppg/evs/v2.0/prep/aigefs/atmos.20260302/gefs/. I think this may be because your instructions have COMIN set to the emc.vpppg parallel. It is looking for ccpa grib2 files in an evs directory that doesn't exist. Is there another directory that I should add to the instructions to make sure this data is found? |
|
@AndrewBenjamin-NOAA, the CCPA warning is normal because 24-hr precip accumulation needs CCPA files from previous day to calculate, and it couldn't find them under /lfs/h2/emc/vpppg/noscrub/andrew.benjamin/evs/v2.0/prep/aigefs. If you want to make sure, you can copy /lfs/h2/emc/vpppg/noscrub/Lichuan.Chen/evs/v2.0/prep/aigefs/atmos.20260301 to your prep directory and rerun the prep job for 20260302 (remember to delete the old atmos.20260302/ first). Or, wait until tomorrow to test run it again. The CCPA warning should disappear then. |
@GwenChen-NOAA Should the ccpa files be in their own directory in atmos.$PDY rather than in the gefs directory? Also, for retesting, given the production switch, can you please provide testing instructions where we could potentially get a clean run without warnings on cactus? |
All obs files (ccpa, gfs anl, gdas etc.) are located in the gefs directory. This is the same structure used in global_ens. For testing, please copy /lfs/h2/emc/vpppg/noscrub/Lichuan.Chen/evs/v2.0/prep/aigefs/atmos.20260302 to your prep directory, then run the prep job. Your prep job will create a new atmos.20260303 directory, which should be the same as mine at /lfs/h2/emc/vpppg/noscrub/Lichuan.Chen/evs/v2.0/prep/aigefs. |
@GwenChen-NOAA, are these gefs files under the aigefs prep unique in some way from those that are found in global_ens prep, or are they the same? |
@malloryprow, they are not the same. They contain different variables and levels. |
@GwenChen-NOAA this is only partially true. The gefs prep data in global_ens has 70 grib records, the gefs prep in aigefs contains a subset of that file with only 50 records. But those files are otherwise identical. They are on the same grid, and the 50 records that match between the files contain the same data. |
|
That's fair. You can say that the current gefs files under aigefs are a subset of those under global_ens since aigefs was adapted from global_ens and we needed it up and running in a short time. Jun Wang has asked for additional variables and levels that are not verified in global_ens. I will add those in the next development cycle. She also asked for additional metrics that are not used in the loss functions. We also consider reducing the grid resolution to better quantify AI models' blurriness/sharpness. So, aigefs and global_ens will grow more distinctly in the future to address their different needs for AI model verification and physics-based model verification. |
Description of Changes
This PR adds a new component aigefs to EVS and its associated prep scripts.
Developer Questions and Checklist
${USER}where necessary throughout the code.HOMEevsare removed from the code.dev/drivers/scriptsordev/modulefileshave been made in the correspondingecf/scriptsandecf/defs/evs-nco.def?Testing Instructions
(1) Set up jobs
a. Symlink the EVS_fix directory locally as "fix".
b. In the driver scripts, edit the following environment variables:
HOMEevs - set to your test EVS directory
COMIN - set to /lfs/h2/emc/vpppg/noscrub/emc.vpppg/${NET}/$evs_ver_2d
COMOUT - set to your test output directory
KEEPDATA - set to YES
(2) Run the atmos prep job
Run the following job in dev/drivers/scripts/prep/aigefs for any VDATE:
qsub jevs_prep_aigefs_atmos.sh
After the job completed, log file should be free of errors or warnings, and the output atmos.YYYYMMDD should be the same as that under /lfs/h2/emc/vpppg/noscrub/Lichuan.Chen/evs/v2.0/prep/aigefs.