Skip to content

Conversation

@FariborzDaneshvar-NOAA
Copy link
Collaborator

if subset_mesh==0

  • copy the high-res mesh into $run_dir/mesh/

elseif subset_mesh==1

  • run mesh.sbatch as before to subset mesh

else:

  • return an error message: subset_mesh should be 0 or 1

MESH_KWDS+=" --windswath ${run_dir}/windswath"
MESH_KWDS+=" --lo-dem $L_DEM_LO"
MESH_KWDS+=" --hi-dem $L_DEM_HI"
echo "InputError! subset_mesh should be 0 or 1"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ideally it should error out at this point, but that's not a huge issue

Copy link
Collaborator

@SorooshMani-NOAA SorooshMani-NOAA left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you, if everything works as expected (with copy or subset) feel free to merge.

@FariborzDaneshvar-NOAA FariborzDaneshvar-NOAA merged commit 1648dd7 into main Apr 7, 2025
3 checks passed
@FariborzDaneshvar-NOAA FariborzDaneshvar-NOAA deleted the feature/subset_mesh branch April 7, 2025 14:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants