Skip to content
Snippets Groups Projects
Commit 63d96037 authored by Anubhav Choudhary's avatar Anubhav Choudhary
Browse files

transfer scripts

parent 879c0839
No related branches found
No related tags found
No related merge requests found
Showing
with 2761 additions and 0 deletions
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#!/bin/bash
#BATCH --job-name=ipv_batch
#SBATCH --partition=prepost,gpu
#SBATCH --ntasks=48
#SBATCH --mem-per-cpu=5300
#SBATCH --time=12:00:00
#SBATCH --account=bb1018
#SBATCH --exclusive
#SBATCH --output=ipv_batch.o%j
set -evx
echo "start: $(date)"
export CDO_NTHREADS=12
export OMP_NUM_THREADS=${CDO_NTHREADS}
srun_cmd="srun -Q -n1 -c${CDO_NTHREADS} --cpu-bind=threads --exclusive"
module load nco
ncatted -a standard_name,P,o,c,"air_pressure" P20160922_12 _P20160922_12
ncatted -a standard_name,P,o,c,"air_pressure" P20160923_12 _P20160923_12
ncatted -a standard_name,P,o,c,"air_pressure" P20160924_12 _P20160924_12
mv _P20160922_12 P20160922_12
mv _P20160923_12 P20160923_12
mv _P20160924_12 P20160924_12
#ncatted -O standard_name,PS,o,c,"surface pressure" P20160922_12
#ncatted -O standard_name,PS,o,c,"surface pressure" P20160923_12
#ncatted -O standard_name,PS,o,c,"surface pressure" P20160924_12
cdo -P ${CDO_NTHREADS} ap2plx,100000,92500,85000,60000,50000,40000,35000,30000,25000,20000,15000,10000,5000 -sellonlatbox,-60,30,25,75 -aexpr,'air_pressure=air_pressure*100' -aexpr,'PS=PS*100' -chname,P,air_pressure -selvar,P,PS,U,V,T,PV,z_mc P20160922_12 input1.nc
cdo -P ${CDO_NTHREADS} ap2plx,100000,92500,85000,60000,50000,40000,35000,30000,25000,20000,15000,10000,5000 -sellonlatbox,-60,30,25,75 -aexpr,'air_pressure=air_pressure*100' -aexpr,'PS=PS*100' -chname,P,air_pressure -selvar,P,PS,U,V,T,PV,z_mc P20160923_12 input2.nc
cdo -P ${CDO_NTHREADS} ap2plx,100000,92500,85000,60000,50000,40000,35000,30000,25000,20000,15000,10000,5000 -sellonlatbox,-60,30,25,75 -aexpr,'air_pressure=air_pressure*100' -aexpr,'PS=PS*100' -chname,P,air_pressure -selvar,P,PS,U,V,T,PV,z_mc P20160924_12 input3.nc
echo "end: $(date)"
exit
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#icon
create_startf.icon 20160922_12 startf 'box.grid(-45,0,35,60) @ profile(1050,790,14) @ hPa'
caltra.icon 20160922_12 20160924_12 startf trajectory -j
trace.icon trajectory trajectory -f P 1. 0 P
seltra.icon trajectory outtra 'GT:P(DIFF):600:0,48'
DPVR_total 1000000. 0 S
DPVR_mphy 1000000. 0 S
DPVR_radlw 1000000. 0 S
DPVR_radsw 1000000. 0 S
DPVR_totrad 1000000. 0 S
DPVR_hr 1000000. 0 S
DPVR_dyn 1000000. 0 S
DPVR_turb 1000000. 0 S
flx 1. 0 S
hr 1. 0 S
DPVR_total 1000000. 0 S
DPVR_mphy 1000000. 0 S
DPVR_radlw 1000000. 0 S
DPVR_radsw 1000000. 0 S
DPVR_totrad 1000000. 0 S
DPVR_hr 1000000. 0 S
DPVR_dyn 1000000. 0 S
DPVR_turb 1000000. 0 S
flx 1. 0 S
hr 1. 0 S
T 1. 0 P
QV 1. 0 P
QC 1. 0 P
QI 1. 0 P
TH 1. 1 *
W 1. 0 P
PV 1. 0 P
AV 10000. 0 S
DHR_dyn 1. 0 P
DHR_radsw 1. 0 P
DHR_radlw 1. 0 P
DHR_turb 1. 0 P
DHR_total 1. 0 P
DHR_mphy 1. 0 P
LWFLXALL 1. 0 P
LWFLXCLR 1. 0 P
SWFLXALL 1. 0 P
SWFLXCLR 1. 0 P
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment