Skip to content
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

Add in initial 3DVar aerosol DA cycling capability #1106

Merged
merged 132 commits into from
Feb 10, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
132 commits
Select commit Hold shift + click to select a range
5848a84
Update rocoto scripts to call j-jobs
CoryMartin-NOAA Aug 23, 2022
801b0a5
touch j-jobs
CoryMartin-NOAA Aug 23, 2022
7a6dc92
touch ex-scripts
CoryMartin-NOAA Aug 23, 2022
353cd79
Update j-jobs
CoryMartin-NOAA Aug 24, 2022
dd84394
set STRICT to NO
CoryMartin-NOAA Aug 25, 2022
81858d7
Start of initialize script
CoryMartin-NOAA Aug 29, 2022
91c37cd
Dummy ex-scripts
CoryMartin-NOAA Aug 29, 2022
7d9bae2
Merge branch 'develop' into feature/aeroda_jobs
CoryMartin-NOAA Aug 29, 2022
2bad09a
Make all aeroanl jobs use same data dir
CoryMartin-NOAA Aug 31, 2022
8ce5031
Start of initialize script
CoryMartin-NOAA Aug 31, 2022
0858f13
Incremental commit
CoryMartin-NOAA Sep 2, 2022
98504d0
Just save to go talk
CoryMartin-NOAA Sep 2, 2022
d86fd99
Cleanup classes
CoryMartin-NOAA Sep 2, 2022
33fe3e2
Incremental change
CoryMartin-NOAA Sep 6, 2022
a232856
incremental update
CoryMartin-NOAA Sep 6, 2022
616b86c
Fix paths in j-jobs for aero scripts
CoryMartin-NOAA Sep 6, 2022
6afb8a7
Remove pythonpath and print
CoryMartin-NOAA Sep 6, 2022
dfd2bab
More changes
CoryMartin-NOAA Sep 6, 2022
82f5d90
bugfix to get it to work hopefully
CoryMartin-NOAA Sep 6, 2022
520a871
fix logging information
CoryMartin-NOAA Sep 6, 2022
fcc1d4c
Change prints to passes
CoryMartin-NOAA Sep 6, 2022
9e6fc64
Update gdasapp commit; typo fix in parm config; progress towards stag…
CoryMartin-NOAA Sep 8, 2022
2150ed5
working copy of obs
CoryMartin-NOAA Sep 9, 2022
ae1fca7
Update fix file path for aeroanl
CoryMartin-NOAA Sep 9, 2022
197cfa8
Changes to config.aeroanl; working ob/bkg copy; to test yaml write
CoryMartin-NOAA Sep 9, 2022
bed58e7
Lots of changes
CoryMartin-NOAA Sep 9, 2022
bc2015c
Add doc header
CoryMartin-NOAA Sep 9, 2022
f643ffd
Add NPOESS VIS files to copy
CoryMartin-NOAA Sep 11, 2022
1e60ef7
Update finalize ex script
CoryMartin-NOAA Sep 12, 2022
69d5dd9
Update analysis task
CoryMartin-NOAA Sep 12, 2022
37b5dbf
fix config.aeroanl
CoryMartin-NOAA Sep 15, 2022
d47defb
incremental update
CoryMartin-NOAA Sep 15, 2022
ddf6541
Save before lunch
CoryMartin-NOAA Sep 15, 2022
33ae03b
Save diags to rotdir
CoryMartin-NOAA Sep 15, 2022
28c2321
Copy YAML file to rotdir
CoryMartin-NOAA Sep 15, 2022
c2774fd
End of day commit
CoryMartin-NOAA Sep 15, 2022
54af10d
Fix missing cdate_fv3
CoryMartin-NOAA Sep 15, 2022
593f3ea
Changes to workflow to include staticB matrices
Oct 20, 2022
f05ed7e
Changes to workflow to include aero DA with static-B
Oct 31, 2022
5571459
Update gdasapp hashes
CoryMartin-NOAA Nov 1, 2022
1e2a30f
Merge branch 'develop' of https://github.com/noaa-emc/global-workflow…
CoryMartin-NOAA Nov 1, 2022
08ec8c2
Some minor things to get cycling going
CoryMartin-NOAA Nov 1, 2022
a8dac5d
Update hash for gdasapp
CoryMartin-NOAA Nov 1, 2022
f4ffba9
Some small changes to analysis.py
CoryMartin-NOAA Nov 2, 2022
4442243
Generalize jobs to load modules on hera and orion
CoryMartin-NOAA Nov 2, 2022
ade7c36
Support identity B for aero
CoryMartin-NOAA Nov 2, 2022
b904215
Update gdasapp hash
CoryMartin-NOAA Nov 2, 2022
7931a8a
Attempt to fix linter issues for one file
CoryMartin-NOAA Nov 3, 2022
16ea583
another linter check
CoryMartin-NOAA Nov 3, 2022
85218b9
More linter
CoryMartin-NOAA Nov 3, 2022
7204c87
Linter done for two J-jobs before lunch
CoryMartin-NOAA Nov 3, 2022
cd3068a
More linter changes
CoryMartin-NOAA Nov 3, 2022
47bd8b4
more linter stuff
CoryMartin-NOAA Nov 3, 2022
f554b1d
more linter again
CoryMartin-NOAA Nov 3, 2022
1536029
Address reviewer comments by @russtreadon-noaa
CoryMartin-NOAA Nov 7, 2022
0e24cba
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Dec 2, 2022
c80c86f
Fix known bugs before review comments are addressed
CoryMartin-NOAA Dec 2, 2022
3887616
make aerosol da a dependency of fcst if cycling and using aerosols
CoryMartin-NOAA Dec 2, 2022
cd26d7a
Typo
CoryMartin-NOAA Dec 2, 2022
8007a2d
Separate out subclasses
CoryMartin-NOAA Dec 2, 2022
05ce283
cleanup the ex scripts
CoryMartin-NOAA Dec 2, 2022
44a5e02
update commit hash for gdasapp
CoryMartin-NOAA Dec 2, 2022
21e5d61
More tidying up before addressing classes
CoryMartin-NOAA Dec 2, 2022
6f7a6fa
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Dec 7, 2022
c71da55
move gfs module to python/pygfs
CoryMartin-NOAA Dec 7, 2022
9339d60
Modify rocoto jobs to set PYTHONPATH
CoryMartin-NOAA Dec 7, 2022
7292b68
Modify j-jobs
CoryMartin-NOAA Dec 7, 2022
c472fef
lint roller
CoryMartin-NOAA Dec 7, 2022
c743d1d
Incremental save before meeting
CoryMartin-NOAA Dec 7, 2022
0b9f2e6
test for debugging gdasapp
CoryMartin-NOAA Dec 7, 2022
d49e612
Remove py header docstring and change to pygfs
CoryMartin-NOAA Dec 7, 2022
3868d5a
Dumb thing just to confirm ci test is working
CoryMartin-NOAA Dec 7, 2022
2d8cbcf
Save before merge
CoryMartin-NOAA Dec 7, 2022
12b7f9a
Merge branch 'feature/aeroda_staticb_crm' of https://github.com/NOAA-…
CoryMartin-NOAA Dec 7, 2022
76a643c
Start of yaml based copy for stage
CoryMartin-NOAA Dec 7, 2022
4e99947
Create aero_jedi_fix.yaml
CoryMartin-NOAA Dec 7, 2022
5ec625a
remove changes from fsutils
CoryMartin-NOAA Dec 9, 2022
c3d8866
Incremental save
CoryMartin-NOAA Dec 9, 2022
023d50c
Friday afternoon save
CoryMartin-NOAA Dec 9, 2022
b816f9d
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Dec 9, 2022
cb77783
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Dec 13, 2022
fdb6bd8
Changes to aerosol tasks
CoryMartin-NOAA Dec 13, 2022
999baea
Update aero_analysis.py
CoryMartin-NOAA Dec 13, 2022
af61a18
init works; waiting on run to get through queue
CoryMartin-NOAA Dec 14, 2022
26acb44
save before pycodestyle
CoryMartin-NOAA Dec 14, 2022
a7b0d26
pycodestyle
CoryMartin-NOAA Dec 14, 2022
9ea9e9f
pycodestyle part deux
CoryMartin-NOAA Dec 14, 2022
eb915d0
fix where aprun will not work properly in quotes
CoryMartin-NOAA Dec 14, 2022
27f3383
Save before merge
CoryMartin-NOAA Dec 15, 2022
4855ec7
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Dec 15, 2022
08e0428
Change j-jobs
CoryMartin-NOAA Dec 15, 2022
79af76f
add RUN
CoryMartin-NOAA Dec 15, 2022
bae934f
Update jobs/JGDAS_GLOBAL_AERO_ANALYSIS_INITIALIZE
CoryMartin-NOAA Dec 15, 2022
6e9c953
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Jan 20, 2023
175648f
Changes to address some reviewer comments
CoryMartin-NOAA Jan 20, 2023
2383214
Update to gdasapp hash right before ioda naming convention change
CoryMartin-NOAA Jan 20, 2023
d309030
Use the j-job header properly
CoryMartin-NOAA Jan 20, 2023
8706ef8
Minor fixes to get cycling working on hera
CoryMartin-NOAA Jan 25, 2023
5af46f8
make the linter happy
CoryMartin-NOAA Jan 25, 2023
54b6432
make the python linter happy too
CoryMartin-NOAA Jan 25, 2023
27a104a
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Jan 25, 2023
a43a428
reviewer comments
CoryMartin-NOAA Jan 25, 2023
15e7e74
more lint
CoryMartin-NOAA Jan 25, 2023
635501a
Make aero static B more generic
CoryMartin-NOAA Jan 25, 2023
725a833
Add brief documentation for each ex-script
CoryMartin-NOAA Jan 25, 2023
57a8a84
Minor thing
CoryMartin-NOAA Jan 25, 2023
db9193b
JGDAS_GLOBAL to JGLOBAL
CoryMartin-NOAA Jan 26, 2023
f038793
a few updates after the discussion
aerorahul Jan 26, 2023
065ccba
Make some little tweaks
aerorahul Jan 27, 2023
b70cfe4
use task_config in the class
aerorahul Jan 27, 2023
904f1eb
Merge branch 'feature/aeroda_staticb_crm' into patch/aeroda_staticb_crm
aerorahul Jan 27, 2023
b48383a
no need for the configure method
aerorahul Jan 27, 2023
c43684f
Merge pull request #1288 from aerorahul/patch/aeroda_staticb_crm
CoryMartin-NOAA Jan 30, 2023
fd4aca9
PEP8 changes
CoryMartin-NOAA Jan 30, 2023
7bc3d2b
Add workflow env to build; fix some minor issues
CoryMartin-NOAA Jan 30, 2023
4a1518b
Merge branch 'feature/aeroda_staticb_crm' of https://github.com/NOAA-…
CoryMartin-NOAA Jan 30, 2023
4cb8ab7
end of day commit
CoryMartin-NOAA Jan 30, 2023
3c23875
Save to push
CoryMartin-NOAA Feb 6, 2023
32aef20
make get_bkg and get_berror generic to all analyses
CoryMartin-NOAA Feb 6, 2023
8e69275
Find ones self
CoryMartin-NOAA Feb 6, 2023
7581bec
init job runs again
CoryMartin-NOAA Feb 6, 2023
9c988bf
leading zeros
CoryMartin-NOAA Feb 6, 2023
6c5ae54
Working now need to clean up
CoryMartin-NOAA Feb 6, 2023
186bf79
Consolidate BUMP file list generation; use tileX syntax
CoryMartin-NOAA Feb 6, 2023
ecd0cca
Starting to lint trap
CoryMartin-NOAA Feb 6, 2023
fdf4139
Merge branch 'develop' into feature/aeroda_staticb_crm
CoryMartin-NOAA Feb 6, 2023
46e6319
Add documentation; make incvars a YAML
CoryMartin-NOAA Feb 6, 2023
58c4c71
pycodestyle again
CoryMartin-NOAA Feb 6, 2023
8ec0457
Update analysis.py
CoryMartin-NOAA Feb 6, 2023
6d65542
Update analysis.py
CoryMartin-NOAA Feb 6, 2023
51e070f
Apply suggestions from code review
CoryMartin-NOAA Feb 7, 2023
68d5ca5
Fix PYTHONPATH
CoryMartin-NOAA Feb 7, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
62 changes: 62 additions & 0 deletions jobs/JGLOBAL_AERO_ANALYSIS_FINALIZE
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
export WIPE_DATA="NO"
export DATA=${DATA:-${DATAROOT}/${RUN}aeroanl_${cyc}}
source "${HOMEgfs}/ush/jjob_header.sh" -e "aeroanlfinal" -c "base aeroanl aeroanlfinal"

##############################################
# Set variables used in the script
##############################################
export CDATE=${CDATE:-${PDY}${cyc}}
export CDUMP=${CDUMP:-${RUN:-"gfs"}}


##############################################
# Begin JOB SPECIFIC work
##############################################

GDATE=$(date +%Y%m%d%H -d "${CDATE:0:8} ${CDATE:8:2} - ${assim_freq} hours")
export GDATE
gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
export GDUMP=${GDUMP:-"gdas"}

export OPREFIX="${CDUMP}.t${cyc}z."
export GPREFIX="${GDUMP}.t${gcyc}z."
export APREFIX="${CDUMP}.t${cyc}z."

export COMOUT=${COMOUT:-${ROTDIR}/${CDUMP}.${PDY}/${cyc}/chem}

mkdir -p "${COMOUT}"

# COMIN_GES and COMIN_GES_ENS are used in script
export COMIN_GES="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/chem"
export COMIN_GES_ENS="${ROTDIR}/enkf${GDUMP}.${gPDY}/${gcyc}/chem"

###############################################################
# Run relevant script

EXSCRIPT=${GDASAEROFINALPY:-${HOMEgfs}/scripts/exglobal_aero_analysis_finalize.py}
${EXSCRIPT}
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################
if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

##########################################
# Remove the Temporary working directory
##########################################
cd "${DATAROOT}" || exit 1
[[ ${KEEPDATA} = "NO" ]] && rm -rf "${DATA}"

exit 0
55 changes: 55 additions & 0 deletions jobs/JGLOBAL_AERO_ANALYSIS_INITIALIZE
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
export DATA=${DATA:-${DATAROOT}/${RUN}aeroanl_${cyc}}
source "${HOMEgfs}/ush/jjob_header.sh" -e "aeroanlinit" -c "base aeroanl aeroanlinit"

##############################################
# Set variables used in the script
##############################################
export CDATE=${CDATE:-${PDY}${cyc}}
export CDUMP=${CDUMP:-${RUN:-"gfs"}}


##############################################
# Begin JOB SPECIFIC work
##############################################

GDATE=$(date +%Y%m%d%H -d "${CDATE:0:8} ${CDATE:8:2} - ${assim_freq} hours")
export GDATE
gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
export GDUMP=${GDUMP:-"gdas"}

export OPREFIX="${CDUMP}.t${cyc}z."
export GPREFIX="${GDUMP}.t${gcyc}z."
export APREFIX="${CDUMP}.t${cyc}z."

export COMOUT=${COMOUT:-${ROTDIR}/${CDUMP}.${PDY}/${cyc}/chem}

mkdir -p "${COMOUT}"

# COMIN_GES and COMIN_GES_ENS are used in script
export COMIN_GES="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/chem"
export COMIN_GES_ENS="${ROTDIR}/enkf${GDUMP}.${gPDY}/${gcyc}/chem"

###############################################################
# Run relevant script

EXSCRIPT=${GDASAEROINITPY:-${HOMEgfs}/scripts/exglobal_aero_analysis_initialize.py}
${EXSCRIPT}
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################
if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

exit 0
56 changes: 56 additions & 0 deletions jobs/JGLOBAL_AERO_ANALYSIS_RUN
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
#! /usr/bin/env bash

source "${HOMEgfs}/ush/preamble.sh"
export WIPE_DATA="NO"
export DATA=${DATA:-${DATAROOT}/${RUN}aeroanl_${cyc}}
source "${HOMEgfs}/ush/jjob_header.sh" -e "aeroanlrun" -c "base aeroanl aeroanlrun"

##############################################
# Set variables used in the script
##############################################
export CDATE=${CDATE:-${PDY}${cyc}}
export CDUMP=${CDUMP:-${RUN:-"gfs"}}


##############################################
# Begin JOB SPECIFIC work
##############################################

GDATE=$(date +%Y%m%d%H -d "${CDATE:0:8} ${CDATE:8:2} - ${assim_freq} hours")
export GDATE
gPDY=${GDATE:0:8}
export gcyc=${GDATE:8:2}
export GDUMP=${GDUMP:-"gdas"}

export OPREFIX="${CDUMP}.t${cyc}z."
export GPREFIX="${GDUMP}.t${gcyc}z."
export APREFIX="${CDUMP}.t${cyc}z."

export COMOUT=${COMOUT:-${ROTDIR}/${CDUMP}.${PDY}/${cyc}/chem}

mkdir -p "${COMOUT}"

# COMIN_GES and COMIN_GES_ENS are used in script
export COMIN_GES="${ROTDIR}/${GDUMP}.${gPDY}/${gcyc}/chem"
export COMIN_GES_ENS="${ROTDIR}/enkf${GDUMP}.${gPDY}/${gcyc}/chem"

###############################################################
# Run relevant script

EXSCRIPT=${GDASAERORUNSH:-${HOMEgfs}/scripts/exglobal_aero_analysis_run.sh}
${EXSCRIPT}
status=$?
[[ ${status} -ne 0 ]] && exit "${status}"

##############################################
# End JOB SPECIFIC work
##############################################

##############################################
# Final processing
##############################################
if [[ -e "${pgmout}" ]] ; then
cat "${pgmout}"
fi

exit 0
18 changes: 13 additions & 5 deletions jobs/rocoto/aeroanlfinal.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,23 @@
#! /usr/bin/env bash

source "$HOMEgfs/ush/preamble.sh"
source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
. $HOMEgfs/ush/load_fv3gfs_modules.sh
# Source UFSDA workflow modules
. "${HOMEgfs}/ush/load_ufsda_modules.sh"
status=$?
[[ $status -ne 0 ]] && exit $status
[[ ${status} -ne 0 ]] && exit "${status}"
CoryMartin-NOAA marked this conversation as resolved.
Show resolved Hide resolved

export job="aeroanlfinal"
export jobid="${job}.$$"

###############################################################
echo "Do nothing for now"
# setup python path for workflow utilities and tasks
pygwPATH="${HOMEgfs}/ush/python:${HOMEgfs}/ush/python/pygw/src"
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${pygwPATH}"
export PYTHONPATH
###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_AERO_ANALYSIS_FINALIZE"
status=$?
exit "${status}"
19 changes: 14 additions & 5 deletions jobs/rocoto/aeroanlinit.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
#! /usr/bin/env bash

source "$HOMEgfs/ush/preamble.sh"
source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
. $HOMEgfs/ush/load_fv3gfs_modules.sh
# Source UFSDA workflow modules
. "${HOMEgfs}/ush/load_ufsda_modules.sh"
status=$?
[[ $status -ne 0 ]] && exit $status
[[ ${status} -ne 0 ]] && exit "${status}"

export job="aeroanlinit"
export jobid="${job}.$$"

###############################################################
echo "Do nothing for now"
# setup python path for workflow utilities and tasks
pygwPATH="${HOMEgfs}/ush/python:${HOMEgfs}/ush/python/pygw/src"
PYTHONPATH="${PYTHONPATH:+${PYTHONPATH}:}${pygwPATH}"
export PYTHONPATH

###############################################################
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_AERO_ANALYSIS_INITIALIZE"
status=$?
exit "${status}"
13 changes: 8 additions & 5 deletions jobs/rocoto/aeroanlrun.sh
Original file line number Diff line number Diff line change
@@ -1,15 +1,18 @@
#! /usr/bin/env bash

source "$HOMEgfs/ush/preamble.sh"
source "${HOMEgfs}/ush/preamble.sh"

###############################################################
# Source FV3GFS workflow modules
. $HOMEgfs/ush/load_fv3gfs_modules.sh
# Source UFSDA workflow modules
. "${HOMEgfs}/ush/load_ufsda_modules.sh"
status=$?
[[ $status -ne 0 ]] && exit $status
[[ ${status} -ne 0 ]] && exit "${status}"

export job="aeroanlrun"
export jobid="${job}.$$"

###############################################################
echo "Do nothing for now"
# Execute the JJOB
"${HOMEgfs}/jobs/JGLOBAL_AERO_ANALYSIS_RUN"
status=$?
exit "${status}"
17 changes: 12 additions & 5 deletions parm/config/config.aeroanl
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,20 @@

echo "BEGIN: config.aeroanl"

export OBS_YAML_DIR=$HOMEgfs/sorc/gdas.cd/parm/aero/obs/config/
export OBS_LIST=$HOMEgfs/sorc/gdas.cd/parm/aero/obs/lists/aero_prototype.yaml
export AEROVARYAML=$HOMEgfs/sorc/gdas.cd/parm/aero/variational/3dvar_dripcg.yaml
export BERROR_YAML=$HOMEgfs/sorc/gdas.cd/parm/aero/berror/static_bump.yaml
export FV3JEDI_FIX=$HOMEgfs/fix/gdas
export CASE_ANL=${CASE}
aerorahul marked this conversation as resolved.
Show resolved Hide resolved
export OBS_YAML_DIR=${HOMEgfs}/sorc/gdas.cd/parm/aero/obs/config/
export OBS_LIST=${HOMEgfs}/sorc/gdas.cd/parm/aero/obs/lists/gdas_aero_prototype.yaml
export AEROVARYAML=${HOMEgfs}/sorc/gdas.cd/parm/aero/variational/3dvar_gfs_aero.yaml
export STATICB_TYPE='identity'
export BERROR_YAML=${HOMEgfs}/sorc/gdas.cd/parm/aero/berror/staticb_${STATICB_TYPE}.yaml
export FV3JEDI_FIX=${HOMEgfs}/fix/gdas
export BERROR_DATA_DIR=${FV3JEDI_FIX}/bump/aero/${CASE_ANL}/
export BERROR_DATE="20160630.000000"

export io_layout_x=@IO_LAYOUT_X@
export io_layout_y=@IO_LAYOUT_Y@

export JEDIVAREXE=${HOMEgfs}/exec/fv3jedi_var.x
export CRTM_VER="2.3.0"
aerorahul marked this conversation as resolved.
Show resolved Hide resolved

echo "END: config.aeroanl"
3 changes: 0 additions & 3 deletions parm/config/config.aeroanlrun
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,4 @@ echo "BEGIN: config.aeroanlrun"
# Get task specific resources
. $EXPDIR/config.resources aeroanlrun

# Task specific variables
export JEDIVAREXE=$HOMEgfs/exec/fv3jedi_var.x

echo "END: config.aeroanlrun"
29 changes: 27 additions & 2 deletions parm/config/config.resources
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,28 @@ elif [[ "${step}" = "atmanalpost" ]]; then

elif [[ "${step}" = "aeroanlinit" ]]; then

# below lines are for creating JEDI YAML
case ${CASE} in
C768)
layout_x=6
RussTreadon-NOAA marked this conversation as resolved.
Show resolved Hide resolved
layout_y=6
;;
C384)
layout_x=5
layout_y=5
;;
C192 | C96 | C48)
layout_x=8
layout_y=8
;;
*)
echo "FATAL ERROR: Resolution not supported for aerosol analysis'"
exit 1
esac

export layout_x
export layout_y

export wtime_aeroanlinit="00:10:00"
export npe_aeroanlinit=1
export nth_aeroanlinit=1
Expand All @@ -212,14 +234,17 @@ elif [[ "${step}" = "aeroanlrun" ]]; then
layout_y=5
;;
C192 | C96 | C48)
layout_x=3
layout_y=3
layout_x=8
layout_y=8
;;
*)
Fixed Show fixed Hide fixed
echo "FATAL: Resolution not supported'"
exit 1
esac

export layout_x
export layout_y

export wtime_aeroanlrun="00:30:00"
npe_aeroanlrun=$(echo "${layout_x} * ${layout_y} * 6" | bc)
export npe_aeroanlrun
Expand Down
23 changes: 23 additions & 0 deletions parm/parm_gdas/aero_crtm_coeff.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
mkdir:
- !ENV ${DATA}/crtm/
copy:
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/AerosolCoeff.bin
- !ENV ${DATA}/crtm/AerosolCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/CloudCoeff.bin
- !ENV ${DATA}/crtm/CloudCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/v.viirs-m_npp.SpcCoeff.bin
- !ENV ${DATA}/crtm/v.viirs-m_npp.SpcCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/v.viirs-m_npp.TauCoeff.bin
- !ENV ${DATA}/crtm/v.viirs-m_npp.TauCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/v.viirs-m_j1.SpcCoeff.bin
- !ENV ${DATA}/crtm/v.viirs-m_j1.SpcCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/v.viirs-m_j1.TauCoeff.bin
- !ENV ${DATA}/crtm/v.viirs-m_j1.TauCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/NPOESS.VISice.EmisCoeff.bin
- !ENV ${DATA}/crtm/NPOESS.VISice.EmisCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/NPOESS.VISland.EmisCoeff.bin
- !ENV ${DATA}/crtm/NPOESS.VISland.EmisCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/NPOESS.VISsnow.EmisCoeff.bin
- !ENV ${DATA}/crtm/NPOESS.VISsnow.EmisCoeff.bin
- - !ENV ${FV3JEDI_FIX}/crtm/${CRTM_VER}/NPOESS.VISwater.EmisCoeff.bin
- !ENV ${DATA}/crtm/NPOESS.VISwater.EmisCoeff.bin
Comment on lines +4 to +23
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just an FYI

  1. you don't need the !ENV
  2. I think I updated the FileHandler to provide a destination as a directory if the source filename and destination filenames are the same.

11 changes: 11 additions & 0 deletions parm/parm_gdas/aero_jedi_fix.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
mkdir:
- !ENV ${DATA}/fv3jedi
copy:
- - !ENV ${FV3JEDI_FIX}/fv3jedi/fv3files/akbk$(npz).nc4
- !ENV ${DATA}/fv3jedi/akbk.nc4
- - !ENV ${FV3JEDI_FIX}/fv3jedi/fv3files/fmsmpp.nml
- !ENV ${DATA}/fv3jedi/fmsmpp.nml
- - !ENV ${FV3JEDI_FIX}/fv3jedi/fv3files/field_table_gfdl
- !ENV ${DATA}/fv3jedi/field_table
- - !ENV ${FV3JEDI_FIX}/fv3jedi/fieldmetadata/gfs-aerosol.yaml
- !ENV ${DATA}/fv3jedi/gfs-restart.yaml
1 change: 1 addition & 0 deletions parm/parm_gdas/aeroanl_inc_vars.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
['dust1', 'dust2', 'dust3', 'dust4', 'dust5', 'seas1', 'seas2', 'seas3', 'seas4', 'so4', 'oc1', 'oc2', 'bc1', 'bc2']
Loading