-
Notifications
You must be signed in to change notification settings - Fork 46
Additional variables in diag files for WDQMS #978
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
7afbacd
Add run observer scripts
ADCollard afeacad
Merge branch 'NOAA-EMC:develop' into develop
ADCollard d5ce430
Merge branch 'NOAA-EMC:develop' into develop
ADCollard 4f13a47
Add output of CAT and T29 to t,q,uv diag files
ADCollard a2e8157
Changes for ps
ADCollard 84d61fc
Prune run_observer directory
ADCollard 3ae7d50
Modify prune so sub_{} are actually removed
ADCollard File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| Script to run the GSI observer in standalone mode. | ||
| -------------------------------------------------- | ||
|
|
||
| To get inital files from operations: | ||
|
|
||
| > sbatch rungsi_v17_dev.sh | ||
|
|
||
| You will need to set bdate in this script to the correct date. | ||
|
|
||
|
|
||
|
|
||
| To run the standalone code: | ||
|
|
||
| > sbatch rungsi_v17_dev.sh | ||
|
|
||
|
|
||
| This is basically a modified exglobal_atmos_analysis.sh. | ||
| To get started you will need to modify some of the following lines: | ||
| ----- | ||
| # Path to previously built GSI is here | ||
| GSIDIR=/scratch3/NCEPDEV/da/${USER}/git/GSI_develop <<<<<<<<<< | ||
| machine=ursa <<<<<<<<<< | ||
|
|
||
| # Set experiment name and analysis date | ||
| adate=2025041500 | ||
| exp=v17-dev.$adate | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,84 @@ | ||
| #!/bin/sh | ||
| #SBATCH -o getfiles.out | ||
| #SBATCH -e getfiles.err | ||
| #SBATCH -p u1-service | ||
| #SBATCH --ntasks=1 | ||
| #SBATCH --time=6:00:00 | ||
| #SBATCH -A da-cpu | ||
| #SBATCH -J get_hpss_stuff | ||
|
|
||
| bdate=2025041500 # For stand alone GSI just need to change this date | ||
| edate=$bdate | ||
| cdate=${bdate} | ||
|
|
||
| expid=GDAS-ops | ||
| prod=v16.3 | ||
|
|
||
| hpss_base_dir=/NCEPPROD/hpssprod/runhistory | ||
|
|
||
| NDATE=/home/Andrew.Collard/bin/ndate | ||
|
RussTreadon-NOAA marked this conversation as resolved.
|
||
| HPSSTAR=/home/Andrew.Collard/bin/hpsstar | ||
|
|
||
| while [[ ${cdate} -le ${edate} ]]; do | ||
|
|
||
| # for current analysis cycle | ||
| data_dir=/scratch3/NCEPDEV/stmp/$USER/$expid | ||
| mkdir -p ${data_dir} | ||
| cd ${data_dir} | ||
|
|
||
| y4a=`echo $cdate | cut -c1-4` | ||
| m2a=`echo $cdate | cut -c5-6` | ||
| d2a=`echo $cdate | cut -c7-8` | ||
| h2a=`echo $cdate | cut -c9-10` | ||
|
|
||
| yyyymmdda=${y4a}${m2a}${d2a} | ||
| hha=${h2a} | ||
| yyyymmddhha=${yyyymmdda}${hha} | ||
|
|
||
| # get required initial files from previous cycle | ||
| gdate=`$NDATE -6 ${cdate}` | ||
| y4g=`echo $gdate | cut -c1-4` | ||
| m2g=`echo $gdate | cut -c5-6` | ||
| d2g=`echo $gdate | cut -c7-8` | ||
| h2g=`echo $gdate | cut -c9-10` | ||
|
|
||
| yyyymmddg=${y4g}${m2g}${d2g} | ||
| hhg=${h2g} | ||
| yyyymmddhhg=${yyyymmddg}${hhg} | ||
|
|
||
| hpssa_dir=${hpss_base_dir}/rh${y4a}/${y4a}${m2a}/${yyyymmdda} | ||
| hpssg_dir=${hpss_base_dir}/rh${y4g}/${y4g}${m2g}/${yyyymmddg} | ||
|
|
||
| # ===================== | ||
| # Get deterministics | ||
| # ===================== | ||
| # Get initial conditions related to bias correction from previous (guess) cycle | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_restart.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.abias | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_restart.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.abias_pc | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_restart.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.abias_air | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_restart.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.radstat | ||
|
|
||
| # Get initial conditions related to model states from previous(guess) cycle | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_nc.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.atmf003.nc | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_nc.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.atmf006.nc | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_nc.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.atmf009.nc | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_nc.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.sfcf003.nc | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_nc.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.sfcf006.nc | ||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_gdas.${yyyymmddg}_${h2g}.gdas_nc.tar ./gdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.sfcf009.nc | ||
|
|
||
| $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_enkfgdas.${yyyymmddg}_${h2g}.enkfgdas.tar ./enkfgdas.${yyyymmddg}/${hhg}/atmos/gdas.t${hhg}z.sfcf006.ensmean.nc | ||
|
|
||
| # ============================================================= | ||
| # Get ensembles | ||
| # ./enkfgdas.20200914/18/atmos/mem002/gdas.t18z.atmf003.nc | ||
| # ============================================================= | ||
| # $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_enkfgdas.${yyyymmddg}_${h2g}.enkfgdas_restart_grp1.tar . & | ||
| # $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_enkfgdas.${yyyymmddg}_${h2g}.enkfgdas_restart_grp1.tar . & | ||
| # $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_enkfgdas.${yyyymmddg}_${h2g}.enkfgdas_restart_grp1.tar . & | ||
| # $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_enkfgdas.${yyyymmddg}_${h2g}.enkfgdas_restart_grp1.tar . & | ||
|
|
||
| # $HPSSTAR get ${hpssg_dir}/com_gfs_${prod}_enkfgdas.${yyyymmddg}_${h2g}.enkfgdas_restart_grp1.tar . & | ||
|
|
||
| cdate=`$NDATE +6 ${cdate}` | ||
|
RussTreadon-NOAA marked this conversation as resolved.
|
||
| done | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.