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

Potential issues in using a small expansion rate in add_contour function #119

Open
BahramKhazaei-NOAA opened this issue Nov 7, 2023 · 2 comments
Assignees

Comments

@BahramKhazaei-NOAA
Copy link

If one uses a small expansion_rate the program may generate strips/patches of high-resolution cells to connect areas within a contour range. In the example below, all settings were the same except for the expansion rate value:

smaller expansion_rate (0.005):
image

larger expansion_rate (0.05):
image

@BahramKhazaei-NOAA BahramKhazaei-NOAA changed the title Potential Issues for using a small expansion rate in add_contour function Potential issues in using a small expansion rate in add_contour function Nov 7, 2023
@SorooshMani-NOAA SorooshMani-NOAA self-assigned this Nov 9, 2023
@SorooshMani-NOAA
Copy link
Collaborator

@BahramKhazaei-NOAA can you please share your script for this mesh? I'd like to run it on my side with your DEMs and see how this issue shows up.

@BahramKhazaei-NOAA
Copy link
Author

@SorooshMani-NOAA Here is the path to the script (I changed that script but I created a new one for you which should result in similar patch areas in the Aleutian Islands) on Hercules:
/work2/noaa/nos-surge/bkhazaei/work/run_dir/Alaska_Modeling/pre_processing/grid/bearing_sea_ocsmesh/Bering_Sea_debugging_for_soroosh.py

You should see the patchy areas by running the above script but if you change exp_rate to larger values [0.05, 0.05] they should disappear.

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

No branches or pull requests

2 participants