Commit 28f9945c authored by Evans, Katherine's avatar Evans, Katherine
Browse files

small fix to atm remapping

parent 1b069a52
......@@ -12,14 +12,13 @@ if [ "$version" == "e3sm" ]; then
#ncwa -a -time $outpath/masks/mask_ne30np4.nc tmp.nc
#ncks -x -v time tmp.nc $outpath/masks/mask_ne30np4_notime.nc
for fl in $path/atm/hist/*h0*; do
echo "first add mask in original grid to monthly atm output in $fl"
for fl in $path/atm/hist/*h0*; do
ncks --no_tmp_fl -A -C -v gris_mask $mask_file $fl
done
ncks --no_tmp_fl -A -C -v gris_mask $mask_file $fl
done
fi
h0atm_path=$outpath/atm/hist_regrid
mkdir -p "$h0atm_path"
ls $path/atm/hist/*h0* | ncremap -m $map_file -O $h0atm_path
......
......@@ -39,7 +39,8 @@ elif [[ $(hostname -s) = cori* ]]; then
prebase=/global/cscratch1/sd/dcomeau/acme_scratch/edison/archive
base=/global/cscratch1/sd/$USER/acme_scratch/edison
path=$base/$case
outpath=/global/cscratch1/sd/$USER/acme_scratch/edison/$case/postproc
outpath=/global/cscratch1/sd/$USER/$case/postproc
# outpath=/global/cscratch1/sd/$USER/acme_scratch/edison/$case/postproc
# compute center settings
obspath=/project/projectdirs/piscees/postproc/obs_data
area_file=/project/projectdirs/piscees/postproc/surfdata_0.9x1.25_simyr1850_c110725.nc
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment