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 seed location for offvertex seeding case and cleanup #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
10 changes: 2 additions & 8 deletions generate_E3SM_case.sh
Original file line number Diff line number Diff line change
Expand Up @@ -104,12 +104,6 @@ echo "Setting nprocs to ${nproc_ice} for the ice."
./xmlchange -s --file env_mach_pes.xml ROOTPE_OCN=${nproc_ice}
cd ${HOMEDIR}

# Edit env_mach_specific to add mkl.
if [ ${mach} == "grizzly" ] || [ ${mach} == "wolf" ]; then
echo "Editing env_mach_specific..."
python py/update_env_mach_specific.py --file ${E3SM_DIR}/${casename}/env_mach_specific.xml
fi

# Case setup
cd ${E3SM_DIR}/${casename}
echo "Setting up case directory..."
Expand Down Expand Up @@ -178,10 +172,10 @@ if ${PARTICLES_ON}; then
if ${SOfilter}; then
python make_particle_file.py -i ${init} -g ${graph} -p ${nproc_ocean} -t ${parttype} \
--nvertlevels ${nvertlevels} --spatialfilter SouthernOceanXYZ --downsample ${downsample} \
-o ${RUNDIR}/particles.nc
-l ${seedLoc} -o ${RUNDIR}/particles.nc
else
python make_particle_file.py -i ${init} -g ${graph} -p ${nproc_ocean} -t ${parttype} \
--nvertlevels ${nvertlevels} --downsample ${downsample} \
--nvertlevels ${nvertlevels} --downsample ${downsample} -l ${seedLoc} \
-o ${RUNDIR}/particles.nc
fi
fi
Expand Down