Skip to content
Snippets Groups Projects
Commit 1f8c1f2b authored by Guillaume S's avatar Guillaume S
Browse files

move mars req to MARS dir

parent a1d87a2d
No related branches found
No related tags found
No related merge requests found
File moved
File moved
#
# get ?h-analysis for instantaneous surface 2D fields ( Z, log(SP))
#
# GRIB PARAMETERS DATABASE: https://codes.ecmwf.int/grib/param-db/
# MARS/MIR INTERPOLATION: https://confluence.ecmwf.int/display/UDOC/MARS+interpolation+with+MIR
RETRIEVE,
class = od,
stream = eefo,
type = cf,
levtype = sfc,
area = GLOBAL,
time = 00,
number = 00,
step = ${step},
param = 10U/10V/2D/2T/CP/LSP/MSL/SF/SSRD/STRD/TCC,
date = ${DATE_JOUR_EXE},
target = "PER00-${DATE_JOUR_EXE}-ENFO.grb"
RETRIEVE,
class = OD,
type = PF,
stream = eefo,
expver = 0001,
levtype = SFC,
param = 10U/10V/2D/2T/CP/LSP/MSL/SF/SSRD/STRD/TCC,
date = ${DATE_JOUR_EXE},
time = 0000,
step = ${step},
domain = G,
resol = AUTO,
grid = 0.2/0.2,
number = 1/to/50,
target = "PER[number]-[date]-ENFO.grb"
retrieve,
# ENSEMBLE
stream = oper,
# MODEL
expver = 0001,
# IFS
#class = od,
# ERAI
#class = ei,
# ERA5
class = ea,
# VARIABLES: Z, log(SP)
param = 129.128/152.128,
# VERTICAL GRID
levtype = ml,
levelist = 1,
# TIME
type = an,
date = date_req,
# monthly mean
#date = year0101/year0201/year0301/year0401/year0501/year0601/year0701/year0801/year0901/year1001/year1101/year1201,
# IFS & ERAI
#time = 00/to/18/by/6,
# ERA5
time = 00/to/23/by/1,
# SPECTRAL GRID
#truncation = NONE,
truncation = AUTO,
#resol = AV,
# ERAI (T255)
#intgrid = N128,
# ERA5 (T639)
#intgrid = N320,
intgrid = NONE,
# HORIZONTAL GRID
#grid = 0.125/0.125,
#grid = 0.25/0.25,
#grid = 0.75/0.75,
#grid = F640,
# ERAI (N128)
#grid = F128,
# ERA5 (N320)
grid = N320,
# INTERPOLATION METHOD ( linear (default) / bilinear / nearest_neighbour )
# https://confluence.ecmwf.int/display/UDOC/Interpolation%20of%20LSM%20and%20SST
# https://confluence.ecmwf.int/pages/viewpage.action?pageId=153389795
#interpolation = bilinear,
# AREA SELECTION (COMMENT ALL FOR GLOBAL)
# NEATL
#area = 65/-21/25/18,
# PAPA
#area = 50.25/215/50/215.25,
# CUBA
#area = 7.70/262.0/31.0/296.0,
# NANUK
#area = 35./0./90./360.,
# OUTPUTS
target = "dir_out/surf2D_ERA5_L1_GLO_TL[truncation]_IG[intgrid]_G[grid]_ana01h_[date].grib"
......@@ -39,7 +39,7 @@ export DIR_SAVE="/ec/res5/project/mercator/ATMO_FORCINGS/ERA5_ABL50_F320_v1/dail
export DIR_NEMO="/home/ar0s/SRC/NEMO/main/tools/ABL_TOOLS"
export SCRATCH_DIR=${SCRATCHDIR}
export VLEVEL="L107-137" # L107-137
export GRID=$(sed -rn "s/^ +grid += +([[:graph:]]+),.*/\1/p" ${DIR_SRC}/mars_inst3D_ana.req.base)
export GRID=$(sed -rn "s/^ +grid += +([[:graph:]]+),.*/\1/p" ${DIR_SRC}/MARS/mars_inst3D_ana.req.base)
export BASE_NAME="ERA5_GLO_TLAUTO_IGNONE_G${GRID/N/F}_ana01h"
echo "-SCRATCH_DIR: ${SCRATCHDIR}"
......
......@@ -25,12 +25,12 @@ for d in $(seq -f "%02g" 0 $((nbday-1))); do
# SUBMIT JOB
if [ ! -s ${dout}/${f3D} ] && [ ! -s ${dreg}/${n3D} ]; then
while [ $(squeue -u $USER -h -t pending,running -r | wc -l) -ge 90 ]; do echo "sleeping..."; sleep 10; done
sbatch --job-name=mars_inst3D_${date} --export=SCRATCH_DIR=${SCRATCH_DIR},GRID=${GRID} ${DIR_SRC}/job_mars.sbatch ${DIR_SRC}/mars_inst3D_ana.req.base ${date}
sbatch --job-name=mars_inst3D_${date} --export=SCRATCH_DIR=${SCRATCH_DIR},GRID=${GRID} ${DIR_SRC}/job_mars.sbatch ${DIR_SRC}/MARS/mars_inst3D_ana.req.base ${date}
fi
if [ ! -s ${dout}/${f2D} ] && [ ! -s ${dreg}/${n2D} ]; then
while [ $(squeue -u $USER -h -t pending,running -r | wc -l) -ge 90 ]; do echo "sleeping..."; sleep 10; done
sbatch --job-name=mars_surf2D_${date} --export=SCRATCH_DIR=${SCRATCH_DIR},GRID=${GRID} ${DIR_SRC}/job_mars.sbatch ${DIR_SRC}/mars_surf2D_ana.req.base ${date}
sbatch --job-name=mars_surf2D_${date} --export=SCRATCH_DIR=${SCRATCH_DIR},GRID=${GRID} ${DIR_SRC}/job_mars.sbatch ${DIR_SRC}/MARS/mars_surf2D_ana.req.base ${date}
fi
# WAIT FOR THE LAST DATE TO FINISH
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment