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

Hydmod interp #11

Open
wants to merge 10 commits into
base: develop
Choose a base branch
from
Open

Hydmod interp #11

wants to merge 10 commits into from

Conversation

ghost
Copy link

@ghost ghost commented Feb 1, 2016

Revisions to the interpolation procedure used for HYDMOD to make it possible to use interpolation on model cells adjacent to dry or inactive cells.

Only works on head and drawdown targets, but coul dbe expanded to subsidence.

Invoked using 'H' as interpolation type rather than 'I' or 'C'

Michael N Fienen and others added 10 commits January 29, 2016 09:55
…than hydrograph location) is outside the grid. Also, started implementing a new interpolation type 'H' which will work on edge cases
…w for a new style of interpolation called 'SHYD7WTAVGEDGE' that is triggered by INTYP 'H' rather than 'I'
…issing (dry or inactive or out of the model) locations. Need to refine the substitutions but testing the overall logic first
… general matches well wtih mod2smp. Note that debugging print statements remain in place
… general matches well wtih mod2smp. Note that debugging print statements remain in place
The existing version of HYDMOD only allowed interpolation if all four
points were in active cells. A couple modifications were made to the
HDS and DDN observation types (they were not also made for the
subsidence package observation types)
1. A new interpolation type 'H' was created in addition to 'C' and 'I'.
The existing types were not changed (save for an update to a confusing
error message for 'I' in the previous methods)
2. Dummy values were assigned if any of the four interpolation points
falls in a DRY, NHOFLO, or otherwise inactive cell (e.g. the target for
a hydrograph is at the edge of the grid).
3. Rather than assigning interpolation points outside the grid, edge
cells were assigned
4. Cells with IBOUND=0, or head =HNOFLOW or head=HDRY were given dummy
variables based on surrounding cells following the logic of
MOD2OBS/MOD2SMP in the PEST suite of tools.

A folder called hydmod_test contains an iPython notebook comparing the
new HYDMOD features with MOD2SMP.
@jdhughes-usgs
Copy link
Contributor

@mnfienen-usgs This PR has been around so long I don't remember what it was. Should we close it or try and wrap it up?

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.

1 participant