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

Implementation of HDS in SUMMA #568

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

Conversation

MIsmlAhmed
Copy link
Member

@MIsmlAhmed MIsmlAhmed commented Jun 4, 2024

This is the initial implementation of the Hysteretic Depressional Storage (HDS) algorithm for prairie potholes in the SUMMA model.

The model has been tested under different I/O configurations and works as expected on a hypothetical test case.

To activate the HDS model, the following has to be done:

  1. a model decision must be defined to activate HDS as:

    prPotholes                      HDSmodel        ! (39) choice of prairie pothole representation
    
  2. The following HDS parameters must be defined at the GRU (basin) level in the zParamTrial.nc file (if the parameters are spatially variable) or in theBasinParamInfo.txt if they are spatially constant. The following is an example of dummy parameters value.

Screenshot 2024-06-04 at 11 42 49 AM

  1. At least one initial condition needs to be defined pondVolFrac at the GRU level in the zInitialCond.nc

@MIsmlAhmed
Copy link
Member Author

@martynpclark, please review this. I can't add you as a reviewer to this PR because I don't have permission.

@MIsmlAhmed
Copy link
Member Author

I can include the test step I have been experimenting with (if that's helpful).

build/source/driver/summa_restart.f90 Outdated Show resolved Hide resolved
build/source/engine/HDS.f90 Show resolved Hide resolved
build/source/engine/HDS.f90 Outdated Show resolved Hide resolved
build/source/engine/HDS.f90 Outdated Show resolved Hide resolved
real(rkind) :: depressionVol ! depression volume [m3]
!*****************************************
! initialize HDS pothole storage variables
! GRU level
Copy link
Collaborator

Choose a reason for hiding this comment

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

Consider updating to new refactored code standards that are currently being developed

Copy link
Collaborator

Choose a reason for hiding this comment

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

build/source/engine/run_oneGRU.f90 Show resolved Hide resolved
build/source/netcdf/modelwrite.f90 Outdated Show resolved Hide resolved
@@ -391,7 +397,51 @@ subroutine read_icond(iconFile, & ! intent(in): name of
! --------------------------------------------------------------------------------------------------------
! (2) now get the basin variable(s)
! --------------------------------------------------------------------------------------------------------

!********************************
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can this code be generalized?

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.

2 participants