Skip to content

Commit

Permalink
[Production/AQMv7] merge the changes related to EE2 with conflicts re…
Browse files Browse the repository at this point in the history
…solved to production/AQMv7 (#1075)

* Bring in EE2 resolutions.

* Update .readthedocs.yaml for older doc directory

---------

Co-authored-by: Brian Curtis <[email protected]>
  • Loading branch information
JianpingHuang-NOAA and BrianCurtis-NOAA authored Apr 22, 2024
1 parent dbf416d commit 8f3296c
Show file tree
Hide file tree
Showing 57 changed files with 405 additions and 131 deletions.
4 changes: 2 additions & 2 deletions .readthedocs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ build:

# Build documentation in the docs/ directory with Sphinx
sphinx:
configuration: docs/UsersGuide/source/conf.py
configuration: doc/UsersGuide/source/conf.py

# If using Sphinx, optionally build your docs in additional formats such as PDF
# formats:
Expand All @@ -26,7 +26,7 @@ sphinx:
# Optionally declare the Python requirements required to build your docs
python:
install:
- requirements: docs/UsersGuide/requirements.txt
- requirements: doc/UsersGuide/requirements.txt

submodules:
include:
Expand Down
File renamed without changes.
16 changes: 8 additions & 8 deletions ecf/defs/aqm_cycled.def
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ suite nco_aqm
family 00
edit CYC '00'
task cycle_end
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
cron 23:00
family aqm
family v1.0
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
family nexus
task jaqm_nexus_emission_00
edit NSPT '00'
Expand Down Expand Up @@ -113,11 +113,11 @@ suite nco_aqm
family 06
edit CYC '06'
task cycle_end
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
cron 05:00
family aqm
family v1.0
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
family nexus
task jaqm_nexus_emission_00
edit NSPT '00'
Expand Down Expand Up @@ -486,11 +486,11 @@ suite nco_aqm
family 12
edit CYC '12'
task cycle_end
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
cron 11:00
family aqm
family v1.0
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
family nexus
task jaqm_nexus_emission_00
edit NSPT '00'
Expand Down Expand Up @@ -859,11 +859,11 @@ suite nco_aqm
family 18
edit CYC '18'
task cycle_end
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
cron 17:00
family aqm
family v1.0
edit ECF_FILES '%PACKAGEHOME%/ecf/scripts'
edit ECF_FILES '%PACKAGEHOME%/ecf'
family nexus
task jaqm_nexus_emission_00
edit NSPT '00'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,8 @@
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=03:15:00
#PBS -l select=14:mpiprocs=128:ompthreads=1:ncpus=128
#PBS -l place=vscatter:exclhost
#PBS -l walltime=%WALLTIME:03:15:00%
#PBS -l place=vscatter:exclhost,select=14:mpiprocs=128:ompthreads=1:ncpus=128
#PBS -l debug=true

model=aqm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=03:15:00
#PBS -l select=1:mpiprocs=1:ncpus=1:mem=150G:prepost=true
#PBS -l walltime=%WALLTIME:03:15:00%
#PBS -l place=shared,select=1:mpiprocs=1:ncpus=1:mem=150G:prepost=true
#PBS -l debug=true

model=aqm
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=01:00:00
#PBS -l walltime=00:25:00
#PBS -l select=4:mpiprocs=64:ompthreads=2:ncpus=128
#PBS -l place=vscatter:exclhost
#PBS -l debug=true
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:10:00
#PBS -l select=1:mpiprocs=48:ncpus=48:mem=16G
#PBS -l select=1:mpiprocs=48:ncpus=48:mem=192G
#PBS -l place=vscatter
#PBS -l debug=true

Expand Down
3 changes: 2 additions & 1 deletion ecf/scripts/prep/jaqm_ics.ecf → ecf/prep/jaqm_ics.ecf
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,12 @@
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:10:00
#PBS -l select=1:mpiprocs=1:ncpus=1:mem=48G:prepost=true
#PBS -l select=1:mpiprocs=1:ncpus=1:mem=64G:prepost=true
#PBS -l debug=true

model=aqm
export cyc="%CYC%"
export COLDSTART=%COLDSTART:NO%
%include <head.h>
%include <envir-p1.h>

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:10:00
#PBS -l select=1:mpiprocs=1:ncpus=1:mem=4G
#PBS -l select=1:mpiprocs=1:ncpus=1:mem=8G
#PBS -l debug=true

model=aqm
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#PBS -S /bin/bash
#PBS -q %QUEUE%
#PBS -A %PROJ%-%PROJENVIR%
#PBS -l walltime=00:10:00
#PBS -l walltime=00:15:00
#PBS -l select=1:mpiprocs=1:ncpus=1:mem=8G
#PBS -l debug=true

Expand Down
4 changes: 2 additions & 2 deletions ecf/setup_ecf_links.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ function link_master_to_cyc_3d(){
}

# AQM post
cd $ECF_DIR/scripts/post
cd $ECF_DIR/post
echo "Linking AQM post ..."
cyc=$(seq 0 72)
link_master_to_cyc_3d "jaqm_post" "$cyc"
# AQM nexus_emission
cd $ECF_DIR/scripts/nexus
cd $ECF_DIR/nexus
echo "Linking AQM nexus_emission ..."
cyc=$(seq 0 5)
link_master_to_cyc_2d "jaqm_nexus_emission" "$cyc"
4 changes: 2 additions & 2 deletions jobs/JAQM_BIAS_CORRECTION_O3
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -55,7 +55,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_BIAS_CORRECTION_PM25
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -85,7 +85,7 @@ export PARMaqm_utils="${PARMaqm_utils:-${HOMEaqm}/parm/aqm_utils}"
TMP_STDAY=`${NDATE} -8760 ${PDY}${cyc} | cut -c1-8` # 1 year back
export BC_STDAY=${BC_STDAY:-${TMP_STDAY}}

env
#env
#-----------------------------------------------------------------------
# Call the ex-script for this J-job and pass to it the necessary varia-
# bles.
Expand Down
5 changes: 2 additions & 3 deletions jobs/JAQM_FIRE_EMISSION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -33,7 +33,6 @@ export PARMaqm=${PARMaqm:-${HOMEaqm}/parm}
export FIXaqm=${FIXaqm:-${HOMEaqm}/fix}
export FIXaqmfire="${FIXaqmfire:-${HOMEaqm}/fix/fire}"

export DCOMROOT=${DCOMROOT:-/lfs/h1/ops/prod/dcom}
export DCOMINfire="${DCOMINfire:-${DCOMROOT}/${PDY}/rave}"

export COMINgfs="${COMINgfs:-$(compath.py gfs/${gfs_ver})}"
Expand All @@ -50,7 +49,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_FORECAST
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -58,7 +58,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_FORECAST_MANAGER
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -52,7 +52,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
5 changes: 3 additions & 2 deletions jobs/JAQM_ICS
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
export USHaqm=${EXECaqm:-${HOMEaqm}/ush}
export PARMaqm=${PARMaqm:-${HOMEaqm}/parm}

export CSMI=${COLDSTART:-"NO"}
export subcyc='00'
export SLASH_ENSMEM_SUBDIR=''
export ENSMEM_INDX='##'
Expand Down Expand Up @@ -49,7 +50,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_LBCS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -52,7 +52,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_MAKE_ICS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -50,7 +50,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_MAKE_LBCS
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -50,7 +50,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
2 changes: 1 addition & 1 deletion jobs/JAQM_NEXUS_EMISSION
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_NEXUS_POST_SPLIT
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -56,7 +56,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions jobs/JAQM_POINT_SOURCE
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

date
export PS4=' $SECONDS + '
export PS4='+ $SECONDS + '
set -xue

#-----------------------------------------------------------------------
Expand Down Expand Up @@ -47,7 +47,7 @@ scrfunc_fp=$( $READLINK -f "${BASH_SOURCE[0]}" )
scrfunc_fn=$( basename "${scrfunc_fp}" )
scrfunc_dir=$( dirname "${scrfunc_fp}" )

env
#env
#-----------------------------------------------------------------------
# Print message indicating entry into script.
#-----------------------------------------------------------------------
Expand Down
Loading

0 comments on commit 8f3296c

Please sign in to comment.