PecanProject / pecan

The Predictive Ecosystem Analyzer (PEcAn) is an integrated ecological bioinformatics toolbox.
www.pecanproject.org
Other
202 stars 234 forks source link

New ED2IN for latest on GitHub #3032

Closed Aariq closed 2 years ago

Aariq commented 2 years ago

Description

Taking a shot at updating the ED2IN file to reflect updates in the development version of ED2

Motivation and Context

Docker container version of PEcAn.ED2 with development version of ED2 (https://hub.docker.com/r/pecan/model-ed2-git) doesn't work because the ED2IN file it contains is missing variables

NOTE: there's still one variable that I got an error for, HYDAULIC_MORTALITY_SCHEME, that doesn't exist in the most recent ED2IN template

Review Time Estimate

Types of changes

Checklist:

Aariq commented 2 years ago

If you look at the diffs in the individual commits like (rather than in the Files changed tab) it's easier to see the changes I made.

dlebauer commented 2 years ago

Should it be named ED2IN.r2.2.0.github? Or would it be worthwhile to create a new v2.2.1 in the ED2 repository?

Aariq commented 2 years ago

Should it be named ED2IN.r2.2.0.github? Or would it be worthwhile to create a new v2.2.1 in the ED2 repository?

I think it would make sense to make an ED2 release now

mdietze commented 2 years ago

Should it be named ED2IN.r2.2.0.github? Or would it be worthwhile to create a new v2.2.1 in the ED2 repository?

I think it would make sense to make an ED2 release now

That's a decision that's up to the ED2 community. In terms of design, I don't think you can count on ED2 development versions having a distinct name.

dlebauer commented 2 years ago

In terms of design, I don't think you can count on ED2 development versions having a distinct name.

I'll go ahead and ~merge~ review, and also raise the suggestion on the ED2 slack.

dlebauer commented 2 years ago

Where are the values encoded as strings (myslsoc, myslhydro, my* etc ) set?

Aariq commented 2 years ago

Oh, I thought I got all those. Let me double-check

Aariq commented 2 years ago

They aren't set anywhere, but it sounded like they're only needed when SOIL_HYDRO_SCHEME=2 and it is set to 0 in this file.

   ! These variables are used to define the additional soil properties needed for      !
   ! SOIL_HYDRO_SCHEME=2. 

If you have ideas for defaults for these, I'd be happy to put some in.

Aariq commented 2 years ago

When you say

there's still one variable that I got an error for, HYDAULIC_MORTALITY_SCHEME,

Does that mean that this ED2IN doesn't work as-is?

No, I found it and added it. I had a typo on my search string.